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

[L4D2]Roadkill Competive Scoring


Post New Thread Reply   
 
Thread Tools Display Modes
Author
roadkill
Junior Member
Join Date: Dec 2009
Plugin ID:
1319
Plugin Version:
.8
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Changes the scoring to half distance and half the number of times your team has been incapped
    Unapprover:
    Reason for Unapproving:
    Bugs mentioned by author unfixed for months http://forums.alliedmods.net/showpost.php?p=1012709&postcount=4
    Old 12-08-2009 , 22:49   [L4D2]Roadkill Competive Scoring
    Reply With Quote #1

    Description:

    This plugin is designed for people who liked the L4D scoring more. This plugin is designed with competition more in mind because with the new scoring system your health isn't calculated. So instead I decided to take into account incaps as a way to change your teams score. So what it does is change the survival bonus after each incap slowly until it reaches 0.
    The default is about 50 percent of your score is based on distance the other 50 percent is based on the number of times your team gets incapped. The math is l4d2_SurvivalPoints/l4d2_NumIncaps to decide how many points are lost each incap. It will always round down to the next integer because the score is an integer number incase of decimal scores.

    Comments:
    We were looking for a why to better break apart scores instead of just a tiebreak damage dealt that was closer to the l4d scoring style with making it all survival bonus.

    Cvars:
    CompScoring_enable "0/1" On or Off
    l4d2_NumIncaps "8" Numbers of Incaps to set Survival Score to 0
    l4d2_SurvivalPoints "100" The Maximum Survival Score Per Player
    l4d2_TiePoints "100" Value of the Tiebreaker
    l4d2_MaxPlayerIncaps "2" Number of incaps per person
    rk_compscore_version ".9" Version

    Changelog:

    0.9
    -Fixed Tanks deaths reducing survivor bonus
    - Added cvar for max incaps per player
    - Added out to chat to see new survivor bonus

    0.8
    -Initial Release

    To Do:
    Instant kills and kills making sure you get 2 incaps worth of score loss.
    Fix when players join and quit keeping the incaps for that survivor.

    Code:
    Version .8 Get Plugin or rk_CompScoring.sp
    Version .9 Get Plugin or rk_CompScoring_0.9.sp

    Last edited by roadkill; 12-10-2009 at 18:32.
    roadkill is offline
    roadkill
    Junior Member
    Join Date: Dec 2009
    Old 12-09-2009 , 22:44   Re: [L4D2]Roadkill Competive Scoring
    Reply With Quote #2

    I need a way to tell apart survivor bots and dying tanks. To make sure player_death events don't crisscross.
    roadkill is offline
    DieTeetasse
    Senior Member
    Join Date: Jul 2009
    Old 12-10-2009 , 02:17   Re: [L4D2]Roadkill Competive Scoring
    Reply With Quote #3

    Detecting bots:
    PHP Code:
    if (!IsFakeClient(client))
    {
       
    //i am human

    Detecting survivors:
    PHP Code:
    if (GetClientTeam(client) == 2)
    {
       
    //survivors = 2
       //infected = 3

    DieTeetasse is offline
    roadkill
    Junior Member
    Join Date: Dec 2009
    Old 12-10-2009 , 18:33   Re: [L4D2]Roadkill Competive Scoring
    Reply With Quote #4

    Updated to .9 with fixes to tank incaps calling trigger and added max incaps per player.

    Working on a way to keep track of each survivor separately to make sure with disconnect and connect that 2 incaps count only for each survivor and working on death triggers.
    roadkill 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:28.


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