View Single Post
Author Message
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 12-05-2012 , 15:20   [CS:GO] Give Stats Cash and Weapons to Bot Controller
Reply With Quote #1

Give Stats Cash and Weapons to Bot Controller

Version 1.0.1


Table of Contents
----------------------------------------------------
Description
Commands and Cvars
Installation
Changelog
To Do
Notes
Download


Description
----------------------------------------------------
Normally, stats, cash, and weapons are awared to bots, instead of
to the players controlling them. This plugin gives bot controllers
all the stats, cash, and weapons that they earn while playing on a bot.


Commands and Cvars
----------------------------------------------------
Cvars
sm_bot_controller_version - Plugin version.
sm_bot_controller_kills - (Default 1) Award kills to the bot's controller (1 - award to player, 0 - award to bot)
sm_bot_controller_assists - (Default 1) Award assists to the bot's controller (1 - award to player, 0 - award to bot)
sm_bot_controller_deaths - (Default 1) Award deaths to the bot's controller (1 - award to player, 0 - award to bot)
sm_bot_controller_score - (Default 1) Award score to the bot's controller (1 - award to player, 0 - award to bot)
sm_bot_controller_cash - (Default 1) Award cash to the bot's controller (1 - award to player, 0 - award to bot)
sm_bot_controller_equipment - (Default 1) Award equipment to the bot's controller (1 - award to player, 0 - award to bot)


Installation
----------------------------------------------------
Place botcontrollerstats.smx in the /csgo/addons/sourcemod/plugins directory.
After running the plugin for the first time, botcontrollerstats.cfg will be automatically created.
Change settings in /csgo/cfg/sourcemod/botcontrollerstats.cfg.


Changelog
----------------------------------------------------
  • 1.0.0 (5 December 2012)
    - Initial version

  • 1.0.1 (5 December 2012)
    - Bug fixes: Added some missing checks to see if clients are still connected.

To Do
----------------------------------------------------
  • None.

Notes
----------------------------------------------------
  • You are still using the bot's money to buy weapons. Purchases made on a bot will be deducted from your money at the start of the next round. However, if you spend more money than you have, the money that you can't account for is deducted from the bot's cash. Likewise, excess money gained on a bot which puts you over the maximum money limit is awarded to the bot.

Download
----------------------------------------------------
Attached Files
File Type: sp Get Plugin or Get Source (botcontrollerstats.sp - 676 views - 18.8 KB)
File Type: smx botcontrollerstats.smx (8.6 KB, 947 views)
__________________

Last edited by Sheepdude; 12-08-2012 at 11:47.
Sheepdude is offline