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

[L4D2] Common Zombies Autodifficulty v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
dYZER
Member
Join Date: Jan 2010
Location: Germany
Plugin ID:
1429
Plugin Version:
1.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Controles Automatic Spawning Common Zombies and difficulty at joining a Survival player/1-8+
    Unapprover:
    Reason for Unapproving:
    Huge number of warnings when compiling
    Old 01-25-2010 , 13:11   [L4D2] Common Zombies Autodifficulty v1.4
    Reply With Quote #1

    v.1.4
    updated

    auto diffculty, at playing survival players 1+ ingame
    ..cuz i hate the specials zombies, i play mostly "director_no_specials 1"

    ...i was playing at some multiplayer servers 4+ survivals, and i miss some zombies(waves)

    INFO

    what this do,

    changing the spawning common zombies, and makes harder and more "common zombies" by joining players 1-12+ in survivals team.
    calculation with players and game difficult, and spawn more and harder zombies...

    how...
    at the moment calculate this vars (look down,code), by Survivals(with or without bots) and a "changeable factor" thats can be set for each ingame difficult (easy,hard,...)

    ingame trigger, "!cz" "!cZadif" "!czv"
    "!cz" "!cZadif"info display
    "!czv" vote game difficulty in survival mode


    recalcuted vars,atm
    Code:
        z_health
        z_common_limit
        z_background_limit
        z_non_head_damage_factor_easy
        z_non_head_damage_factor_expert
        z_non_head_damage_factor_hard
        z_non_head_damage_factor_normal
        z_attack_incapacitated_damage
        z_mob_spawn_max_interval_easy
        z_mob_spawn_min_interval_easy
        z_mob_spawn_max_interval_normal
        z_mob_spawn_min_interval_normal
        z_mob_spawn_max_interval_hard
        z_mob_spawn_min_interval_hard
        z_mob_spawn_max_interval_expert
        z_mob_spawn_min_interval_expert
        z_mob_spawn_max_size
        z_mob_spawn_min_size
        z_mob_spawn_finale_size
        z_mega_mob_size
        z_mega_mob_spawn_max_interval
        z_mega_mob_spawn_min_interval
        z_skirmish_spawn_max_interval
        z_skirmish_spawn_min_interval
        z_skirmish_spawn_max_size
        z_skirmish_spawn_min_size
        z_tank_health
        z_hunter_health
        z_gas_health (smokeer)
        z_exploding_health
        z_charger_health
        z_spitter_health 
        z_jockey_health
        z_witch_health
    convars main
    "l4d_cZadif 1/0" // turns on/off ||default "1"
    l4d_cZadifak1 2 //// faktor 1 is easy/1 ||default "2"
    l4d_cZadifak2 4 //// faktor 2 is normal/2 ||default "4"
    l4d_cZadifak3 6 //// faktor 2 is hard/3 /||default "6"
    l4d_cZadifak4 8 //// faktor 2 is expert/4 ||default "8"
    l4d_cZadifbot 1/0 /// with surv-bots counting (nick,bob the builder,zoey
    l4d_cZadifnfo 1/0 /// auto info anouncing (print2chat/all) ||default "1"
    l4d_cZadif_version /// version output

    convars based on config ( base value for calcing )
    *use the xls ("c" col) 4 offline info
    Code:
    l4d_cZadi_z_hp "z_health",
    l4d_cZadi_z_co_li "z_common_limit"
    l4d_cZadi_z_bg_li "z_background_limit"
    l4d_cZadi_z_nhd_ea "z_non_head_damage_factor_easy"
    l4d_cZadi_z_nhd_ex "z_non_head_damage_factor_expert"
    l4d_cZadi_z_nhd_ha "z_non_head_damage_factor_hard"
    l4d_cZadi_z_nhd_no "z_non_head_damage_factor_normal"
    l4d_cZadi_z_ainc_d "z_attack_incapacitated_damage"
    l4d_cZadi_z_mob_maxi_ea "z_mob_spawn_max_interval_easy"
    l4d_cZadi_z_mob_mini_ea "z_mob_spawn_min_interval_easy"
    l4d_cZadi_z_mob_maxi_no "z_mob_spawn_max_interval_normal"
    l4d_cZadi_z_mob_mini_no "z_mob_spawn_min_interval_normal"
    l4d_cZadi_z_mob_maxi_ha "z_mob_spawn_max_interval_hard"
    l4d_cZadi_z_mob_mini_ha "z_mob_spawn_min_interval_hard"
    l4d_cZadi_z_mob_maxi_ex "z_mob_spawn_max_interval_expert"
    l4d_cZadi_z_mob_mini_ex "z_mob_spawn_min_interval_expert"
    l4d_cZadi_z_mob_maxs = "z_mob_spawn_max_size"
    l4d_cZadi_z_mob_mins = "z_mob_spawn_min_size"
    l4d_cZadi_z_mob_f_s = "z_mob_spawn_finale_size"
    l4d_cZadi_z_mob_m_s = "z_mega_mob_size"
    l4d_cZadi_z_hunter_hp = z_hunter_health
    l4d_cZadi_z_smoker_hp = z_gas_health
    l4d_cZadi_z_boomer_hp = z_exploding_health
    l4d_cZadi_z_charger_hp = z_charger_health
    l4d_cZadi_z_splitter_hp = z_spitter_health
    l4d_cZadi_z_jockey_hp = z_jockey_health
    l4d_cZadi_z_witch_hp = z_witch_health
    l4d_cZadi_z_tank_hp = z_tank_health
    l4d_cZadi_z_mob_maxi_sk = z_skirmish_spawn_max_interval
    l4d_cZadi_z_mob_mini_sk = z_skirmish_spawn_min_interval
    l4d_cZadi_z_smob_maxs = z_skirmish_spawn_max_size
    l4d_cZadi_z_smob_mins = z_skirmish_spawn_min_size
    l4d_cZadi_z_mmob_max_int = z_mega_mob_max_interval
    l4d_cZadi_z_mmob_min_int = z_mega_mob_min_interval


    *
    example calc

    l4d_cZadi_z_hp = 50
    2player normal(fak4) (based at "l4d_cZadi_z_hp 50") = 82 hp
    z_non_head_damage_factor_normal 0.86
    z_common_limit 38
    z_mob_spawn_min_size 12
    2
    player expert(fak8) (based at "l4d_cZadi_z_hp 50") = 178 hp
    z_non_head_damage_factor_expert 0.32
    z_common_limit 46
    z_mob_spawn_min_size 16

    8player normal(fak4) (based at "l4d_cZadi_z_hp 50") = 178 hp
    z_non_head_damage_factor_normal 0.45
    z_common_limit 62
    z_mob_spawn_min_size 30

    l4d_cZadi_z_hp = 70
    2player normal(fak4) (based at "l4d_cZadi_z_hp 70") = 102 hp
    z_non_head_damage_factor_normal 0.86


    2
    player expert(fak8) (based at "l4d_cZadi_z_hp 70") = 198 hp
    z_non_head_damage_factor_expert 0.32


    8player normal(fak4) (based at "l4d_cZadi_z_hp 70") = 198 hp
    z_non_head_damage_factor_normal 0.45

    z_mob_spawn_min_size 30


    *2hard
    l4d_cZadi_z_hp = 70
    l4d_cZadifak2 = 12
    2player normal(fak12) (based at "l4d_cZadi_z_hp 70") = 358 hp
    z_non_head_damage_factor_normal 0.59
    z_common_limit 54
    z_mob_spawn_min_size 20

    8player normal(fak12) (based at "l4d_cZadi_z_hp 70") = 1222 hp
    z_non_head_damage_factor_normal -0.66 >(only headshots and critical hits) or change the base value of "l4d_cZadi_z_nhd_ex 0.5"
    z_common_limit 126
    z_mob_spawn_min_size 86
    *u got a fast server ?)

    *much much more, use the xls file


    config file
    "l4d_czadif.cfg"


    compatible
    ? with l4d1 untested

    xls calculations
    excel
    http://spreadsheets.google.com/ccc?k...TbVdYR2c&hl=en
    example old pix from the excel

    8player [IMG]http://img697.**************/img697/994/czad8player.th.jpg[/IMG] 4player [IMG]http://img442.**************/img442/1037/czad4player.th.jpg[/IMG] 2player [IMG]http://img526.**************/img526/6986/czad2player.th.jpg[/IMG]

    changeable player green, and the factor 2,4,6,8 red, will be recalced


    credits and why this
    [quote] thnx Jonny for the start
    the core script is based at
    (special) "Autodifficulty (loot) script" from Jonny
    http://forums.alliedmods.net/showthread.php?t=115763
    , but that one, was used only use special zombies and one common "z_heal"


    need 2fix

    hocked vote_end bug? since l4d2 update ?

    *recalcing pounce dmg, req round restart 2 trigger ? but set...
    *common zombie dmg, whats the var ?


    fixed
    v1.4
    -added xls to the web http://spreadsheets.google.com/ccc?k...TbVdYR2c&hl=en
    -fixed min/max intervals
    1.3
    - added difficulty vote for survival mode trigger !czv
    - added survival mode (with and without/director_no_specials 1)
    1.2
    - fixed for singleplayer mode, the triggers
    - factor +0.x (didnt know how its worx correct)
    - fixed compiling errors (float)
    1.1 added special zombies (tank,hunter,...) hp support
    1.0
    - pimp up 2 v1.0, no bugs founded
    - delete your old "l4d_czadif.cfg" file
    0.9
    -add "l4d_cZadifnfo" 1/0 option enable/dis all prints info to chat
    0.8
    -add based common zombie setting 4 changing
    0.7
    -mass join/left/spawning/- timer added at that recalc
    0.6
    -ingame difficult vote (vote_passed hooked)/- recalcing
    -join/left player/bots
    -change all cvars ...starting with "l4d_cZadif*"
    -remove z_pounce_damage no working with commons (static? at easy,hard,..,game mode ?)
    -add info trigger !cZadif same info as !cz


    help!
    so any1 wanna help 2 fix or update/balance, so help out
    my english teacher has never help me too


    ***NOTE delete your old .config after updating !!!

    hf
    download here we go
    0.5 (l4d2_commonautodif.sp - 17 +54.7z views - 10.1 KB)
    0.6 (19 views)
    0.7 (l4d2_commonautodif.sp - 94 views - 12.1 KB)
    1.0 (l4d2_commonautodif.sp - 112 views - 17.6 KB)
    1.1 (l4d2_commonautodif.sp - 250 views - 20.4 KB)
    1.3 (l4d_czadif.sp - 16 views - 25.7 KB)
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_czadif.sp - 2685 views - 25.8 KB)

    Last edited by dYZER; 07-27-2010 at 09:33. Reason: update
    dYZER is offline
    triggerman
    Senior Member
    Join Date: Jun 2009
    Old 01-25-2010 , 13:43   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #2

    post is incredibly hard to understand and the download is broken. i shouldn't have to put a lot of effort into understanding what this does.
    __________________
    triggerman is offline
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 01-25-2010 , 15:21   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #3

    combination of english as a second language combined with lazy netspeak does make it hard to read.

    i believe its intended for servers with >4 survivors. it dynamically adjusts the difficulty of common infected based upon how many people there are.

    it seems to also adjust the hunters pounce.
    dirka_dirka is offline
    Jоnny
    Senior Member
    Join Date: Jun 2007
    Old 01-25-2010 , 16:19   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #4

    Quote:
    Originally Posted by dYZER View Post
    sorry jonny, thats i change it, cuz if we wanna play expert, then realy expert, and not the tank only
    I undertook very glad that you to write something more convenient, than my script.

    Quote:
    @Jonny wanna merge the autodifficulty scripts ?
    Certainly you can edit my script as want. There are no problems.
    Can be and I then will advise/will add something.

    Last edited by Jоnny; 01-25-2010 at 16:23.
    Jоnny is offline
    dYZER
    Member
    Join Date: Jan 2010
    Location: Germany
    Old 01-30-2010 , 08:26   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #5

    any ingame bugs ?
    dYZER is offline
    webname
    Junior Member
    Join Date: May 2009
    Old 02-04-2010 , 23:00   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #6

    Internal Server Error on file czad-faktorcalc.7z
    webname is offline
    dYZER
    Member
    Join Date: Jan 2010
    Location: Germany
    Old 02-05-2010 , 07:21   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #7

    Quote:
    Originally Posted by webname View Post
    Internal Server Error on file czad-faktorcalc.7z
    fixed

    http://forums.alliedmods.net/attachm...6&d=1265372426
    dYZER is offline
    crazytina
    Member
    Join Date: Jan 2010
    Old 02-11-2010 , 14:56   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #8

    One not found any errors .. like them both but like yours better cause ^^ we like hard playing ..

    B ut my qustion is .... i dont know much about mod stuff ..

    question is .. is there way make hp and and stuff higher... i have it too 8 ... can we go higher like 10 -15 so on ... sorry if im confuse...


    and does these things go in the server.cig file like other command if want changes things. please let me know or message me thank you sorry if i nubbie ^^

    Quote:
    Originally Posted by dYZER View Post


    Code:
        z_health
        z_common_limit
        z_background_limit
        z_non_head_damage_factor_easy
        z_non_head_damage_factor_expert
        z_non_head_damage_factor_hard
        z_non_head_damage_factor_normal
        z_attack_incapacitated_damage
        z_mob_spawn_max_interval_easy
        z_mob_spawn_min_interval_easy
        z_mob_spawn_max_interval_normal
        z_mob_spawn_min_interval_normal
        z_mob_spawn_max_interval_hard
        z_mob_spawn_min_interval_hard
        z_mob_spawn_max_interval_expert
        z_mob_spawn_min_interval_expert
        z_mob_spawn_max_size
        z_mob_spawn_min_size
        z_mob_spawn_finale_size
        z_mega_mob_size
    crazytina is offline
    dYZER
    Member
    Join Date: Jan 2010
    Location: Germany
    Old 02-12-2010 , 12:13   Re: [L4D2] Common Zombies Autodifficulty
    Reply With Quote #9

    Quote:
    1) is there way make hp and and stuff higher...
    helpfull [L4D2] Gun Control http://forums.alliedmods.net/showthread.php?p=1020236


    Quote:
    i have it too 8 ... can we go higher like 10 -15 so on ...
    if u mean "faktor 8"? yes, u can change it what u want,
    use the "xml calculations (excel) to see the recalc of ur change"
    on the fly yes, u can change faktor ingame too, "l4d_cZadifak2 12" and vote gamedifficult to normal.

    Quote:
    and does these things go in the server.cig file like other command if want changes things. please let me know or message me thank you sorry if i nubbie ^^
    hmm, if u mean faktor settings, take a look in
    "..\Steam\steamapps\common\left 4 dead 2\left4dead2\cfg\sourcemod\l4d_czadif.cfg"

    if u mean the z_heal "50" to set your own value like "80" and recalc all it, thats not supported at the moment, i used the original l4d2 values..(hint change mybase value recompile)

    *beta 0.7

    Last edited by dYZER; 02-13-2010 at 11:26.
    dYZER is offline
    crazytina
    Member
    Join Date: Jan 2010
    Old 02-13-2010 , 12:01   Re: [L4D2] Common Zombies Autodifficulty v1.0
    Reply With Quote #10

    thank you this helps alot.. hehe i think made it to hard we cant get next map hahaha... love mod thank you : )~~
    crazytina 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 06:58.


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