Npc headcrab: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
mNo edit summary |
|||
Line 8: | Line 8: | ||
{{npcnote}} | {{npcnote}} | ||
==Dedicated Console Variables== | |||
* '''sk_headcrab_health''' | |||
: <integer> A headcrab's spawn health | |||
* '''sk_headcrab_melee_dmg''' | |||
: <integer> Melee damage | |||
==Keyvalues== | ==Keyvalues== | ||
* {{kv basenpc}} | * {{kv basenpc}} |
Revision as of 12:51, 12 August 2005
Entity Description
These are the classic, slow-moving headcrabs. They attack by jumping at the player's head and inflict a nominal amount of damage. Remember to avoid the cliche of placing headcrabs in vents; they would likely be more of an annoyance than a improvement on gameplay. Almost any weapon can dispatch them easily - it is usually a matter of how long it will take. Try pairing them with their fast-moving or poisonous relatives to make it more interesting.
Commonly found attached to a zombie host body, they will detach if that host is sufficiently damaged.

Dedicated Console Variables
- sk_headcrab_health
- <integer> A headcrab's spawn health
- sk_headcrab_melee_dmg
- <integer> Melee damage
Keyvalues
- startburrowed
- <boolean>
- parentname
- <target_destination> The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.