PROJ WORKSLIKE: Difference between revisions
Mblackwell (talk | contribs) mNo edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
define [[WORKSLIKERANDDECALSIZE]] 8192 | define [[WORKSLIKERANDDECALSIZE]] 8192 | ||
define WORKSLIKEEXPLODEONTIMER 16384 | |||
define WORKSLIKEDAMAGEONIMPACT 32768 | |||
Note that the damage on impact bit (32768) must be set on the WORKSLIKE of any RPG type projectile (i.e. nonhitscan) for which the projectile itself does damage, as opposed to the damage being caused only by the hitradius. | |||
Syntax is: | Syntax is: |
Revision as of 21:49, 11 June 2006
PROJ_WORKSLIKE is a defineprojectile property used to set flags for projectile function. The flags (defined) are:
define WORKSLIKEBULLET 1
define WORKSLIKERPG 2
define WORKSLIKEBOUNCESOFFWALLS 4
define WORKSLIKEBOUNCESOFFMIRRORS 8
define WORKSLIKEKNEE 16
define WORKSLIKEWATERBUBBLES 32
define WORKSLIKENOENEMYHITS 128
define WORKSLIKESPIT 256
define WORKSLIKECOOLEXPLOSION1 512
define WORKSLIKEBLOOD 1024
define WORKSLIKELOSESVELOCITY 2048
define WORKSLIKENOAIM 4096
define WORKSLIKERANDDECALSIZE 8192
define WORKSLIKEEXPLODEONTIMER 16384
define WORKSLIKEDAMAGEONIMPACT 32768
Note that the damage on impact bit (32768) must be set on the WORKSLIKE of any RPG type projectile (i.e. nonhitscan) for which the projectile itself does damage, as opposed to the damage being caused only by the hitradius.
Syntax is:
defineprojectile <tile number> PROJ_WORKSLIKE <flag value>
Add all the desired flags together, and use that value for <flag value>. This works similar to cstat.