Hunter: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Tip:To spawn hunter manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning:Trying to spawn hunter using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Important:Hunter's classname is changed to 
Note:Crouched hunter can walk up very steep surfaces. This is controlled by z_hunter_ground_normal cvar. In 
 his worldmodel is angled based on where he stands.
Note:All 
	
		
	
No edit summary  | 
				m (Classifying as model entity)  | 
				||
| (4 intermediate revisions by one other user not shown) | |||
| Line 3: | Line 3: | ||
{{Ent not in fgd|nolink=1}}  | {{Ent not in fgd|nolink=1}}  | ||
{{CD|Hunter|base=BossZombiePlayerBot}}  | {{CD|Hunter|base=BossZombiePlayerBot}}  | ||
{{this is a|  | {{this is a|model entity|name=hunter|series=Left 4 Dead}} By default director tries to spawn him in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Hunter spawns with his melee ability [[weapon_hunter_claw]] and [[ability_lunge]] which controls his special ability.  | ||
{{tip|To spawn hunter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left 4 Dead 2/Script Functions/ZSpawn|ZSpawn]] script function can be used.}}  | {{tip|To spawn hunter manually {{ent|commentary_zombie_spawner}}, {{ent|info_zombie_spawn}} or [[Left 4 Dead 2/Script Functions/ZSpawn|ZSpawn]] script function can be used.}}  | ||
{{warning|Trying to spawn hunter using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}  | {{warning|Trying to spawn hunter using SpawnEntityFromTable script function or by placing him directly in a map will crash the game}}  | ||
{{important|  | {{important|Hunter's classname is changed to <code>player</code> upon spawning}}  | ||
{{note|Crouched hunter can walk up very steep surfaces. This is controlled by z_hunter_ground_normal cvar. In {{l4d}} his worldmodel is angled based on where he stands.}}  | {{note|Crouched hunter can walk up very steep surfaces. This is controlled by z_hunter_ground_normal cvar. In {{l4d}} his worldmodel is angled based on where he stands.}}  | ||
{{OtherKIO|altlink={{ent|player|game=Left 4 Dead series}}|2=All}}  | |||
{{clr}}  | {{clr}}  | ||
==ConVars/ConCommands==  | == ConVars/ConCommands ==  | ||
{{varcom|start}}  | {{varcom|start}}  | ||
{{varcom|hunter_committed_attack_range|75|| }}  | {{varcom|hunter_committed_attack_range|75|| }}  | ||
| Line 29: | Line 30: | ||
{{varcom|end}}  | {{varcom|end}}  | ||
==Actions==  | == Actions ==  | ||
* HunterAssault  | * HunterAssault  | ||
* HunterAttack  | * HunterAttack  | ||
| Line 36: | Line 37: | ||
* HunterLungeAtVictim  | * HunterLungeAtVictim  | ||
==See also==  | == See also ==  | ||
* [[NextBot]]  | * [[NextBot]]  | ||
*   | * {{ent|weapon_hunter_claw}}  | ||
*   | * {{ent|ability_lunge}}  | ||
{{stub}}  | {{stub}}  | ||
Latest revision as of 03:31, 19 May 2025
This article is about the entity in the Left 4 Dead series. For the Half-Life NPC, see npc_hunter.
| Hunter | 
hunter  is a   model entity  available in ![]()
 Left 4 Dead series. By default director tries to spawn him in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Hunter spawns with his melee ability weapon_hunter_claw and ability_lunge which controls his special ability.
player upon spawningKeyvalues / Inputs / Outputs are same as player.ConVars/ConCommands
| Cvar/Command | Parameters or default value | Descriptor | Effect | 
|---|---|---|---|
| hunter_committed_attack_range | 75 | ||
| hunter_leap_away_give_up_range | 1000 | ||
| hunter_pounce_air_speed | 700 | ||
| hunter_pounce_loft_rate | .035 | Hunter adds this angle/distance when pouncing | |
| hunter_pounce_max_loft_angle | 45 | Maximum loft angle for Hunter Pounce angle adjustment | |
| hunter_pounce_ready_range | 500 | If victim is this close, crouch and get ready | |
| hunter_pz_claw_dmg | 6 | Amount of damage done by a PZ hunter's regular melee attack | |
| z_hunter_ground_normal | 0.2 | ||
| z_hunter_health | 250 | Zombie max health | |
| z_hunter_limit | 1 | ||
| z_hunter_lunge_distance | 750 | Distance at which bot hunters will try to lunge | |
| z_hunter_lunge_pitch | 25 | Extra pitch bot hunters will lunge with at their max range (goes to 0 when bots are lunging up close) | |
| z_hunter_lunge_stagger_time | 1 | ||
| z_hunter_max_pounce_bonus_damage | 24 | ||
| z_hunter_speed | 300 | 
Actions
- HunterAssault
 - HunterAttack
 - HunterBehavior
 - HunterLeapToCover
 - HunterLungeAtVictim