Raised This Month: $51 Target: $400
 12% 

[TF2] Canteen Commands


Post New Thread Reply   
 
Thread Tools Display Modes
manfredbaumann
New Member
Join Date: Jun 2015
Old 06-21-2015 , 05:44   Re: [TF2] Canteen Commands
Reply With Quote #11

what is Canteen Commands use for???
__________________
manfredbaumann is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 06-22-2015 , 13:54   Re: [TF2] Canteen Commands
Reply With Quote #12

yeah


also quick think of a way to activate canteen effects on people even if they don't have the item
__________________
Chdata is offline
Bonkorn
Senior Member
Join Date: Jul 2015
Old 11-01-2015 , 02:29   Re: [TF2] Canteen Commands
Reply With Quote #13

It doesn't work with server console like this
PHP Code:
sm_setcanteen bonkorn 1 critboost 
and Command/CVAR Shortcut
PHP Code:
    "1"
    
{
        
"chat" "c_crits"
        "command" "sm_setcanteen [PLAYER_NAME] 3 critboost"
        "flag"    "o"
    

Bonkorn is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 11-06-2015 , 02:43   Re: [TF2] Canteen Commands
Reply With Quote #14

I have no idea why that wouldn't work. Did you update the plugin's dependencies?
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 11-06-2015 at 02:44.
FlaminSarge is offline
starblaster64
Member
Join Date: Jul 2015
Old 05-28-2016 , 23:47   Re: [TF2] Canteen Commands
Reply With Quote #15

Did anyone figure out a workaround for using Canteens in Arena mode? The only other time when Canteens don't work is the short freeze period at the start of every round on all maps, which is before 'teamplay_round_active' is fired, which Arena (presumably) doesn't have since 'arena_round_start' exists.

EDIT: Just whipped up an adhoc solution. Setting 'GameRules_SetProp("m_iRoundState", 4);' in 'arena_round_start' seems to work fine. 4 being RoundState_RoundRunning, as opposed to Arena's default value of 7 (Which is the Stalemate state right? How odd).

EDIT2: OK Nevermind, RoundState 7 stops people from respawning, RoundSate 4 allows people to keep respawning in Arena mode.

Last edited by starblaster64; 05-29-2016 at 01:49. Reason: Nevermind, bad solution
starblaster64 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:37.


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