Raised This Month: $32 Target: $400
 8% 

[L4D2] Zed Time v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Mitsuru
Member
Join Date: Jun 2013
Location: Fakes country
Old 09-16-2018 , 13:07   Re: [L4D2] Zed Time v1.4
Reply With Quote #71

I like it and it may make people panic. LOL

Last edited by Mitsuru; 09-16-2018 at 13:17.
Mitsuru is offline
sonic155
Senior Member
Join Date: Mar 2019
Old 06-18-2020 , 05:27   Re: [L4D2] Zed Time v1.4
Reply With Quote #72

any way of making it to where it doesnt change the survivor's reload speed of guns?
sonic155 is offline
psisan
Junior Member
Join Date: Sep 2020
Old 09-27-2020 , 02:29   Re: [L4D2] Zed Time v1.4
Reply With Quote #73

Quote:
Originally Posted by McFlurry View Post
You ever wish Left 4 Dead 2 was like Killing Floor? Yes? Well I do too.

What it does:
Will slow down game when a zombie/survivor is killed based on Cvar settings.

Servers running this plugin!

Cvars:
l4d2_zed_time_version
l4d2_zed_time_enable "1"
l4d2_zed_surv_chance "40" How much of a chance does a survivor have of triggering Zed Time(1/Cvar Value)
l4d2_zed_infct_chance "20" How much of a chance does a infected have of triggering Zed Time
l4d2_zed_pipe_chance "10" How much of a chance the pipe bomb has of triggering Zed Time
l4d2_zed_boomer_explosion_chance "10" How much of a chance the boomer exploding has of triggering Zed Time.
l4d2_zed_restrict "1" Restrict Zed Time to what team, 1(survivor) 2(infected) 3(both)
l4d2_zed_tank "2" Chance that the tank's death will trigger Zed Time
l4d2_zed_witch "10" Chance that a witch's death will trigger Zed Time
l4d2_zed_timer "1.0" How long Zed time lasts
l4d2_zed_extreme_shot "150" Distance in feet a kill must be to increase chances of Zed Time
l4d2_zed_charger "1" Enable Zed time for this infected?
l4d2_zed_smoker "1" Enable Zed time for this infected?
l4d2_zed_jockey "1" Enable Zed time for this infected?
l4d2_zed_hunter "1" Enable Zed time for this infected?
l4d2_zed_boomer "1" Enable Zed time for this infected?
l4d2_zed_modes "coop,versus,realism,teamversus" Game modes that Zed Time will be enabled in

Notes:
This plugin is not fully complete yet, but the initial release provides the basic function it was meant for at the moment.
The repercussions of creating too many func_timescale entities is not yet known.
Zed Time will not trigger for Bots, only for human players, if requested I will add a Cvar to control this.

History:
1.0 - Initial Release
1.1 - Headshots now double the chance of getting Zed time, new Cvars: l4d2_zed_witch and l4d2_zed_timer. Chance Cvars defaults now lowered.
1.2 - Skipped. Now plays sound on Zed Time, new Cvar l4d2_zed_extreme_shot.
1.3 - Increased chance of getting Zed time if hunter is headshotted in mid air, new Cvars for specific infected.
1.3.1 - Sound fade out for client that triggers Zed time
1.3.2 - Fixed Zed Time activating even when it was disabled.
1.4 - Added l4d2_zed_pipe_chance, l4d2_zed_boomer_explosion_chance, and changed l4d2_zed_witch.

DUE FOR A REWRITE

After the last stand update , tank , special infected , distance and explosion zed time can't be trigger.
The zed time only work with witch and survivor trigger (common infected)

Forgive my poor English
psisan is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-27-2020 , 14:42   Re: [L4D2] Zed Time v1.4
Reply With Quote #74

Quote:
Originally Posted by psisan View Post
After the last stand update , tank , special infected , distance and explosion zed time can't be trigger.
The zed time only work with witch and survivor trigger (common infected)

Forgive my poor English
I don't see how that's possible it's very unlikely any of the events broke. You have the wrong settings or something. Just tested and killing tank triggered it.
__________________
Silvers is offline
psisan
Junior Member
Join Date: Sep 2020
Old 09-29-2020 , 02:00   Re: [L4D2] Zed Time v1.4
Reply With Quote #75

Quote:
Originally Posted by Silvers View Post
I don't see how that's possible it's very unlikely any of the events broke. You have the wrong settings or something. Just tested and killing tank triggered it.
Thanks for help. after remove the plugin cfg file. plugin work again.
psisan is offline
Yono_Yume
Junior Member
Join Date: Jan 2021
Location: Hong Kong
Old 02-08-2021 , 03:59   Re: [L4D2] Zed Time v1.4
Reply With Quote #76

can the sound effects in slow motion be removed? Every time the slow motion starts, it feels like deafness, which is annoying to the players on my server. Even if I adjust the trigger rate to once every 5 minutes, players hate these few seconds of deafness.
and,my English is very poor, I don’t understand the function of this instruction at all
l4d2_zed_extreme_shot
Yono_Yume is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-08-2021 , 09:09   Re: [L4D2] Zed Time v1.4
Reply With Quote #77

Just comment (//) the code where you find this "EmitSoundToAll"
__________________
Marttt is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-01-2022 , 05:47   Re: [L4D2] Zed Time v1.4
Reply With Quote #78

modify to add feature
convar headshot chance multiplier
Alive Human Survivors if greater than "l4d2_zed_max_alive_human" count prevent zed time

---
on my testing zed time always not trigger
finally i known chance 100 mean 1% chance to trigger lol
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_zed_time.sp - 69 views - 14.5 KB)
__________________

Last edited by NoroHime; 01-01-2022 at 05:56.
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-01-2022 , 11:28   Re: [L4D2] Zed Time v1.4
Reply With Quote #79

modify again to add feature
native ZedTime registration for thirdparty plugin trigger
ZedTime has param to enable humans detection
witch dead\tank dead always trigger zed time(you can modify your self)

if you wan use, add this to file head
Code:
native int ZedTime(bool isHumanDetect);
when use
Code:
ZedTime();
or
ZedTime(false); //force trigger without human count detect
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_zed_time.sp - 68 views - 14.8 KB)
__________________
NoroHime is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-02-2022 , 08:59   Re: [L4D2] Zed Time v1.4
Reply With Quote #80

zed time 1.7 by NoroHime
add highlight kill feature,if survivor kill many zombie in few time then ZedTime
highlight count, chance, interval controllable by convar
add switch if normal kill a zombie then prevent ZedTime,you can set headshot multiplier higher

Code:
// chance of headshot multiplier
// -
// Default: "1.5"
l4d2_zed_headshot_multiplier_chance "3"

// 1 in chance of kill multiple zombies
// -
// Default: "1"
l4d2_zed_highligh_kill_chance "1"

// count killed to trigger highlight ZedTime 
// -
// Default: "5"
l4d2_zed_highligh_kill_count "5"

// interval(second) between killed first and killed last zombie
// -
// Default: "0.2"
l4d2_zed_highligh_kill_interval "0.2"

// trigger Zed time when alive human equal or less
// -
// Default: "4"
l4d2_zed_max_alive_human "4"

// trigger enable if survivor normal kill zombies without special
// -
// Default: "1"
l4d2_zed_normal_kill_enable "0"
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_zed_time.sp - 69 views - 16.2 KB)
__________________

Last edited by NoroHime; 01-02-2022 at 09:00.
NoroHime is offline
Reply



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 03:13.


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