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

[L4D2] L4D1 Versus Score System


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DieTeetasse
Senior Member
Join Date: Jul 2009
Plugin ID:
1325
Plugin Version:
2.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    L4D1 Versus Score System in L4D2
    Unapprover:
    Reason for Unapproving:
    Bugs reported, no attempt by author to triage.
    Old 12-11-2009 , 20:45   [L4D2] L4D1 Versus Score System
    Reply With Quote #1

    The Left 4 Dead 1 Score System is there!
    You are annoyed that a almost dead team get the same points as your team, who gets through with 4 meds?
    This is the plugin you need ;)

    Function:
    Calculate the round score like the good old Left 4 Dead 1 to the old competetion back.

    Dependencies:
    - Sourcemod 1.4 development
    - Left 4 Downtown v0.4.6 (only v2.3)
    - cfg/sourcemod/l4d2_versus_score_system_map_multiplier.txt file
    - addons/sourcemod/gamedata/l4d2_versus_score_system_gamedata.txt

    Installation:
    - install Left 4 Downton v0.4.6 (only v2.3)
    - copy l4d2_versus_score_system_map_multiplier.txt to cfg/sourcemod
    - copy l4d2_versus_score_system_complete.smx to addons/sourcemod/plugins
    - copy l4d2_versus_score_system_gamedata.txt to addons/sourcemod/gamedata

    Cvars:
    l4d2_l4d1vs_version "2.3" //Version number
    l4d2_l4d1vs_enable "1" //Enabling/disabling score system
    l4d2_l4d1vs_defib_multiplier "0.5" //Multiplier for the restored health of a defib unit (0 for disabling)
    l4d2_l4d1vs_map_multiplier_enable "1" //Enable/disable map multiplier on score
    l4d2_l4d1vs_checkpoint_health_remover_enable "1" //Enable/disable removing of health items in the checkpoint room
    l4d2_l4d1vs_score_display "2" //Score display mode (0 = chat, 1 = motd, 2 = both)
    l4d2_l4d1vs_welcome_msg_enable "1" //Enable/disable welcome message while joining

    Todo:
    - tie breaker -> infected damage decides (?)

    Known Bugs / Incompatibilites:
    - NO support for 8+ clients server

    History:
    v2.3:
    - use of an own gamedata file (thx AtomicStryker)
    - hide scoreboard at round end
    - added cvar to change score display mode
    - added score output for first round team on second half
    - dynamic roundscore array
    --> support for 5+ maps campaigns
    - simplified score output and motd
    --> need Sourcemod 1.4 dev!

    v2.2:
    - fixed passing update break
    - simplified some functions
    - deleted old code
    - support for custom maps added
    - incapped survivor will be counted with 30 temphhp and their items (except for final)

    v2.1:
    - added another function and renamend an old one (GetSurvivorDistance and GetSurvivorDistancePoints)
    - fixed bug, that distance points instead of the distance in percentage would be displayed
    - fixed incompatibility for L4D2 Team Manager (thx AtomicStryker)

    [...]

    Download history:
    0.x - 91
    1.x - 260
    2.x - 253

    Additional infos:

    The online compiler can't compile the sp file, because of downtowns extension.

    Important!
    New plugin (with downtowns extension): l4d2_versus_score_system_complete (v2.3)
    Old plugin (without extension and only changing the survial bonus): l4d2_versus_score_system (v1.7)

    Teetasse
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_versus_score_system.sp - 2416 views - 22.7 KB)
    File Type: txt l4d2_versus_score_system_map_multiplier.txt (687 Bytes, 1143 views)
    File Type: zip l4d2_versus_score_system.zip (25.2 KB, 1168 views)
    File Type: sp Get Plugin or Get Source (l4d2_versus_score_system_complete.sp - 1011 views - 36.5 KB)
    File Type: smx l4d2_versus_score_system_complete.smx (13.6 KB, 1271 views)
    File Type: txt l4d2_versus_score_system_gamedata.txt (1.6 KB, 1268 views)

    Last edited by DieTeetasse; 05-26-2010 at 07:30.
    DieTeetasse is offline
    loraliromance
    Senior Member
    Join Date: Apr 2009
    Old 12-13-2009 , 02:15   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #2

    Oh, i'm very excited about this. I'll give it a try asap.

    Thanks!
    loraliromance is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 12-13-2009 , 12:17   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #3

    Interesting approach. You're altering scores without an SDK function.
    AtomicStryker is offline
    Thraka
    AlliedModders Donor
    Join Date: Aug 2005
    Old 12-14-2009 , 01:11   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #4

    Does this just adjust the bonus value for the score? Not redo the whole score entirely.. Thats what I can make from the script anyway.
    Thraka is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 12-14-2009 , 06:00   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #5

    Yeah, im just calculating the bonus score for each survivor by looking on their health, temphealth and their inventory like in Left 4 Dead 1. I'm not editing the system.
    Therefor the idea of a multiplier for the teamscore, because i don't touch the distance score (and don't know how).

    Last edited by DieTeetasse; 12-14-2009 at 08:02.
    DieTeetasse is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 12-16-2009 , 12:34   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #6

    Updated to v0.4.

    I changed the cvar l4d2_l4d1vs_tiebreak_score. It will no longer define the "normal" tiebreak score, the valve cvar vs_teibreak_score will do that.
    I added a second level of tiebreak. If the first one is fired, i check for the heath score of both teams and if they are equal you can define another bonus score with the l4d2_l4d1vs_tiebreak_score cvar.
    (I hope you can understand the idea )

    I implemented another cvar l4d2_l4d1vs_debug that will hide every output.

    Still I have no feedback what is happening in a real versus game.
    DieTeetasse is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 12-19-2009 , 22:44   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #7

    Updated to v1.0.

    Could finally test the plugin
    I deleted the confusing health tiebreak score and the debug outputs and added an output the end of the round. Also i fixed some things.

    Next ideas i will try to implement:
    - map multiplier to balance distance and health bonus on maps later in the campagne
    - adding score / percentage of health for the defib unit

    Have fun and save your medkits
    __________________

    Last edited by DieTeetasse; 12-19-2009 at 22:47.
    DieTeetasse is offline
    aftermath001
    Member
    Join Date: Jul 2009
    Old 12-20-2009 , 06:35   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #8

    if u need a gunie pig server tell me i love this idea
    i have a server we can try it on
    aftermath001 is offline
    mikhdenis
    Member
    Join Date: Aug 2009
    Location: Ukraine
    Old 12-20-2009 , 09:56   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #9

    Found a strange bug, the infected cant respawn when the map c3m1_plankcountry, wrote - the survivors rescued, I don `t know this plugin or not because I noticed this bug after installing it ?!
    mikhdenis is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 12-20-2009 , 10:28   Re: [L4D2] L4D1 Versus Score System
    Reply With Quote #10

    Near the ferry? That is a L4D2 bug valve didnt fixed yet...
    __________________
    DieTeetasse 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 01:32.


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