witch

From Valve Developer Community
Jump to navigation Jump to search

Stub

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

Info.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
Witch
Infected
NextBotCombatCharacter
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

witch is a point entity available in Left 4 Dead series Left 4 Dead series. A Witch, controlled by NextBot AI.

ConVars

Cvar/Command Parameters or default value Descriptor Effect
z_witch_allow_change_victim 1
z_witch_always_kills 0
z_witch_anger_rate 0.2 **Rate at which Witches become agitated, a higher value makes Witches become agitated faster.
z_witch_attack_range 60
z_witch_berserk_range 200
z_witch_burn_time 15
z_witch_damage 100
z_witch_damage_per_kill_hit 30
z_witch_discard_range 2000
z_witch_flashlight_range 400 **Range at which Survivors can continue to agitate witches by pointing flashlights at her, survivors at this range will not initially agitate Witches.
z_witch_health 1000 Witch max health
z_witch_hostile_at_me_anger 2
z_witch_max_retreat_range 2000
z_witch_max_threat_time 7
z_witch_min_retreat_range 750
z_witch_min_threat_time 5
z_witch_personal_space 100 **Range at which Survivors will always agitate sitting Witches, even if the Witch cannot see or hear them.
z_witch_rage_smoothing 0.9
z_witch_relax_rate 0.05 **Rate at which Witches will relax after being agitated.
z_witch_retreat_exit_hidden_duration 10
z_witch_retreat_exit_range 1000
z_witch_retreat_min_duration 10
z_witch_speed 300
z_witch_speed_inured 200
z_witch_threat_hostile_range 600 **Range at which Survivors can continue to agitate Witches by committing 'hostile' actions, Survivors at this range will not initially agitate Witches.
z_witch_threat_normal_range 300 **Range at which Survivors can agitate Witches based on line-of-sight and sound.
z_witch_tongue_range 100 If a tongue passes this close to a witch's head, she will snap it.
z_witch_wander_hear_radius 72
z_witch_wander_music_max_dist 2000000
z_witch_wander_music_max_interval 20.0
z_witch_wander_music_min_dist 90000
z_witch_wander_music_min_interval 3.0
z_witch_wander_personal_space 240
z_witch_wander_personal_time 10

Actions

  • WitchAngry
  • WitchAttack
  • WitchBehavior
  • WitchBurn
  • InfectedDying
⮤WitchDying
  • WitchExecAction
  • WitchIdle
  • WitchKillIncapVictim
  • WitchRetreat
  • WitchWander

See also