Hello !
I don't know if this has been done before but this plugin allows you to quickly setup a game with a custom sentry/dispenser limit.
Other plugins have that feature what's different?
I haven't searched trough all of the internet but so far, i've seen three different ways to do that.
- Spawning a building without the build command (needs a custom command which is less easy to use)
- Editing some of the game's files which needs a server restart and provides no direct access through the pda.
- Using a custom extension (the plugin which did that also needed two bots in the game)
Well this plugin here needs
no server restart,
no custom extension and
directly uses the ingame pda
Cvars & Commands
Cvars
sm_sentry_limit How many sentries a single player can build.
sm_dispenser_limit Same but for the dispensers.
Commands:
sm_destroy_dispensers Destroy all the dispensers owned by the player who runs this command.
sm_destroy_sentries Same but for the sentries
Plugin in action:
https://www.youtube.com/watch?v=ByQGOWs4h-E
Changelog:
1.1:- Updated old comments
- Fixed safety checks
- Hooked clients on plugin start
Warning, the plugin hasn't his own config file, use your server.cfg instead.