Npc headcrab: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Placement Tip:Classic headcrabs can be paired with their fast-moving or 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.
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
		
	
m (Added link to russian article)  | 
				m (minoro)  | 
				||
| Line 1: | Line 1: | ||
{{wrongtitle|title=npc_headcrab}}  | {{wrongtitle|title=npc_headcrab}}  | ||
==Entity   | |||
[[Image:headcrab.jpg|  | ==Entity description==  | ||
[[Image:headcrab.jpg|thumb|right|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.  | 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.  | ||
| Line 10: | Line 11: | ||
{{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.}}  | ||
{{npcnote}}  | {{npcnote}}  | ||
==Dedicated   | == Dedicated CVARs ==  | ||
* '''sk_headcrab_health'''  | * '''sk_headcrab_health'''  | ||
: <integer> A headcrab's spawn health  | : <integer> A headcrab's spawn health  | ||
* '''sk_headcrab_melee_dmg'''  | * '''sk_headcrab_melee_dmg'''  | ||
: <integer> Melee damage  | : <integer> Melee damage  | ||
==Keyvalues==  | |||
== Keyvalues ==  | |||
* {{kv basenpc}}  | * {{kv basenpc}}  | ||
* {{kv parentname}}  | * {{kv parentname}}  | ||
| Line 26: | Line 27: | ||
: {{boolean}}  | : {{boolean}}  | ||
==Flags==  | == Flags ==  | ||
* {{fl basenpc}}  | * {{fl basenpc}}  | ||
* 65536 : Start hidden  | * 65536 : Start hidden  | ||
* {{ep1 add|131072 :  Start hanging from ceiling}}  | * {{ep1 add|131072 :  Start hanging from ceiling}}  | ||
==Inputs==  | == Inputs ==  | ||
* {{i basenpc}}  | * {{i basenpc}}  | ||
* {{i parentname}}  | * {{i parentname}}  | ||
| Line 39: | Line 40: | ||
: Drop if hanging from ceiling.  | : Drop if hanging from ceiling.  | ||
==Outputs==  | == Outputs ==  | ||
* {{o basenpc}}  | * {{o basenpc}}  | ||
{{otherlang:en}}  | {{otherlang:en}}  | ||
{{otherlang:en:ru|Npc_headcrab_(ru)}}  | {{otherlang:en:ru|Npc_headcrab_(ru)}}  | ||
[[Category:Entities]][[Category:NPCs]]  | [[Category:Entities]]  | ||
[[Category:NPCs]]  | |||
Revision as of 04:40, 17 November 2007
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. 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.
Dedicated CVARs
- sk_headcrab_health
 
- <integer> A headcrab's spawn health
 
- sk_headcrab_melee_dmg
 
- <integer> Melee damage
 
Keyvalues
- startburrowed
 
- <boolean>
 
Flags
- Template:Fl basenpc
 - 65536 : Start hidden
 - Template:Ep1 add
 
Inputs
- Start hanging from ceiling.
 
- Drop if hanging from ceiling.