CAP
Description
Enumerations used by NPC:CapabilitiesAdd, WEAPON:GetCapabilities and NPC:CapabilitiesGet. Serverside only.
Values
CAP_SIMPLE_RADIUS_DAMAGE | -2147483648 | When hit by an explosion, we'll simply block it instead of spilling it to entities behind us, the sv_robust_explosions cvar can also enable this globally when set to 0 |
CAP_MOVE_GROUND | 1 | Walk/Run |
CAP_MOVE_JUMP | 2 | Jump/Leap |
CAP_MOVE_FLY | 4 | Can fly move all around |
CAP_MOVE_CLIMB | 8 | climb ladders |
CAP_MOVE_SWIM | 16 | |
CAP_MOVE_CRAWL | 32 | |
CAP_MOVE_SHOOT | 64 | Tries to shoot weapon while moving |
CAP_SKIP_NAV_GROUND_CHECK | 128 | |
CAP_USE | 256 | Open doors/push buttons/pull levers |
CAP_AUTO_DOORS | 1024 | Can trigger auto doors |
CAP_OPEN_DOORS | 2048 | Can open manual doors |
CAP_TURN_HEAD | 4096 | Can turn head always bone controller 0 |
CAP_WEAPON_RANGE_ATTACK1 | 8192 | |
CAP_WEAPON_RANGE_ATTACK2 | 16384 | |
CAP_WEAPON_MELEE_ATTACK1 | 32768 | |
CAP_WEAPON_MELEE_ATTACK2 | 65536 | |
CAP_INNATE_RANGE_ATTACK1 | 131072 | |
CAP_INNATE_RANGE_ATTACK2 | 262144 | |
CAP_INNATE_MELEE_ATTACK1 | 524288 | |
CAP_INNATE_MELEE_ATTACK2 | 1048576 | |
CAP_USE_WEAPONS | 2097152 | |
CAP_USE_SHOT_REGULATOR | 16777216 | |
CAP_ANIMATEDFACE | 8388608 | Has animated eyes/face |
CAP_FRIENDLY_DMG_IMMUNE | 33554432 | Don't take damage from npc's that are D_LI |
CAP_SQUAD | 67108864 | Can form squads |
CAP_DUCK | 134217728 | Cover and Reload ducking |
CAP_NO_HIT_PLAYER | 268435456 | Don't hit players |
CAP_AIM_GUN | 536870912 | Use arms to aim gun, not just body |
CAP_NO_HIT_SQUADMATES | 1073741824 |