PROJ WORKSLIKE: Difference between revisions
Jump to navigation
Jump to search
m added new projectile flag added by Hendricks266 in r5106 |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
PROJ_WORKSLIKE is a [[defineprojectile]] property used to set flags for projectile function. It is a [[bitfield]]. The flags (defined) are: | PROJ_WORKSLIKE is a [[defineprojectile]] property used to set flags for projectile function. It is a [[bitfield]]. The flags (defined) are: | ||
define [[ | define [[PROJECTILE_HITSCAN]] 1 | ||
define [[ | define [[PROJECTILE_RPG]] 2 | ||
define [[ | define [[PROJECTILE_BOUNCESOFFWALLS]] 4 | ||
define [[ | define [[PROJECTILE_BOUNCESOFFMIRRORS]] 8 | ||
define [[ | define [[PROJECTILE_KNEE]] 16 | ||
define [[ | define [[PROJECTILE_WATERBUBBLES]] 32 | ||
define [[ | define [[PROJECTILE_TIMED]] 64 | ||
define [[ | define [[PROJECTILE_BOUNCESOFFSPRITES]] 128 | ||
define [[ | define [[PROJECTILE_SPIT]] 256 | ||
define [[ | define [[PROJECTILE_COOLEXPLOSION1]] 512 | ||
define [[ | define [[PROJECTILE_BLOOD]] 1024 | ||
define [[ | define [[PROJECTILE_LOSESVELOCITY]] 2048 | ||
define [[ | define [[PROJECTILE_NOAIM]] 4096 | ||
define [[ | define [[PROJECTILE_RANDDECALSIZE]] 8192 | ||
define [[ | define [[PROJECTILE_EXPLODEONTIMER]] 16384 | ||
define [[ | define [[PROJECTILE_RPG_IMPACT]] 32768 | ||
define [[ | define [[PROJECTILE_RADIUS_PICNUM]] 65536 | ||
define [[ | define [[PROJECTILE_ACCURATE_AUTOAIM]] 131072 | ||
define [[ | define [[PROJECTILE_FORCEIMPACT]] 262144 | ||
define [[ | define [[PROJECTILE_REALCLIPDIST]] 524288 | ||
define [[ | define [[PROJECTILE_ACCURATE]] 1048576 | ||
define [[PROJECTILE_NOSETOWNERSHADE]] 2097152 | define [[PROJECTILE_NOSETOWNERSHADE]] 2097152 | ||
Revision as of 16:48, 3 April 2015
PROJ_WORKSLIKE is a defineprojectile property used to set flags for projectile function. It is a bitfield. The flags (defined) are:
define PROJECTILE_HITSCAN 1 define PROJECTILE_RPG 2 define PROJECTILE_BOUNCESOFFWALLS 4 define PROJECTILE_BOUNCESOFFMIRRORS 8 define PROJECTILE_KNEE 16 define PROJECTILE_WATERBUBBLES 32 define PROJECTILE_TIMED 64 define PROJECTILE_BOUNCESOFFSPRITES 128 define PROJECTILE_SPIT 256 define PROJECTILE_COOLEXPLOSION1 512 define PROJECTILE_BLOOD 1024 define PROJECTILE_LOSESVELOCITY 2048 define PROJECTILE_NOAIM 4096 define PROJECTILE_RANDDECALSIZE 8192 define PROJECTILE_EXPLODEONTIMER 16384 define PROJECTILE_RPG_IMPACT 32768 define PROJECTILE_RADIUS_PICNUM 65536 define PROJECTILE_ACCURATE_AUTOAIM 131072 define PROJECTILE_FORCEIMPACT 262144 define PROJECTILE_REALCLIPDIST 524288 define PROJECTILE_ACCURATE 1048576 define PROJECTILE_NOSETOWNERSHADE 2097152
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.