Team Fortress 2 Icon TF2 Script

Slot-Based Commands

Yo, buddy. We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending ScrapEngineer points.
  • Post: Give ScrapEngineer your thoughts on this Script.
  • Vote: Help ScrapEngineer win the Monthly Awards.
  • Rate: Give this Script a rating out of 10.
  • Flag: Alert moderators and warn members of a problem with this Script.
  • Watch: Get notified when this Script is updated.
Mascot

Stop Lurking!

Join GameBanana

Already a Bananite? Login

What d'ya think?

31 lines | 983 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
// Feel free to use this for whatever, just make sure you always spawn with your primary, otherwise this won't work.

bind "1" "lslot1"
bind "2" "lslot2"
bind "3" "lslot3"

lslot1
alias lslot1 "slot1;bind mwheeldown lslot2; bind mwheelup lslot3; [cmd]"

alias lslot2 "slot2;bind mwheeldown lslot3; bind mwheelup lslot1; [cmd]"

alias lslot3 "slot3;bind mwheeldown lslot1; bind mwheelup lslot2; [cmd]"

// Only use these for a engineer.cfg file since it's useless for every other class.

bind "1" "lslot1"
bind "2" "lslot2"
bind "3" "lslot3"
bind "4" "lslot4"
bind "5" "lslot5"

lslot1
alias lslot1 "slot1;bind mwheeldown lslot2; bind mwheelup lslot5; [cmd]"

alias lslot2 "slot2;bind mwheeldown lslot3; bind mwheelup lslot1; [cmd]"

alias lslot3 "slot3;bind mwheeldown lslot4; bind mwheelup lslot2; [cmd]"

alias lslot4 "slot4;bind mwheeldown lslot5; bind mwheelup lslot3; [cmd]"

alias lslot5 "slot5;bind mwheeldown lslot4; bind mwheelup lslot1; [cmd]"
This script (or these scripts) is made to execute certain commands dependant on your weapon of choice, there's a 5-slot weapon choice too.

Posts

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Credits

Author
ScrapEngineer
Member Joined 6mo
307 points Ranked 12501st
Wrote the script.
Thankers
VALVe Software
Added the potential for these scripts to be created.

Submitter

ScrapEngineer avatar
Member Joined 6mo
307 points Ranked 12501st

ScrapEngineer
Creator
Send a Private Message to the submitter

Category

Attributes

Language
CFG/Config

Stats

Posts
3
Views
258
Date Added
11d
Date Modified
11d

Rating

  • Not yet rated