Pyro scripts

From TF2 Wiki

Jump to: navigation, search
Community script navigation
General scripts
Weapon scripts
General class scripts
Collection scripts
Class scripts
Scout scripts
Soldier scripts
Pyro scripts
Engineer scripts
Heavy scripts
Demoman scripts
Medic scripts
Sniper scripts
Spy scripts



Contents

Axtinguisher Quickswap

This is a simple little bind for the pyro that allows the player to press F at any time to set the quickswap to the Axtinguisher and revert to the flamethrower. This script can be further modified to toggle which weapon it changes back to.
Posted by SixSicSix
//This is for the axstinguisher. press it to get the axe on quickswap
bind f "slot1; wait 5; slot3; wait 5; slot1"

Auto-Flamer Weapon Switch/Flambe`

This is a modification of the Auto Spin Script for the heavy to allow you the use of the Mouse2 button to switch to your Flame thrower and keep a constant torch. With another click, the script stops. Switching weapons will cause continual firing. Same disclaimer applies, you will not be able to switch camera views, and you will need to "reset" or "re-bind" your mouse2 key for other classes, not a problem if you have separate config files though.
Posted by Shifty54
alias +toggleburn "+flame"
alias -toggleburn "-flame"
alias toggle "stop"
alias start "alias toggle stop; alias -toggleburn -flame"
alias stop "alias toggle start; alias -toggleburn -stop1"
alias +flame "use tf_weapon_flamethrower"
alias -flame "+attack;toggle"
alias -stop1 "-attack;toggle"
bind "MOUSE2" "+toggleburn"


Quickchop

This script whips out the axe for a quick chop then switches to previous weapon.
Best used when behind an unsuspecting enemy to whack off a chunk of health then finish off with flamethrower. Often they don't notice the initial chop. The downside is, if they start running away from you and they are a fast class like sniper or demo, you probably won't get a chance to flame them... unless you keep running forward after the chop. Then again, sometimes the chop is all you need.
Note -- you need to wait until the axe chop animation is done before attacking again, or it won't work. The timing isn't that hard though, still, for more automation check out my next script...
Posted by Eddycurrents 10:21, 30 December 2007 (CST)
//Quickchop -- by Eddy Currents (eddy_currents@yahoo.com)
//Tap key for quick chop with axe, then switches to previous weapon
//Start quickchop a few steps from target
//Wait until animation for axe is done before next attack
//Note: the "wait 12" is delay for weapon switch animation,
//and the "wait 120" is delay for axe attack animation:
//Try shortening if you want, but too short and nothing works
alias +quickchop "use tf_weapon_fireaxe; wait 12; +attack"
alias -quickchop "wait 120; -attack; lastinv"
bind "w" "+quickchop"


Pyrostab

A natural evolution of the Quickchop. This script whips out the axe for a quick chop then switches to previous weapon, then starts auto-attacking with it. A second tap of the bound key toggles the attack off.
Use when behind an enemy to whack off a chunk of health then finish off with flamethrower. Often they don't notice the initial chop. The downside is, if they start running away from you and they are a fast class like sniper or demo, you probably won't get a chance to flame them... unless you keep running forward after the chop. Then again, sometimes the chop is all you need.
Posted by Eddycurrents 10:21, 30 December 2007 (CST)
//Pyrostab -- by Eddy Currents (eddy_currents@yahoo.com)
//Tap key for quick chop with axe, switch to previous weapon (preferably flamer), then roast 'em
//Tap key again to stop attack
//Start pyrostab a few steps from target
//Note: the "wait 12" is delay for weapon switch animation,
//and the "wait 120" is delay for axe attack animation:
//Try shortening if you want, but too short and nothing works
alias +pyrostabtoggleon "+quickchop"
alias -pyrostabtoggleon "-quickchop; alias +pyrostabtoggle +pyrostabtoggleoff; alias -pyrostabtoggle -pyrostabtoggleoff"
alias +pyrostabtoggleoff "-attack"
alias -pyrostabtoggleoff "alias +pyrostabtoggle +pyrostabtoggleon; alias -pyrostabtoggle -pyrostabtoggleon"
alias +pyrostabtoggle "+pyrostabtoggleon"
alias -pyrostabtoggle "-pyrostabtoggleon"
alias +quickchop "use tf_weapon_fireaxe; wait 12; +attack"
alias -quickchop "wait 120; -attack; lastinv; wait 12; +attack"
bind "w" "+pyrostabtoggle"


Pyro Panic Button

From http://www.fpsbanana.com/scripting/2978. "This script is very funny and works great in combat. While you press and hold the panic button, you will spin around

extremely fast and attack with your flamethrower. This will quickly and easily ignite all enemies around you. It's perfect if you get completely surrounded by several enemies from multiple directions. This will increase your chances of getting those valuble kill points from enemies burning to death after you are killed, and it's pretty entertaining too. I highly recommend it for anyone who loves using the pyro.

Installation: View this tutorial http://www.fpsbanana.com/tuts/4646

Note: For those of you who know about scripting, feel free to edit the code and customize it for your panic button key preference (Or PM me and I'll do it for you). The script works for other classes too, so don't be afraid to try it with the Heavy's machine gun ;)

Thanks for choosing my script, feedback is appreciated. If you liked this script, check out my other ones too. Enjoy!"

Posted by NiteCyper
//Pyro Panic Button v1.0
//Code:

alias "battlecry" "voicemenu 2 1";
alias "+panic" "battlecry; cl_yawspeed 3000; +left; +attack";
alias "-panic" "-attack; -left; cl_yawspeed 210";
bind "mouse4" "+panic";

//End of code

Total Weapon Interface Redesign

This is a total redesign of the weapons interface.
Features:
1: Mouse2 pulls flamethrower and then re-binds to fire it
2: Mouse1 pulls shotty if on flamethrower and re-binds to fire it
3: 'Q' Swaps the current Mouse1 weapon between shotty and axe
  • Note: Mouse1 will still swap to shotty from flamethrower, however 'Q' swaps to axe from flamethrower.
This script could use some more management modifications as it's still not as clean as I would like it to be and I think some of it could be scripted a little cleaner/better. However the interface itself works and I am of the impression that this is the single most efficient way to play the pyro class. It saves both time and effort when playing and is a very natural weapons interface.
  • Note: I also am making use of an outside .cfg to clear key input it is defined below
// clear.cfg
// for remapping binds and cleaning things up
// you can exec autoexec as well but I like to keep things simple
bind "MOUSE5" ""
bind "MOUSE3" ""
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "q" "lastinv"
// Pyro.cfg remap -> Provided by Mordentral / M72 The LAW-BOOM BOOM

// Remap defaults
exec clear.cfg

// This is the alias to swap to slot 1 and remap the attack key
alias +swap1 "slot1; +attack; alias +m1bind +swap2; alias -m1bind -swap2; alias +m2bind +attack; alias -m2bind -attack"
alias -swap1 "-attack"

// This swaps and remaps mouse2 for the flamethrower
alias "+m2bind" "+swap1"
alias "-m2bind" "-swap1"
bind "MOUSE2" "+m2bind"

// This is the alias to swap to slot2 and remap the attack key
// Note, this also used to contain an auto reload script, thus the attkreload name
alias +swap2 "slot2; +attack; alias +sht1 +swap3; alias -sht1 -swap3; alias +m1bind +normaatkkreload; alias -m1bind -normaatkkreload; alias +m2bind +swap1; alias -m2bind -swap1"
alias -swap2 "-attack"
alias +normaatkkreload "+attack"
alias -normaatkkreload "-attack"

// This handles swapping the weapons for mouse1
alias "+m1bind" "+swap2"
alias "-m1bind" "-swap2"
bind "MOUSE1" "+m1bind"

// This handles the melee rebinding
alias +swap3 "slot3; +attack; alias +m1bind +attack; alias -m1bind -attack; alias +sht1 +swap2; alias -sht1 -swap2; alias +m2bind +swap1; alias -m2bind -swap1"
alias -swap3 "-attack"

// For 'Q's use
alias "+sht1" "+swap3"
alias "-sht1" "-swap3"

bind "q" "+sht1;"
Posted by mordentral

Personal tools