Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
bind mouse1 +att_disg
alias +att_disg "+attack"
alias -att_disg "-attack;disguise_enemy 8"
Attack to disguise. On Battlezone, this might work when (re)spawning (not tested):
alias strigger_spawn "disguise_enemy 8"
Only problem is when an enemy scout or spy comes near, you lose your disguise and won't automatically disguise again.
Edit: There's a spy script on here but idk if it still works:
http://tfcresource.teamfortressclassic.org/scripts_class.html
I'd correct the echo messages etc to be compatible for current TFC, but I really can't be bothered these days. Although, time lines are several years, Valve keep fixing/"breaking" stuff. The spy script and echo message workarounds inside the scripts are the only things that don't work on that site, I think. I don't really play enough these days to bother.
Toasties script seems to work fine:
Once this is done, the script remembers the disguise you chose until you exit the game or choose a different disguise.
Is the spy.cfg actually executed? You might need to add this to the config.cfg (or just type it into the console):
setinfo "ec" "1" // execute class cfg files
setinfo "em" "1" // execute map cfg files
You can execute it manually:
exec spy.cfg
Or bind a key if all else fails:
bind backspace "exec spy.cfg"
Thinking it might be better to use number pad keys for selection of the disguise. But the script needs to be adjusted. Binds in order of the numbers:
bind KP_END
bind KP_DOWNARROW
bind KP_PGDN
bind KP_LEFTARROW
bind KP_5
bind KP_RIGHTARROW
bind KP_HOME
bind KP_UPARROW
bind KP_PGUP
So the script would then be edited like this:
alias +enemy_disguise "bind KP_END e1; bind KP_DOWNARROW e2; (and so on)
alias +friendly_disguise "bind KP_END f1; bind KP_DOWNARROW f2; (and so on)
i made my own script after fiddling around for a bit, it makes it so that you both automatically reload and disguise as the enemy soldier if youre playing spy whenever you shoot.
But yeah, the script I posted works fine for me. You have to hold down a key of your choice (for me it's 'FN' and 'Context Menu' keys remapped to the number-pad '*' and '/' and press a slot number for a class. When you let go the numbers go back to default (weapon selection.) But I do use as you've mentioned userconfig.cfg:
setinfo "ec" "1" // Automatic exec for class.cfg
setinfo "em" "1" // Automatic exec for map.cfg
setinfo "dc" "1" // Exec Default Class
setinfo "dm" "1" // Exec Default Map
I am on a 10-keyless keyboard (no number-pad) so that's why it's like that.
Something like 'CAPSLOCK' and 'ALT' would make more sense. I just don't have many spare free keys.
The original script on my site used the number-pad If I remember correctly (it's been ages), before Valve "broke" various things in it.
As I've mentioned I don't really play anymore. I didn't write the one I posted in the 3rd post, but it seems to work well enough for me.
I did add the spk commands as a test, but you could remove 'spk team' spk 'enemy'.
Hopefully that's clear? I'll report back on the next reply with a fresher mind.
The script itself will still work, however attempting to perform an attack will cancel any current disguise or prevent one from starting. What was once a feature is now a well patched bug.
**one of my favs that still work