Is it possible to create permanent armor aside from using the Hexen armor stuff?

Share this post


Link to post

#include "zcommon.acs"

script 1 enter

{
if (checkinventory("armor") < 100);
giveinventory("greenarmor",1);
delay(1);
restart;
}

Share this post


Link to post
Eponasoft said:

Is it possible to create permanent armor aside from using the Hexen armor stuff?

Are you referring to an item that, once the player picks up, gives permanent armor? In which case, you can set up a custom item via DECORATE that does the same thing as in Krispy's script. [Alternatively, a variation on Krispy's script is probably the simplest way to do it. Simply activate the script when the armor is picked up (instead of using the ENTER script shown).]

If you want the player to start the game with the permanent armor you can use Krispy's script, or create a custom player class that always has the armor.

Share this post


Link to post

What if the armor's save percent is 0? Then it'd take 0% of the damage on itself, remaining intact forever. You could give the armor a damage factor so that it still reduce the damage taken by the player.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now