Hunter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-some info)
(-)
Line 2: Line 2:
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
{{CD|Hunter|CTerrorPlayer}}
{{CD|Hunter|CTerrorPlayer}}
{{entity|type=e0|series=Left 4 Dead|hunter}}
{{entity|type=e0|series=Left 4 Dead|hunter}} By default director tries to spawn him in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Hunter spawns with [[weapon_hunter_claw]] which is his melee ability 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.}}
{{note|Spawned hunter's classname is <code>player</code>}}
{{note|Spawned hunter's classname is <code>player</code>}}
{{clr}}
== ConVars/ConCommands ==
<source>
hunter_committed_attack_range            : 75      : , "sv", "cheat"  :
hunter_leap_away_give_up_range          : 1000    : , "sv", "cheat"  :
hunter_pounce_air_speed                  : 700      : , "sv", "cheat"  :
hunter_pounce_loft_rate                  : .035    : , "sv", "cheat"  : Hunter adds this angle/distance when pouncing
hunter_pounce_max_loft_angle            : 45      : , "sv", "cheat"  : Maximum loft angle for Hunter Pounce angle adjustment
hunter_pounce_ready_range                : 500      : , "sv", "cheat"  : If victim is this close, crouch and get ready
hunter_pz_claw_dmg                      : 6        : , "cheat", "rep", "cl" : Amount of damage done by a PZ hunter's regular melee attack
z_hunter_ground_normal                  : 0.2      : , "cheat", "rep", "cl" :
z_hunter_health                          : 250      : , "sv", "cheat"  : Zombie max health
z_hunter_limit                          : 1        : , "sv", "cheat"  :
z_hunter_lunge_distance                  : 750      : , "sv", "launcher" : Distance at which bot hunters will try to lunge
z_hunter_lunge_pitch                    : 25      : , "sv", "launcher" : 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        : , "sv", "cheat"  :
z_hunter_max_pounce_bonus_damage        : 24      : , "sv", "cheat", "launcher" :
z_hunter_speed                          : 300      : , "cheat", "rep", "cl" :
</source>


== See Also ==
== See Also ==
* [[weapon_hunter_claw]]
* [[ability_lunge]]
* [[player]]
* [[player]]
* [[npc_hunter]]
* [[npc_hunter]]

Revision as of 08:35, 18 July 2023

Stub

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

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
Hunter
BossZombiePlayerBot
NextBotPlayer
CTerrorPlayer
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

Template:Entity By default director tries to spawn him in front of survivors (SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS spawn set). Hunter spawns with weapon_hunter_claw which is his melee ability 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.
Note.pngNote:Spawned hunter's classname is player

ConVars/ConCommands

hunter_committed_attack_range            : 75       : , "sv", "cheat"  : 
hunter_leap_away_give_up_range           : 1000     : , "sv", "cheat"  : 
hunter_pounce_air_speed                  : 700      : , "sv", "cheat"  : 
hunter_pounce_loft_rate                  : .035     : , "sv", "cheat"  : Hunter adds this angle/distance when pouncing
hunter_pounce_max_loft_angle             : 45       : , "sv", "cheat"  : Maximum loft angle for Hunter Pounce angle adjustment
hunter_pounce_ready_range                : 500      : , "sv", "cheat"  : If victim is this close, crouch and get ready
hunter_pz_claw_dmg                       : 6        : , "cheat", "rep", "cl" : Amount of damage done by a PZ hunter's regular melee attack
z_hunter_ground_normal                   : 0.2      : , "cheat", "rep", "cl" : 
z_hunter_health                          : 250      : , "sv", "cheat"  : Zombie max health
z_hunter_limit                           : 1        : , "sv", "cheat"  : 
z_hunter_lunge_distance                  : 750      : , "sv", "launcher" : Distance at which bot hunters will try to lunge
z_hunter_lunge_pitch                     : 25       : , "sv", "launcher" : 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        : , "sv", "cheat"  : 
z_hunter_max_pounce_bonus_damage         : 24       : , "sv", "cheat", "launcher" : 
z_hunter_speed                           : 300      : , "cheat", "rep", "cl" :

See Also