AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Canteen Commands (https://forums.alliedmods.net/showthread.php?t=229183)

FlaminSarge 11-02-2013 23:55

[TF2] Canteen Commands
 
4 Attachment(s)
Allows you to set the type of canteen and the number of charges on the canteen, for any player's canteen. Works in any gamemode, as long as the player has a canteen equipped.

Requires TF2Attributes.

Commands
sm_setcanteen <target> <charges> [powerup] - Default "cheats" access. Sets the number of charges on <target>'s canteen to <charges>. The optional [powerup] parameter will remove all powerups from the canteen, then apply the specified powerup to the canteen.
sm_addcanteen <target> <powerup> - Default "cheats" access. Adds a powerup to a canteen without removing any of the other powerups on it. Yes, you can make a "critboost + ubercharge" canteen, by first using setcanteen for one powerup then using addcanteen for another powerup.

Valid powerups are 'recall', 'ubercharge', 'critboost', 'building instant upgrade', and 'refill_ammo'.

ConVars
tf_canteencommands_version - Ignore this, and don't touch it. Version cvar.

Changelog
Code:

1.0 - 11/02/2013
*Initial release

To-Do
*More flexible access stuff (e.g. @me override, or something)

Previous plugin views: 3 + 5 .sp

FlaminSarge 11-02-2013 23:56

Re: [TF2] Canteen Commands
 
Let me know of things that don't work.

FlaminSarge 11-03-2013 02:34

Re: [TF2] Canteen Commands
 
Redownload the plugin, there was a small error in formatting a string. Didn't bump version number.

Leonardo 11-03-2013 04:57

Re: [TF2] Canteen Commands
 
sm_unlimitedcanteen maybe?

FlaminSarge 11-06-2013 19:14

Re: [TF2] Canteen Commands
 
Maybe, though I think AdvancedInfiniteAmmo covers that already.

w1200441 11-06-2013 23:46

Re: [TF2] Canteen Commands
 
Is this works in non-MvM server?

FlaminSarge 11-09-2013 19:09

Re: [TF2] Canteen Commands
 
If you have a Canteen equipped, yes.

nergal 11-10-2013 22:00

Re: [TF2] Canteen Commands
 
can I use this for saxton hale? :3

edit: i give my players uber and other powerups but pressing H doesn't activate the powerups?

asherkin 11-13-2013 09:31

Re: [TF2] Canteen Commands
 
May want to give the upgrades slightly friendlier names, as they aren't consistent (~valve~).

FlaminSarge 11-19-2013 19:39

Re: [TF2] Canteen Commands
 
Planned shortcuts include "uber", "crit", "ammo", "upgrade", and "build". Recall is short enough that it doesn't really need one.

*shrug*


All times are GMT -4. The time now is 19:30.

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