Npc headcrab: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 7: Line 7:
Commonly found attached to a [[Npc_zombie|zombie]] host body, they will detach if that host is sufficiently damaged below the head.
Commonly found attached to a [[Npc_zombie|zombie]] host body, they will detach if that host is sufficiently damaged below the head.


{{placement tip|Classic headcrabs can be paired them with their [[npc_headcrab_fast|fast-moving]] or [[npc_headcrab_black|poisonous]] relatives to make it more interesting.}}
{{placement tip|Classic headcrabs can be paired with their [[npc_headcrab_fast|fast-moving]] or [[npc_headcrab_black|poisonous]] relatives to make it more interesting.}}


{{placement tip|Avoid the cliche of placing headcrabs in vents; they would likely be more of an annoyance than a improvement on gameplay.}}
{{placement tip|Avoid the cliche of placing headcrabs in vents; they would likely be more of an annoyance than a improvement on gameplay.}}

Revision as of 14:54, 15 August 2006

Template:Wrongtitle

Entity Description

Headcrab

These are the classic, slow-moving headcrabs. They attack by jumping at the player's head and inflict a nominal amount of damage. Almost any weapon can dispatch them easily - it is usually a matter of how long it will take.

Commonly found attached to a zombie host body, they will detach if that host is sufficiently damaged below the head.

PlacementTip.gifPlacement Tip:Classic headcrabs can be paired with their fast-moving or poisonous relatives to make it more interesting.
PlacementTip.gifPlacement Tip:Avoid the cliche of placing headcrabs in vents; they would likely be more of an annoyance than a improvement on gameplay.


Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_headcrab_health
<integer> A headcrab's spawn health
  • sk_headcrab_melee_dmg
<integer> Melee damage

Keyvalues

  • startburrowed
<boolean>

Flags

Inputs

Start hanging from ceiling.
Drop if hanging from ceiling.

Outputs