AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] Witch Flashlight Startle ? (https://forums.alliedmods.net/showthread.php?t=322231)

koperkoper 03-20-2020 17:20

[L4D2] Witch Flashlight Startle ?
 
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 :shock: .


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.

Lux 03-20-2020 17:40

Re: [L4D2] Witch Flashlight Startle ?
 
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

koperkoper 03-21-2020 14:56

Re: [L4D2] Witch Flashlight Startle ?
 
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?

Lux 03-21-2020 23:15

Re: [L4D2] Witch Flashlight Startle ?
 
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

Silvers 03-22-2020 05:02

Re: [L4D2] Witch Flashlight Startle ?
 
I'm interested in doing this, maybe at some point I will.

ddd123 08-04-2022 13:36

Re: [L4D2] Witch Flashlight Startle ?
 
It's been nearly 2 years and seem nobody interested with making witch flashlight startle plugin? :cry:

Xenorvya 10-12-2023 22:08

Re: [L4D2] Witch Flashlight Startle ?
 
I like this idea. Would definitely use a plugin like that.
The Witch's whole thing is being easily startled by bright lights and loud noises. However, in-game, all it does is slightly extending the sitting witch's "vision", and make her get up slightly faster. It's not as bad as the game and trailer make it out to be, with the whole "instantly startled if the Witch is flashed" or in-game lines "Turn those flashlights off".


All times are GMT -4. The time now is 14:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.