Icon of Sin / Baphomet
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 > power up class question
 
Author
All times are GMT. The time now is 03:06. Post New Thread    Post A Reply
Cacowad
Member


Posts: 288
Registered: 07-12


for the series: "how that work?" are there: the powerups classes!

quik question, what appen if i try to pickup a more powerful version of a power up that already have? thay will stack or the newer\more powerful will replace the older\less powerful item?

below there is a portion of a useless code just in case,ther are any changes if the duration differs or are ineriting from the class they are attempting to replace\being replaced?

code:
ACTOR PowerDamage2 : PowerDamage { powerup.duration -200 damagefactor "normal", 4 +INVENTORY.HUBPOWER } ACTOR PowerDamage3 : PowerDamage { powerup.duration -200 damagefactor "normal", 2 +INVENTORY.HUBPOWER } ACTOR PowerDamage4 : PowerDamage2 { powerup.duration 0x7FFFFFFF damagefactor "normal", 3 +INVENTORY.HUBPOWER }


as usual thank you for your patience.

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


Posts: 11115
Registered: 07-07



Cacowad said:
quik question, what appen if i try to pickup a more powerful version of a power up that already have? thay will stack or the newer\more powerful will replace the older\less powerful item?


It depends on the powerup type. Generally, the newer replaces the older.

However, for PowerDamage and PowerProtection items, they stack. So in your example, if you get all three items, your damage will be multiplied by 24.

Old Post 10-09-12 14:31 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Cacowad
Member


Posts: 288
Registered: 07-12


good to hear! thank you. powerspeed act similar to powerdamage, so i guess it will stack... i'll try soon.

Old Post 10-09-12 14:40 #
Cacowad is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 03:06. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > power up class question

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.