Team Fortress 2
hyperac Jun 8, 2016 @ 5:49pm
Default console command for cloaking/decloaking as spy in the console?
Pretty much the title. Is there a specific console command for just cloaking/decloaking as spy?
< >
Showing 1-13 of 13 comments
Pakaku Jun 8, 2016 @ 5:50pm 
"attack2"
I assume this is for bots?

addcond 4 and addcond 64 will cause an immediate cloak effect. removecond will remove these effects.
hyperac Jun 8, 2016 @ 6:23pm 
when i type bind "key" "mouse2" it says mouse2 is not a valid command. i am not talking about bots, and just want to change the bind via console, so i can bind another command to it as well.
Pakaku Jun 8, 2016 @ 6:35pm 
Originally posted by hyperac:
when i type bind "key" "mouse2" it says mouse2 is not a valid command. i am not talking about bots, and just want to change the bind via console, so i can bind another command to it as well.
You can't bind a key to another key. You have to bind a key to a command.
hyperac Jun 8, 2016 @ 6:36pm 
#4
sry i mean bind "key" "attack2"
it doesn't work
Originally posted by hyperac:
#4
sry i mean bind "key" "attack2"
it doesn't work

Try without quotes.
hyperac Jun 8, 2016 @ 6:52pm 
It is not the problem with the actual console command, its just that "attack2" is not for cloaking in the first place. When i press the key i bind "attack2" to, in console it says that attack2 is not a valid command, that is the problem. Other than attack2, is there anything else?
Originally posted by hyperac:
It is not the problem with the actual console command, its just that "attack2" is not for cloaking in the first place. When i press the key i bind "attack2" to, in console it says that attack2 is not a valid command, that is the problem. Other than attack2, is there anything else?

"Attack2" is the command for secondary attack, and the spy's invis watch is set to activate with secondary attack, I don't know how it would be any different.

In fact, why don't you just bind this through the options menu?
hyperac Jun 8, 2016 @ 7:09pm 
I would like when putting my cloak up to have my viewmodel turn off, and on again. Its weird, but helps me play
Originally posted by hyperac:
I would like when putting my cloak up to have my viewmodel turn off, and on again. Its weird, but helps me play

You could try editing one of the scripts on this page, then.
Selorium Jun 8, 2016 @ 7:39pm 
Originally posted by Fedora the Explorer:
Originally posted by hyperac:
It is not the problem with the actual console command, its just that "attack2" is not for cloaking in the first place. When i press the key i bind "attack2" to, in console it says that attack2 is not a valid command, that is the problem. Other than attack2, is there anything else?

"Attack2" is the command for secondary attack, and the spy's invis watch is set to activate with secondary attack, I don't know how it would be any different.

In fact, why don't you just bind this through the options menu?
You're making it overly complex. Let me explain better:
The command is actually
+attack2
(Note the plus)I recommend you don't put this into the consle unless you know how to turn it off (-attack2).
The syntax for binding a key is this:
bind key "command"
Underlines denote areas that should be changed.
So your bind might look something like this:
bind mouse2 "+attack2"
Last edited by Selorium; Jun 8, 2016 @ 7:44pm
hyperac Jun 8, 2016 @ 9:30pm 
Ooh. Ok. Thanks for your help :) finally got it fixed. Thank you for your time.
lavafoxx Jun 9, 2016 @ 1:14am 
Originally posted by hyperac:
Default console command

you mean like "XBOX turn on?"


=3
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Jun 8, 2016 @ 5:49pm
Posts: 13