AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S/GO] Different Team Start Money/Cash (https://forums.alliedmods.net/showthread.php?t=181139)

RedSword 03-25-2012 14:28

[CS:S/GO] Different Team Start Money/Cash
 
1 Attachment(s)
FOR CS:GO problem concerning the ~06/06/2014 update, please see this post.
Different Team Start Money/Cash

v. 1.0.0

Features :
  • Allows teams to get different start money (kind of a different mp_startmoney for each team).

Why I made this plugin :
  • There are tons of plugins preventing either spec hoping or allowing different cash system, but none that were currently giving teams different starting cash values...
  • I also believed once that glock is weaker than USP so I wanted to boost terrorists cash flow at the beginning. Plugin didn't exist at that time.

CVars :
  • differentteamstartmoneycashversion: Gives version -_-'
  • ----------
  • sm_startmoney_alternate : Are CVars sm_startmoney_t and sm_startmoney_ct used instead of mp_startmoney ? 2=Yes (set mp_startmoney to 800 to prevent problems), 1=Yes, 0=No. Default 2.
  • sm_startmoney_t : mp_startmoney value for terrorists. Default 1000.
  • sm_startmoney_ct : mp_startmoney value for CTs. Default 900.

Notes :
  • I didn't prevent spectator hoping (since it is in the game anyway). This means you should always put a mp_startmoney value equals or below the lowest value between the CVars "sm_startmoney_t" and "sm_startmoney_ct". That is why CVar "sm_startmoney_alternate" is by default at 2.
  • Also, I did restrict money to 800 (minimum), since CS: S has that same limit for mp_startmoney (since anyone could just spec-hop to get more money).

--------------

Any suggestions/comments on the code or the plugin are welcomed and appreciated.

Credits :
  • TnTSCS for inspiration looking at his code.

Changelog :
  • 1.0.0 Initial release. (25-03-2012)
  • Tested under CS:GO. (27-12-2012)

Todo list :
  • None at the moment.

RedSword 12-27-2012 13:46

Re: [CS:S/GO] Different Team Start Money/Cash
 
Tested and works under CS:GO.

xShadowWolf 11-03-2016 16:03

Re: [CS:S/GO] Different Team Start Money/Cash
 
I have "sm_startmoney_alternate 1" "sm_startmoney_t 500" "sm_startmoney_ct 400" in one of my config files, when i exec the config file and restart the game nothing happens, both teams still start with $800, am i doing something wrong? I am on cs:go

RedSword 11-03-2016 23:04

Re: [CS:S/GO] Different Team Start Money/Cash
 
Quote:

Originally Posted by xShadowWolf (Post 2467428)
I have "sm_startmoney_alternate 1" "sm_startmoney_t 500" "sm_startmoney_ct 400" in one of my config files, when i exec the config file and restart the game nothing happens, both teams still start with $800, am i doing something wrong? I am on cs:go

About 2½ years ago Valve updated the way the money is handled in the game. See this post for more info, and see if it solves the problem :

https://forums.alliedmods.net/showth...27#post2148127,

Red


All times are GMT -4. The time now is 16:58.

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