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

Money balance


Post New Thread Reply   
 
Thread Tools Display Modes
Author
mad_hamster
Member
Join Date: Nov 2009
Plugin ID:
1425
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Gives extra cash to certain teams on certain maps
    Old 01-23-2010 , 18:56   Money balance
    Reply With Quote #1

    Money balance

    This plugin gives extra cash every round to certain team(s) on certain maps. It helps balance the difficulty. For example, the de_dust and de_aztec maps are typically harder for T's than CT's, while cs_assault and cs_militia are typically harder for CT's than T's.


    CVars:

    moneybalance (default: 1). Enable/disable the plugin.

    moneybalance_maxcash (default: 16000). Do not increase player cash above this threshold (if lower than 16000, the game may still increase a player's cash up to 16000, it's just that this plugin won't award any extra money).

    moneybalance_settings (default: ""). Define extra money on certain maps, e.g. "de_aztec:2:2000, de_inferno:2:2000" will give 2000$ extra on aztec and inferno maps to team #2. In CS:S, team #2 are terrorists, team #3 are Counter-terrorists.


    Installation:

    • Put the plugin in your addons/sourcemod/plugins directory
    • The configuration file will be created when the plugin is first run under cfg/sourcemod/plugin.moneybalance.cfg
    Attached Files
    File Type: sp Get Plugin or Get Source (moneybalance.sp - 2260 views - 3.4 KB)

    Last edited by psychonic; 03-31-2010 at 23:11. Reason: Fixed public cvar in header
    mad_hamster is offline
    Neptunin
    New Member
    Join Date: Jan 2010
    Old 01-25-2010 , 09:41   Re: Money all
    Reply With Quote #2

    Make please a plug-in giving each round 16000$ to all players.
    Neptunin is offline
    Matheus28
    Senior Member
    Join Date: Aug 2009
    Old 01-25-2010 , 13:13   Re: Money balance
    Reply With Quote #3

    Wildcats are welcome
    Matheus28 is offline
    zepper
    BANNED
    Join Date: May 2009
    Location: Latvia, Riga
    Old 01-27-2010 , 15:28   Re: Money all
    Reply With Quote #4

    Quote:
    Originally Posted by Neptunin View Post
    Make please a plug-in giving each round 16000$ to all players.
    You dont need a plugin. Set mp_startmoney 16000 in *cfg file
    zepper is offline
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 01-28-2010 , 00:54   Re: Money balance
    Reply With Quote #5

    Couple suggestion improvement...

    -First(pistol) round off
    -No chat spam
    Molli is offline
    Neptunin
    New Member
    Join Date: Jan 2010
    Old 02-02-2010 , 03:18   Re: Money all
    Reply With Quote #6

    Quote:
    Originally Posted by zepper View Post
    You dont need a plugin. Set mp_startmoney 16000 in *cfg file
    This command does not give 16000$ EACH round.
    Neptunin is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-27-2010 , 01:02   Re: Money balance
    Reply With Quote #7

    Plugin works well, and I use a combination of RoundCron and WeaponRestrict to still have a pistol round.

    We run a lot of maps, and it appears this plugin is limited to how many maps you can put in the settings. I tried editing the source and increasing the size of the strings, but that didn't appear to work. Then again I've never programmed in this code so I might not have been editing the right things.

    Any help in getting this to work with a lot of map settings would be appreciated.
    timetofly is offline
    mad_hamster
    Member
    Join Date: Nov 2009
    Old 09-27-2010 , 03:51   Re: Money balance
    Reply With Quote #8

    Define "a lot". Or just put your setting here, I'll check it.
    mad_hamster is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-27-2010 , 05:19   Re: Money balance
    Reply With Quote #9

    I have about 23 maps defined right now. I'd like to be able to do at least twice that much. Some of the maps do have longer names such as de_dam_facility_fixed and de_dust2_unlimited so that could be taking up some extra space.

    I should add that out of that 23 that includes some maps which are done twice, one for the CT team, and another for the T team. We're not only using this as a way of balancing maps, but we're also using it as our main money mod. The most unbalanced maps we only give money to one team, but on maps that are somewhat unbalanced we give some money to both teams with the harder side getting more money.

    Last edited by timetofly; 09-27-2010 at 05:22.
    timetofly is offline
    timetofly
    Member
    Join Date: Sep 2010
    Old 09-29-2010 , 01:15   Re: Money balance
    Reply With Quote #10

    If you can tell me what string or strings need to be changed I will be glad to go in and edit it.
    timetofly 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 04:24.


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