PROJ EXTRA RAND: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This seems to be a value that is added to the damage (normally defined by [[PROJ_EXTRA|extra]]) when a actor other than the player is hit.
[[PROJ_EXTRA|extra]] is a random value added to a projectile damage.


By default, the game will give a random damage that ranges from 0 to 5. EXTRA_RAND seems to NOT override this value, but rather adds it's would random value along.
By default it is 5, meaning that a SHOTGUN projectile (which damage is defined as 10 in USER.CON) will make cause a damage of 10 to 15.
 
Setting it to zero should remove the random damage made by projectiles.


[[Category:Projectile_structure_members]]
[[Category:Projectile_structure_members]]

Revision as of 19:29, 19 January 2011

extra is a random value added to a projectile damage.

By default it is 5, meaning that a SHOTGUN projectile (which damage is defined as 10 in USER.CON) will make cause a damage of 10 to 15.

Setting it to zero should remove the random damage made by projectiles.