Doom Marine
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Permanent armor?
 
Author
All times are GMT. The time now is 14:31. Post New Thread    Post A Reply
Eponasoft
Member


Posts: 476
Registered: 07-09


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

__________________
My Heretic TC: Two Lords. It's here on the forum somewhere. :)

Old Post 10-06-12 00:07 #
Eponasoft is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Krispy
Senior Member


Posts: 1091
Registered: 02-12


#include "zcommon.acs"

script 1 enter

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

Old Post 10-06-12 00:21 #
Krispy is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
ReX
Senior Member


Posts: 1743
Registered: 05-00



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.

Old Post 10-08-12 14:08 #
ReX is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10690
Registered: 07-07


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.

Old Post 10-08-12 14:25 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 14:31. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Permanent armor?

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics