View Single Post
Author Message
shewowkees
Junior Member
Join Date: Apr 2017
Old 08-11-2017 , 07:10   [TF2] Multiple Buildings with pda & no extension
Reply With Quote #1

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.
Attached Files
File Type: sp Get Plugin or Get Source (multiple_buildings.sp - 1382 views - 5.7 KB)

Last edited by shewowkees; 08-12-2017 at 06:51.
shewowkees is offline