Keypad Class Switch and Taunt

A Config Script for Team Fortress 2

Updates

ScriptParentSubmitterStats
  • Tweak Changed formatting so it's a little more readable
Formatting Update (0.1) 8d

Instead of opening the room to the briefcase with the keypad, now you taunt!

60 1,971 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// This script revamp was done by Mr.Panface! Here is my steam:
// https://steamcommunity.com/id/MrPanface

//aliases

alias "Class1" "bind KP_END JScout"
alias "Class2" "bind KP_DOWNARROW JSoldier"
alias "Class3" "bind KP_PGDN JPyro"
alias "Class4" "bind KP_LEFTARROW JDemoman"
alias "Class5" "bind KP_5 JHeavyweapons"
alias "Class6" "bind KP_RIGHTARROW JEngnieer"
alias "Class7" "bind KP_HOME JMedic"
alias "Class8" "bind KP_UPARROW JSniper"
alias "Class9" "bind KP_PGUP JSpy"

alias "JScout" "join_class scout"
alias "JSoldier" "join_class soldier"
alias "JPyro" "join_class pyro"
alias "JDemoman" "join_class demoman"
alias "JHeavyweapons" "join_class heavyweapons"
alias "JEngnieer" "join_class engineer"
alias "JMedic" "join_class medic"
alias "JSniper" "join_class sniper"
alias "JSpy" "join_class spy"

alias "taunt1" "bind KP_END FNTaunt1
alias "
taunt2" "bind KP_DOWNARROW FNTaunt2"
alias "
taunt3" "bind KP_PGDN FNTaunt3"
alias "
taunt4" "bind KP_LEFTARROW FNTaunt4"
alias "
taunt5" "bind KP_5 FNTaunt5"
alias "
taunt6" "bind KP_RIGHTARROW FNTaunt6"
alias "
taunt7" "bind KP_HOME FNTaunt7"
alias "
taunt8" "bind KP_UPARROW FNTaunt8"
alias "
taunt9" "bind KP_PGUP FNTaunt9"

alias "
FNTaunt1" "taunt 1"
alias "
FNTaunt2" "taunt 2"
alias "
FNTaunt3" "taunt 3"
alias "
FNTaunt4" "taunt 4"
alias "
FNTaunt5" "taunt 5"
alias "
FNTaunt6" "taunt 6"
alias "
FNTaunt7" "taunt 7"
alias "
FNTaunt8" "taunt 8"
alias "
FNTaunt9" "taunt 9"

alias "
FNClass" "Class1; Class2; Class3; Class4; Class5; Class6; Class7; Class8; Class9; echo Keypad Changes Class!"
alias "
FNTaunt" "taunt1; taunt2 taunt3; taunt4; taunt5; taunt6; taunt7; taunt8; taunt9; echo Keypad Taunts!"

//The toggle

alias "
T_Taunt-Class" "bindTaunts"
alias "
bindTaunts" "alias T_Taunt-Class bindClass; FNTaunt"
alias "
bindClass" "alias T_Taunt-Class bindTaunts; FNClass"

//Binds

wait 1
bind "
KP_MINUS" "T_Taunt-Class"

//Thanks to (Shuruku) for the recommendation!
Alrighty, i'm back, and now with a "useful" script. Today I bring you a script to change classes and to taunt! press the - key on your key pad to select if your taunting or accidentally re-spawning.

If your wondering the console will say if you are changing classes or taunting

Key Rebinds:

KP_MINUS: (-) has been rebound to toggle between class switching and taunting
KP_1-9 keys: Have been rebound to change classes and to taunt

Thanks to Shuruku for the recommendation!
(Shuruku)'s Steam (Its a link, click it!)
Sign up to access this!
  • Ska1b1 avatar
    Ska1b1 Joined 1y ago
    Offline
    194 points Ranked 53641st
    3d
    Nice idea !

    If you want to make your scripts more accessible for some users, try using more alias and less bind commands. Some people have bound multiple actions on a single button.
    Bananite
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Announcement

Go take a look at a collaborative guide I'm doing with Irish Lad! - Mr.Panface

Credits

Author
Mr.Panface
Mr.Panface Joined 12mo ago
Offline
All included
Special Thanks
Shuruku
Recommended making this

Submitter

Mr.Panface avatar
Mr.Panface Joined 12mo ago
Onlinen't

Mr.Panface
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 1.5k Views
  • 1 Posts
  • 10moSubmitted
  • 8dModified
  • 8dUpdated

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

More Action Scripts Scripts

bcp.crwdcntrl.net tracking pixel