Description
This plugin lets you add weapons and spawn points into CS:GO maps.
The items are added directy to the map and also written to a Stripper
config file so the next time the map loads the items will be persisted.
Feature list
All weapons and spawn points are supported.
CVAR/Command list
There is one command "add" with the following syntax.
The only required parameter is the item to add.
add item ammo notes
If ammo is left off or set to 0 you will get default ammo for added weapons.
notes if entered will be added to the striper config file as a comment.
Examples:
Add an ak47 with default ammo where you are standing.
add ak47
Add an ak47 with default ammo with a note for the Stripper file.
(You only need quotes around the notes if they contain a space).
add ak47 0 "ak47 with deafult ammo at first t spawn."
Add an ak47 with 500 rounds.
add ak47 500
--------------------------------------------------------------
List of all items you can add.
---- Grenades ------------------------------------------------
smoke, flash, he, molo, inc, decoy
---- Pistols -------------------------------------------------
glock, p250, fiveseven, deagle, elite, p2000, tec9, taser
---- Shotguns ------------------------------------------------
sawedoff, nova, xm1014, mag7
---- Sub Machine Guns ----------------------------------------
mp9, mac10, mp7, ump45, p90, bizon
---- Machine Guns --------------------------------------------
m249, negev
---- Rifles --------------------------------------------------
famas, galilar, m4a1, ak47, aug, sg556
---- Sniper Rifles -------------------------------------------
ssg08, g3sg1, scar20, awp
---- Ammo ----------------------------------------------------
338mag, 357sig, 45acp, 50ae, 556mm, 57mm, 762mm, 9mm, buckshot
---- Spawn Points --------------------------------------------
ct, t
--------------------------------------------------------------
Changelog
--------------------------------------------------------------
2012-08-30 (v1.0)
* Initial release.
2012-09-03 (v1.1)
* Fixed a problem where you could specify custom ammo on items that do not take ammo
* added #pragma semicolon 1 and fixed a few places where they were missing
-------------------------------------------------------------
Installation instructions
place the SMX in the plugins folder and you're done.
Dependencies
This plugin requires Metamod:Source, Sourcemod, Stripper
You need the latest version of everything to run on CSGO.
Download them here:
http://www.sourcemm.net/snapshots
http://www.sourcemod.net/snapshots.php
http://www.bailopan.net/stripper/snapshots/1.2/
This was only tested on a Windows dedicated server running the latest of
everything from the above links.
Errata
This works from the console
add ak47 300 "ak with 300 rounds"
But the same command from chat doesn't work because of the quotes.
!add ak47 300 "ak with 300 rounds"
Plans
Add in an option to add exploding barrels.
Add the ability to remove items by pointing at them to select them.