Raised This Month: $51 Target: $400
 12% 

[L4D2] Zed Time v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 01-02-2022 , 18:15   Re: [L4D2] Zed Time v1.4
Reply With Quote #81

Zed Time v2.0 by NoroHime
turn to new syntax

new feature:
highligh kill feature enable on more than max_alive_human convar
when increase 1 player greater than max_alive_human , highlight kill required add 1.33
this mean if 7 human alive, you should one time to kill highligh_kill_count+(alive_humans-max_alive_human)*kill_require_increase=4+(7-3)*1.33=10.3(zombies) then round to 10

i think tank death is team work, so removed bot detect and humans detect

Code:
// The distance required to increase the chance of Zed time happening on a kill.
// -
// Default: "1200"
l4d2_zed_extreme_shot "1200"

// chance of headshot multiplier, 3 = 3x of infct_chance
// -
// Default: "3"
l4d2_zed_headshot_multiplier_chance "3"

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

// trigger enable if survivor normal kill zombies without special
// -
// Default: "0"
l4d2_zed_normal_kill_enable "0"

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

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

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

// how many highlight kills ZedTime trigger requirement inreases start at highligh_kill_count allow float but round
//  if 7 human alive, you should one time to kill 4+(7-3)*1.33=10.3(zombies) round to 10
// -
// Default: "1.33"
l4d2_zed_highligh_kill_require_increase "1.33"
changelog
v1.5 add headshot chance multiplier
v1.6 add native function call support thirdparty plugins
v1.7 add highligh kill feature and normal kill prevent
v2.0 turn new syntax, highlight kill can above humans limit, require kills increase by convar

----

im rewrite completely as [L4D2] Zed Time with Highlight Kill System, please check if someone need
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_zed_time_NoroHime.sp - 116 views - 18.2 KB)
__________________

Last edited by NoroHime; 02-06-2022 at 15:56.
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 11:50.


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