hunter

From Valve Developer Community
Jump to: navigation, search
This article is about the entity in the Left 4 Dead series. For the Half-Life NPC, see npc_hunter.
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
Hunter
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

hunter is a point entity available in Left 4 Dead series 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.

Tip.pngTip:To spawn hunter manually commentary_zombie_spawner, info_zombie_spawn or ZSpawn script function can be used.
Warning.pngWarning:Trying to spawn hunter using SpawnEntityFromTable script function or by placing him directly in a map will crash the game
Icon-Important.pngImportant:Spawned hunter's classname is player
Note.pngNote:Crouched hunter can walk up very steep surfaces. This is controlled by z_hunter_ground_normal cvar. In Left 4 Dead his worldmodel is angled based on where he stands.

ConVars/ConCommands

Cvar/CommandParameters or default valueDescriptorEffect
hunter_committed_attack_range75
hunter_leap_away_give_up_range1000
hunter_pounce_air_speed700
hunter_pounce_loft_rate.035 Hunter adds this angle/distance when pouncing
hunter_pounce_max_loft_angle45 Maximum loft angle for Hunter Pounce angle adjustment
hunter_pounce_ready_range500 If victim is this close, crouch and get ready
hunter_pz_claw_dmg6 Amount of damage done by a PZ hunter's regular melee attack
z_hunter_ground_normal0.2
z_hunter_health250 Zombie max health
z_hunter_limit1
z_hunter_lunge_distance750 Distance at which bot hunters will try to lunge
z_hunter_lunge_pitch25 Extra pitch bot hunters will lunge with at their max range (goes to 0 when bots are lunging up close)
z_hunter_lunge_stagger_time1
z_hunter_max_pounce_bonus_damage24
z_hunter_speed300

Actions

  • HunterAssault
  • HunterAttack
  • HunterBehavior
  • HunterLeapToCover
  • HunterLungeAtVictim

See also

Stub

This article or section is a stub. You can help by adding to it.