Witch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-witch)
 
m (Classifying as model entity)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{TabsBar|main=L4DZombies}}
{{stub}}
{{stub}}
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|Witch}}
{{CD|Witch}}
{{l4d series point|witch}}
{{this is a|model entity|name=witch|series=Left 4 Dead}} A Witch, controlled by [[NextBot]] AI.
 
== ConVars ==


==ConVars==
{{varcom|start}}
{{varcom|start}}
{{varcom|z_witch_allow_change_victim|1||}}
{{varcom|z_witch_allow_change_victim|1||}}
{{varcom|z_witch_always_kills|0||}}
{{varcom|z_witch_always_kills|0||}}
{{varcom|z_witch_anger_rate|0.2||**Rate at which Witches become agitated, a higher value will increase the speed Witches become agitated.}}
{{varcom|z_witch_anger_rate|0.2||**Rate at which Witches become agitated, a higher value makes Witches become agitated faster.}}
{{varcom|z_witch_attack_range|60||}}
{{varcom|z_witch_attack_range|60||}}
{{varcom|z_witch_berserk_range|200||}}
{{varcom|z_witch_berserk_range|200||}}
Line 16: Line 16:
{{varcom|z_witch_damage_per_kill_hit|30||}}
{{varcom|z_witch_damage_per_kill_hit|30||}}
{{varcom|z_witch_discard_range|2000||}}
{{varcom|z_witch_discard_range|2000||}}
{{varcom|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.}}
{{varcom|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.}}
{{varcom|z_witch_health|1000||Witch max health}}
{{varcom|z_witch_health|1000||Witch max health}}
{{varcom|z_witch_hostile_at_me_anger|2||}}
{{varcom|z_witch_hostile_at_me_anger|2||}}
Line 23: Line 23:
{{varcom|z_witch_min_retreat_range|750||}}
{{varcom|z_witch_min_retreat_range|750||}}
{{varcom|z_witch_min_threat_time|5||}}
{{varcom|z_witch_min_threat_time|5||}}
{{varcom|z_witch_personal_space|100||**Range at which survivors will always agitate sitting Witches, even if the Witch cannot see or hear the survivor.}}
{{varcom|z_witch_personal_space|100||**Range at which Survivors will always agitate sitting Witches, even if the Witch cannot see or hear them.}}
{{varcom|z_witch_rage_smoothing|0.9||}}
{{varcom|z_witch_rage_smoothing|0.9||}}
{{varcom|z_witch_relax_rate|0.05||**Rate at which Witches will relax after being agitated.}}
{{varcom|z_witch_relax_rate|0.05||**Rate at which Witches will relax after being agitated.}}
Line 31: Line 31:
{{varcom|z_witch_speed|300||}}
{{varcom|z_witch_speed|300||}}
{{varcom|z_witch_speed_inured|200||}}
{{varcom|z_witch_speed_inured|200||}}
{{varcom|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.}}
{{varcom|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.}}
{{varcom|z_witch_threat_normal_range|300||**Range at which survivors can agitate Witches based on line-of-sight and sound.}}
{{varcom|z_witch_threat_normal_range|300||**Range at which Survivors can agitate Witches based on line-of-sight and sound.}}
{{varcom|z_witch_tongue_range|100||If a tongue passes this close to a witch's head, she will snap it}}
{{varcom|z_witch_tongue_range|100||If a tongue passes this close to a witch's head, she will snap it.}}
{{varcom|z_witch_wander_hear_radius|72||}}
{{varcom|z_witch_wander_hear_radius|72||}}
{{varcom|z_witch_wander_music_max_dist|2000000||}}
{{varcom|z_witch_wander_music_max_dist|2000000||}}
Line 43: Line 43:
{{varcom|end}}
{{varcom|end}}


== See Also ==
==Actions==
* WitchAngry
* WitchAttack
* WitchBehavior
* WitchBurn
* InfectedDying
:: ⮤WitchDying
* WitchExecAction
* WitchIdle
* WitchKillIncapVictim
* WitchRetreat
* WitchWander
 
==See also==
* [[NextBot]]
* [[infected]]
* [[infected]]
* [[tank]]

Latest revision as of 04:37, 19 May 2025

edit

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
Witch
Infected
NextBotCombatCharacter
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

witch is a model entity available in Left 4 Dead seriesLeft 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