View Single Post
Author Message
Grognak
SourceMod Donor
Join Date: Jan 2012
Old 08-06-2012 , 01:11   [TF2] Take Control of Bots
Reply With Quote #1

Quite simply, this plugin lets you take over a bot that you're observing on your team by calling for a medic (default E.) You'll then respawn at that bot's health, class, and position. This is a lot like CS:GO's bot control feature.

I made this plugin with Valve's Policy of Truth in mind. Total respawn times don't change. Bots will respawn in the same amount of time it would have taken you. This way players can hopefully get back into the game faster without screwing up the gameplay.

This plugin will not work with MvM.

Instructions:
1) Download and install the SDKHooks extention.
2) Place botcontrol.smx in your /plugins/ folder.
3) Restart your server and you're done.

Cvars:
botcontrol_enabled: Whether or not you want the plugin enabled.
botcontrol_version: What version number the plugin is.

Change List:
Quote:
1.3 - Updated hint text (thanks McKay!)
1.2 - Minor code change {41}
1.1 - Prevents bot ammo from dropping; now requires SDKHooks {26}
1.0 - Initial Release {36}
Thanks to 11530's help, everyone on this topic and everyone else who helped me on IRC.
Attached Files
File Type: smx botcontrol.smx (7.1 KB, 2540 views)
File Type: sp Get Plugin or Get Source (botcontrol.sp - 1270 views - 6.2 KB)

Last edited by Grognak; 08-17-2012 at 14:30.
Grognak is offline