View Single Post
Author Message
Swixel
Senior Member
Join Date: Jul 2010
Location: Sydney, Australia
Old 10-17-2010 , 06:04   [TF2] Capture Toggle (0.0.3, 2011-01-27)
Reply With Quote #1

Description
Provides basic commands to enable or disable the capturing objectives.

Notes
As the description implies, if there are other objectives (beyond 'capturing'), these will not be disabled; this plugin only disables Payload, Intelligence, and Capture Points.

Design Notes
I did not use a cvar because I would rather have 'instant' control over enable/disable.

Installation
Put smx file in the 'plugins' directory (or compile the sp).

Commands
sm_cap_enable - Enable Capturing
sm_cap_disable - Disable Capturing

Cvars
sm_tf_captoggle - Version Cvar
sm_cap_auto_arena - Sets whether or not Arena capture points are automatically disabled on round start (Default: disabled)

Change log
0.0.3 (27 Jan 2011) - Added automatic disable of points on Arena.
0.0.2 (20 Oct 2010) - Added identifiers to disable payload and cleaned up the code.
0.0.1 (17 Oct 2010) - Initial Release.
Attached Files
File Type: sp Get Plugin or Get Source (swBlockCap.sp - 7165 views - 3.1 KB)

Last edited by Swixel; 01-26-2011 at 21:21. Reason: 0.0.3
Swixel is offline