Revision Difference
Enums/CAP#516109
<cat>enum</cat>
<enumeration>
<description>Enumerations used by <page>NPC:CapabilitiesAdd</page>, <page>WEAPON:GetCapabilities</page> and <page>NPC:CapabilitiesGet</page>. Serverside only.</description>
<fields>{{EnumField|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</fields>⤶
<fields>⤶
<item key="CAP_SIMPLE_RADIUS_DAMAGE" value="-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</item>⤶
<item key="CAP_MOVE_GROUND" value="1">Walk/Run</item>⤶
<item key="CAP_MOVE_JUMP" value="2">Jump/Leap</item>⤶
<item key="CAP_MOVE_FLY" value="4">Can fly move all around</item>⤶
<item key="CAP_MOVE_CLIMB" value="8">climb ladders</item>⤶
<item key="CAP_MOVE_SWIM" value="16⤶
</fields>⤶
</enumeration>
{{EnumField|CAP_MOVE_GROUND|1|Walk/Run}}⤶
{{EnumField|CAP_MOVE_JUMP|2|Jump/Leap}}⤶
{{EnumField|CAP_MOVE_FLY|4|Can fly move all around}}
{{EnumField|CAP_MOVE_CLIMB|8|climb ladders}}⤶
{{EnumField|CAP_MOVE_SWIM|16}}⤶
{{EnumField|CAP_MOVE_CRAWL|32}}⤶
{{EnumField|CAP_MOVE_SHOOT|64|Tries to shoot weapon while moving}}⤶
{{EnumField|CAP_SKIP_NAV_GROUND_CHECK|128}}
{{EnumField|CAP_USE|256|Open doors/push buttons/pull levers}}⤶
{{EnumField|CAP_AUTO_DOORS|1024|Can trigger auto doors}}
{{EnumField|CAP_OPEN_DOORS|2048|Can open manual doors}}⤶
{{EnumField|CAP_TURN_HEAD|4096|Can turn head always bone controller 0}}
{{EnumField|CAP_WEAPON_RANGE_ATTACK1|8192}}⤶
{{EnumField|CAP_WEAPON_RANGE_ATTACK2|16384}}
{{EnumField|CAP_WEAPON_MELEE_ATTACK1|32768}}⤶
{{EnumField|CAP_WEAPON_MELEE_ATTACK2|65536}}
{{EnumField|CAP_INNATE_RANGE_ATTACK1|131072}}⤶
{{EnumField|CAP_INNATE_RANGE_ATTACK2|262144}}⤶
{{EnumField|CAP_INNATE_MELEE_ATTACK1|524288}}⤶
{{EnumField|CAP_INNATE_MELEE_ATTACK2|1048576}}⤶
{{EnumField|CAP_USE_WEAPONS|2097152}}⤶
{{EnumField|CAP_USE_SHOT_REGULATOR|16777216}}⤶
{{EnumField|CAP_ANIMATEDFACE|8388608|Has animated eyes/face}}⤶
{{EnumField|CAP_FRIENDLY_DMG_IMMUNE|33554432|Don't take damage from npc's that are D_LI}}⤶
{{EnumField|CAP_SQUAD|67108864|Can form squads}}⤶
{{EnumField|CAP_DUCK|134217728|Cover and Reload ducking}}⤶
{{EnumField|CAP_NO_HIT_PLAYER|268435456|Don't hit players}}⤶
{{EnumField|CAP_AIM_GUN|536870912|Use arms to aim gun, not just body}}⤶
{{EnumField">CAP_MOVE_CRAWL|32</item>⤶
<item key="CAP_MOVE_SHOOT" value="64">Tries to shoot weapon while moving</item>⤶
<item key="CAP_SKIP_NAV_GROUND_CHECK" value="128}}
{{EnumField">CAP_USE|256|Open doors/push buttons/pull levers</item>⤶
<item key="CAP_AUTO_DOORS" value="1024">Can trigger auto doors</item>⤶
<item key="CAP_OPEN_DOORS" value="2048">Can open manual doors</item>⤶
<item key="CAP_TURN_HEAD" value="4096">Can turn head always bone controller 0</item>⤶
<item key="CAP_WEAPON_RANGE_ATTACK1" value="8192}}
{{EnumField">CAP_WEAPON_RANGE_ATTACK2|16384</item>⤶
<item key="CAP_WEAPON_MELEE_ATTACK1" value="32768}}
{{EnumField">CAP_WEAPON_MELEE_ATTACK2|65536</item>⤶
<item key="CAP_INNATE_RANGE_ATTACK1" value="131072}}
{{EnumField">CAP_INNATE_RANGE_ATTACK2|262144</item>⤶
<item key="CAP_INNATE_MELEE_ATTACK1" value="524288}}
{{EnumField">CAP_INNATE_MELEE_ATTACK2|1048576</item>⤶
<item key="CAP_USE_WEAPONS" value="2097152}}
{{EnumField">CAP_USE_SHOT_REGULATOR|16777216</item>⤶
<item key="CAP_ANIMATEDFACE" value="8388608">Has animated eyes/face</item>⤶
<item key="CAP_FRIENDLY_DMG_IMMUNE" value="33554432">Don't take damage from npc's that are D_LI</item>⤶
<item key="CAP_SQUAD" value="67108864">Can form squads</item>⤶
<item key="CAP_DUCK" value="134217728">Cover and Reload ducking</item>⤶
<item key="CAP_NO_HIT_PLAYER" value="268435456">Don't hit players</item>⤶
<item key="CAP_AIM_GUN" value="536870912">Use arms to aim gun, not just body</item>⤶
{{EnumField|CAP_NO_HIT_SQUADMATES|1073741824}}
}}