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/CommandParameters or default valueDescriptorEffect
z_witch_allow_change_victim1
z_witch_always_kills0
z_witch_anger_rate0.2**Rate at which Witches become agitated, a higher value makes Witches become agitated faster.
z_witch_attack_range60
z_witch_berserk_range200
z_witch_burn_time15
z_witch_damage100
z_witch_damage_per_kill_hit30
z_witch_discard_range2000
z_witch_flashlight_range400**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_health1000Witch max health
z_witch_hostile_at_me_anger2
z_witch_max_retreat_range2000
z_witch_max_threat_time7
z_witch_min_retreat_range750
z_witch_min_threat_time5
z_witch_personal_space100**Range at which Survivors will always agitate sitting Witches, even if the Witch cannot see or hear them.
z_witch_rage_smoothing0.9
z_witch_relax_rate0.05**Rate at which Witches will relax after being agitated.
z_witch_retreat_exit_hidden_duration10
z_witch_retreat_exit_range1000
z_witch_retreat_min_duration10
z_witch_speed300
z_witch_speed_inured200
z_witch_threat_hostile_range600**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_range300**Range at which Survivors can agitate Witches based on line-of-sight and sound.
z_witch_tongue_range100If a tongue passes this close to a witch's head, she will snap it.
z_witch_wander_hear_radius72
z_witch_wander_music_max_dist2000000
z_witch_wander_music_max_interval20.0
z_witch_wander_music_min_dist90000
z_witch_wander_music_min_interval3.0
z_witch_wander_personal_space240
z_witch_wander_personal_time10

Actions

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

See also