Raised This Month: $ Target: $400
 0% 

[L4D2] Witch Flashlight Startle ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
koperkoper
New Member
Join Date: Mar 2020
Old 03-20-2020 , 17:20   [L4D2] Witch Flashlight Startle ?
Reply With Quote #1

I remember the first time I played l4d, I was scared of the witch, because I thought that the moment you shine the light, it will go mad. But the real difference with lights on is only 1 %... I mean the survivors keep telling ALL the time to turn your light off, so I wish I could fix this. Usually, I play singleplayer.


I have been spawning witches and testing these commands (they require sv_cheats 1), but I cannot figure out what they are doing and what they mean .


z_witch_allow_change_victim 1
z_witch_anger_rate 0.2
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
z_witch_health 1000
z_witch_hostile_at_me_anger 2
z_witch_max_retreat_range 2000
z_witch_max_threat_time 7
z_witch_min_retreat_range 50
z_witch_min_threat_time 5
z_witch_personal_space 100
z_witch_relax_rate 0.05
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
z_witch_threat_normal_range 300
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




I have been trying to find a way, for the flashlight to quickly (if not instantly) startle the witch when you shine on it + from long distance.But I can't figure it out since 5 days
I searched for addons and plugins but I Am Suprised, I couldn't find anything.

Last edited by koperkoper; 03-20-2020 at 17:23.
koperkoper is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 03-20-2020 , 17:40   Re: [L4D2] Witch Flashlight Startle ?
Reply With Quote #2

Code:
z_witch_personal_space 145
z_witch_relax_rate 0.20
z_witch_flashlight_range 750
z_witch_anger_rate 0.7
z_witch_min_threat_time 0.1
These are which i use for my witches kinda close to the effect of l4d1 intro movie not quite, only effects sitting mode wander mode is different less indepth tweaking with cvars.

To force witches to sit use cvar
Code:
sv_force_time_of_day 0
if you use sourcemod you can change most serversided cvars with "sm_cvar"

e.g.
Code:
sm_cvar z_witch_personal_space 145
sm_cvar z_witch_relax_rate 0.20
sm_cvar z_spit_spread_delay 1.0
sm_cvar z_witch_flashlight_range 750
sm_cvar z_witch_anger_rate 0.7
sm_cvar z_witch_min_threat_time 0.1
sm_cvar sv_force_time_of_day 0
and input in a config file like server.cfg
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D

Last edited by Lux; 03-20-2020 at 17:41.
Lux is offline
koperkoper
New Member
Join Date: Mar 2020
Old 03-21-2020 , 14:56   Re: [L4D2] Witch Flashlight Startle ?
Reply With Quote #3

Somehow I can't fix the flashlight.
I set z_witch_flashlight_range 10 000 and anger rate really high.In this case, I can startle her from far away quickly with a flashlight, but it only works if the witch is looking at me and makes angry sounds (not crying).

But the problem is she won't look/notice me until I get really close to her. And with high anger rate she gets mad instantly even with no lights.

Code:
z_witch_anger_rate 0.2
z_witch_hostile_at_me_anger 2
z_witch_personal_space 100
z_witch_berserk_range 200
z_witch_threat_normal_range 300
z_witch_threat_hostile_range 600
z_witch_discard_range 2000
z_witch_retreat_exit_range 1000
z_witch_min_retreat_range 750
z_witch_max_retreat_range 2000
I think the answer is in one of these, any ideas?
koperkoper is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 03-21-2020 , 23:15   Re: [L4D2] Witch Flashlight Startle ?
Reply With Quote #4

Since cvars that i know of don't have the effect you are looking for you will need a plugin to modify the witch behavior directly.

Spoiler
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 03-22-2020 , 05:02   Re: [L4D2] Witch Flashlight Startle ?
Reply With Quote #5

I'm interested in doing this, maybe at some point I will.
__________________
Silvers is offline
ddd123
Member
Join Date: May 2021
Old 08-04-2022 , 13:36   Re: [L4D2] Witch Flashlight Startle ?
Reply With Quote #6

It's been nearly 2 years and seem nobody interested with making witch flashlight startle plugin?
ddd123 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:54.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode