AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Capture Toggle (0.0.3, 2011-01-27) (https://forums.alliedmods.net/showthread.php?t=140862)

Swixel 10-17-2010 06:04

[TF2] Capture Toggle (0.0.3, 2011-01-27)
 
2 Attachment(s)
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.

Thraka 10-17-2010 22:06

Re: [TF2] Capture Toggle (0.0.1, 2010-10-17)
 
Does this prevent the intel from being picked up or captured?

Swixel 10-17-2010 22:15

Re: [TF2] Capture Toggle (0.0.1, 2010-10-17)
 
Not in this version. I'm tempted to add payload and intelligence blocking too, if there's any interest -- though I thought there were already plugins for these?

I stand corrected. The same code should kill payload carts, but it won't stop the timer in any circumstance. (Payload is basically just control point stuff.)

There should already be an intel blocker as far as I know.

Thraka 10-19-2010 11:19

Re: [TF2] Capture Toggle (0.0.1, 2010-10-17)
 
I was just thinking of a single plugin that effectively disables the map objectives, giving you team deathmatch, regardless of the map type.

Swixel 10-19-2010 15:25

Re: [TF2] Capture Toggle (0.0.1, 2010-10-17)
 
Added ability to disable intel and payload.

( Previous question became redundant. )

TimeShift 10-31-2010 18:05

Re: [TF2] Capture Toggle (0.0.2, 2010-10-20)
 
Your plugin ID is 2012 :O

Also, thanks for the plugin, its very useful on my server :)

JOSHBOX 01-26-2011 20:41

Re: [TF2] Capture Toggle (0.0.2, 2010-10-20)
 
I run an arena server, this is great for disabling the capture point for a single round which requires players to fight eachother rather than capping. The problem is that the plugins reverts to enable the capture point at the end of each arena round. I looked at the source but I don't know enough to be able to modify the behavior, so that it stays disabled throughout rounds unless enabled again by cvar. Can anyone help me with this?

Swixel 01-26-2011 21:22

Re: [TF2] Capture Toggle (0.0.3, 2011-01-27)
 
Updated the code ... tested it briefly, seemed to work fine. If there are problems, just post here (I'm subscribed to this thread).

FunkyLoveCow 02-15-2011 17:28

Re: [TF2] Capture Toggle (0.0.3, 2011-01-27)
 
Is there a way to enable/disable this ability for specific players instead of the entire server?

Swixel 02-15-2011 18:50

Re: [TF2] Capture Toggle (0.0.3, 2011-01-27)
 
Quote:

Originally Posted by FunkyLoveCow (Post 1416204)
Is there a way to enable/disable this ability for specific players instead of the entire server?

Yes, but not easily. At present I'm midway through preparing to move house (and won't actually be moved for 2-3 months), so I won't be able to write that (it also isn't possible with Pawn as far as I know).

Also
For those who've PMed me, I don't know why your commands aren't recognised, as this plugin doesn't do anything particularly magical. (And as a note, I don't get e-mailed when I get PMed, and I don't check my PMs regularly ;))


All times are GMT -4. The time now is 05:14.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.