RSS Feed

fast swapping

#  Aug 19, 2008 at 10:18 PM
Join Date:
Oct 07, 2007
Post Count:
580
 
Specialty: Pyro
Steam ID: mellowshipslinky
 
(note: I'd put this in the script guide thread, but that's 404ing ... weird. P.S. The scripting thread is 404ing)

WARNING: if these scripts make your game explode, you didn't get them from me and have nobody but yourself to blame.

Ever felt like it would be much better if you could switch weapons quickly? Turns out you can! just follow these simple scripts:

create a default.cfg and put this in it:

alias "oldweapon0" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"
alias "oldweapon1" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"
alias "oldweapon2" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"

alias "newweapon0" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"
alias "newweapon1" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"
alias "newweapon2" "developer 1; echo YOU GET NOTHING!; wait 100; developer 0"

bind F1 "equiptoggle0; wait 25; slot1"
bind F2 "equiptoggle1; wait 25; slot2"
bind F3 "equiptoggle2; wait 25; slot3"

This will keep your weapons from being messed up when you're in the wrong class, it also binds F1-F3 to be your weapon switch buttons, change them to what you will. The "wait 25" makes it so that pressing the button switches to the weapon you changed.

in heavyweapons.cfg put:

alias "oldweapon0" "equip 6 0 0; alias equiptoggle0 newweapon0; developer 1; echo Equipped SASHA; wait 100; developer 0"
alias "oldweapon1" "equip 6 1 0; alias equiptoggle1 newweapon1; developer 1; echo Equipped SHOTGUN; wait 100; developer 0"
alias "oldweapon2" "equip 6 2 0; alias equiptoggle2 newweapon2; developer 1; echo Equipped FISTS; wait 100; developer 0"

alias "newweapon0" "equip 6 0 8; alias equiptoggle0 oldweapon0; developer 1; echo Equipped NATASCHA; wait 100; developer 0"
alias "newweapon1" "equip 6 1 7; alias equiptoggle1 oldweapon1; developer 1; echo Equipped SANDVITCH; wait 100; developer 0"
alias "newweapon2" "equip 6 2 9; alias equiptoggle2 oldweapon2; developer 1; echo Equipped K.G.B.; wait 100; developer 0"

oldweapon0
oldweapon1
newweapon2

in medic.cfg put

alias "oldweapon0" "equip 5 0 0; alias equiptoggle0 newweapon0; developer 1; echo Equipped SYRINGEGUN; wait 100; developer 0"
alias "oldweapon1" "equip 5 1 0; alias equiptoggle1 newweapon1; developer 1; echo Equipped MEDIGUN; wait 100; developer 0"
alias "oldweapon2" "equip 5 2 0; alias equiptoggle2 newweapon2; developer 1; echo Equipped BONESAW; wait 100; developer 0"

alias "newweapon0" "equip 5 0 1; alias equiptoggle0 oldweapon0; developer 1; echo Equipped BLUTSAUGHER; wait 100; developer 0"
alias "newweapon1" "equip 5 1 2; alias equiptoggle1 oldweapon1; developer 1; echo Equipped KRITZKREIG; wait 100; developer 0"
alias "newweapon2" "equip 5 2 3; alias equiptoggle2 oldweapon2; developer 1; echo Equipped UBERSAW; wait 100; developer 0"

newweapon0
oldweapon1
newweapon2

in pyro.cfg put:

alias "oldweapon0" "equip 7 0 0; alias equiptoggle0 newweapon0; developer 1; echo Equipped FLAMETHROWER; wait 100; developer 0"
alias "oldweapon1" "equip 7 1 0; alias equiptoggle1 newweapon1; developer 1; echo Equipped SHOTGUN; wait 100; developer 0"
alias "oldweapon2" "equip 7 2 0; alias equiptoggle2 newweapon2; developer 1; echo Equipped FIREAXE; wait 100; developer 0"

alias "newweapon0" "equip 7 0 5; alias equiptoggle0 oldweapon0; developer 1; echo Equipped BACKBURNER; wait 100; developer 0"
alias "newweapon1" "equip 7 1 4; alias equiptoggle1 oldweapon1; developer 1; echo Equipped FLAREGUN; wait 100; developer 0"
alias "newweapon2" "equip 7 2 6; alias equiptoggle2 oldweapon2; developer 1; echo Equipped AXTINGUISHER; wait 100; developer 0"

oldweapon0
oldweapon1
newweapon2


it's important to put new/oldweapon# for each weapon (0=main, 1=secondary, 3=melee, I don't know why, ask Valve). Not only does this ensure that you start the class in your preferred loadout, but it "primes" the binds so that you actually can use the buttons! put new/old depending on how you want your loadout to be.

in ever other class.cfg put:
exec default.cfg

and you're done!
#  Aug 20, 2008 at 11:13 AM
Join Date:
Mar 05, 2008
Post Count:
81
 
Tyrael 83401
Loading...
Specialty: Pyro
Steam ID: tyrael64
 
So what exactly does this do?
#  Aug 20, 2008 at 11:32 AM
Join Date:
Oct 31, 2007
Post Count:
869
 
Eminence 79640
Loading...
Specialty: Medic
Steam ID: {TF2F} Eminence
Clan: {TF2F} Community
 
I think it switches your weapons. Like the layout you have, (Pyro backburner for regular flamethrower, medic ubersaw for regular saw, etc.)
#  Aug 20, 2008 at 11:52 AM
Join Date:
Oct 16, 2007
Post Count:
1587
 
trainRiderJ 78536
Loading...
Specialty: Demoman
Steam ID: trainRiderJ
Clan: {TF2F}
 
Switches your loadout without having to go to the menu, good stuff.
#  Aug 20, 2008 at 4:20 PM
Join Date:
Nov 23, 2007
Post Count:
1001
 
Steam ID: Ginger
 
Nice script! I still have to test it, but it looks really good!
#  Aug 20, 2008 at 5:35 PM
Join Date:
Jul 10, 2008
Post Count:
178
 
Panzer Zero 86541
Loading...
Steam ID: Jäger Zero
 
I have it set up so that mouse4 switches between melee and primary, while 'e' switches between secondary and primary. For all intents and purposes, the medigun is a primary weapon. If anyone wants it, I can post the script.
#  Aug 20, 2008 at 8:33 PM
Join Date:
Nov 23, 2007
Post Count:
1001
 
Steam ID: Ginger
 
I was using the script today, and I must say, it's very nice. Works perfectly, is a lot faster than going to the menu to switch loadouts, and is simple. Many props.
#  Aug 20, 2008 at 8:34 PM
Join Date:
Jul 13, 2008
Post Count:
529
 
Specialty: Demoman
Steam ID: mario0318
Sponsor
 
It's a trap!
#  Aug 20, 2008 at 9:15 PM
Join Date:
Jul 25, 2008
Post Count:
161
 
Acorn22 86888
Loading...
Steam ID: acorn22
 
I was just wanting this.

ty

Copyright 2007-2008 All Rights Reserved

Team Fortress 2


2 Guys 1 Kill: {TF2F} FlyingPenguin - (102 kill assists)
Captures Blocked: Nimbli Bimbli - (26 captures blocked)
Dominator: {TF2F} Bitch Nasty - (25 dominations)
Flags Captured: Corporal Clegg - (11 flags captured)
Flags Defended: MechaEdd - (12 flags defended)
Physician Assisted Homicide: {TF2F}SME®BUI©K - (271 medic kill assists)
Points Captured: {TF2F}SME®BUI©K - (30 points captured)
Revenger: Count_Flakula - (10 revenges)
Spy Power: Chro - (19 objects killed as spy)
Ubercharger: {TF2F}SME®BUI©K - (89 ubercharges)
Axe Man: {TF2F} Ninja Dude - (18 kills with fireaxe)
Axtinguished: {TF2F} BOOSH Rizzilio - (81 kills with axtinguisher)
Batter Up!: soup! - (16 kills with bat)
Biggest Prick: Sam - ClutchKill.com - (8 kills with syringegun)
Blood Sucker: {TF2F}SME®BUI©K - (30 kills with blutsauger)
Broke Backburner: {TF2F} FlyingPenguin - (223 kills with backburner)
Can You Dig It?: {TF2F}.TüRb!NE. - (3 kills with shovel)
Doctor's Certificate: Maero - (16 kills with bonesaw)
Drunken Brawler: [???] Deviruchi - (4 kills with bottle)
Epic Defender: {TF2F} Spy - (9 kills with wrench)
Fire Spitter: {TF2F}blistering - (100 kills with flamethrower)
Flare Gunner: {TF2F} FlyingPenguin - (12 kills with flare gun)
Grenade Spammer: GeneralSheep - (47 kills with pipe)
Grey Matter: STar - (168 snipings as sniper)
Hadouken Master: Xandier - (1 kills with pyro taunt)
Hot Potato: {TF2F} BOOSH Rizzilio - (4 kills with rocket deflection)
I <3 Sasha: {TF2F} Bitch Nasty - (181 kills with minigun)
Knife Maniac: {TF2F} Dartagnan - (109 knifings)
Last Resort: [Ba-El] BoC - (26 kills with smg)
Manslayer: [FRGT] Klare - (10 kills with machete)
Master Fister: Maero - (3 kills with fists)
Peashooter Marksman: Corporal Clegg - (48 kills with scout pistol)
Pickle Squad Award: [NH]Pitt - (18 pickles man handled)
Rocket Scientist: [TF2F]Lancer - (217 kills with rocket)
Scatter Shot: Corporal Clegg - (147 kills with scattergun)
Sentrygun Master: Numenor - (142 kills with sentrygun)
Spam Blocker: {TF2F} BOOSH Rizzilio - (1 kills with pipe deflection)
Spy Checker: {TF2F} Fanlaen - (5 kills with pistol)
Sticky Explosion: {TF2F}Album - (105 kills with pipe remote)
Ubersawer: Psycholord - (27 kills with ubersaw)
Stats Refreshed 6/24/2008 5:00:03 AM CST
AddThis Social Bookmark Button
Fortcast Podcast
Donate
Welcome, you are not logged in.
Login or Register
Team Fortress 2 Fort Team Fortress 2 Fort