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

Quick Axtinguishing

Here´s what it does:

Q = changes between the flamethrower and the shotgun/flaregun
mousewheelup/down = same as q
mouse2 = switch to the Axe and start fireing until release then change back to the last weapon
mouse4 = +attack2 (airblast)
mouse5 = +attack2 (airblast) ________________________________________________________________________________________________

To change any of the keybinds write your own keys in the "//Keybinds" area. ________________________________________________________________________________________________

If you wish to make changes to my scripts or use any of them in another code or something please let me know (and credit me of course :P). Posted by Searz

Put this in pyro.cfg

//Quick axtinguishing by Searz
alias +axe "slot3; +attack"
alias -axe "-attack; LW"

alias w1 "slot1; alias QW w2; alias LW w1"
alias w2 "slot2; alias QW w1; alias LW w2"
w1

//Keybinds
bind mouse2 "+axe"
bind mouse4 "+attack2"
bind mouse5 "+attack2"
bind mwheelup "QW"
bind mwheeldown "QW"
bind 1 "w1"
bind 2 "w2"
bind q "QW"

To change the other classes´ binds back to normal, add this to their respective cfgs

//Re-bind
bind mouse2 "+attack2"
unbind mouse4
unbind mouse5
bind mwheeldown "invnext"
bind mwheelup "invprev"
bind 1 "slot1"
bind 2 "slot2"
bind q "lastinv"

Auto-Flamer Weapon Switch/Flambe`

This is a modification of the Auto Spin Script for the heavy to allow you the use of the Mouse3 button to switch to your Flame thrower and keep a constant torch. With another click, the script stops. Switching weapons will cause continual firing.
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 "MOUSE3" "+toggleburn"


Quickax By CupOfTea - - - (µÞ{}fT¡34¡™

  • This script attacks for a very short period with the flame thrower, and then switches to melee and starts attacking. When you stop holding the button you will go back to primary. Very usefull when you have the axtinguisher equiped. You will set an enemy on fire and then ax him.
  • P.S. This script is designed for fast weapon switch ON!
  • Posted by CupOfTea
//Quickax By CupOfTea
alias "+quickax" "+attack; wait 5; -attack; wait; slot3; wait; +attack; developer 1; echo Quickaxing..."
alias "-quickax" "-attack; wait; slot1; wait; +attack; wait; -attack; developer 0"
bind "mouse3" "+quickax"
  • Use this if you have fast weapon switch OFF.
  • You can do this in any script designed for fast weapon switch ON. just add hud_fastswitch 1 at the beginning off the alias, and hud_fastswitch 0 add the end of it.
alias "+quickax" "hud_fastswitch 1;+attack; wait 5; -attack; wait; slot3; wait; +attack; developer 1; echo Quickaxing..."
alias "-quickax" "-attack; wait; slot1; wait; +attack; wait; -attack; developer 0; hud_fastswitch 0"
bind "mouse3" "+quickax"

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; +right; +attack";
alias "-panic" "-attack; -right; cl_yawspeed 210";
bind "mouse4" "+panic";

//End of code

Pyro Panic Reduex

Used the above and the competitive TF2 configs to whip up togglers and connection to HLSS. Thanks to the above for posting this so my friend could see it to give me inspiration! I can (and did) edit this to work with the competitive tf2 scripts (http://code.google.com/p/tf2compconfiguration/) so if you want that let me know. I included some sound files in the .rar for your spy checking experience. Copy the code below into your autoexec.cfg file. Questions? Ask!

// -----------
//Pyro Panic
//  -- Pyro's last moments (and finest)
// ===========

//---------------------
//pt1 SOUND
// -- This works with hlss to play music while panicing
// if you dont know what this is, tough
//=====================
alias +panic_sound ""
alias -panic_sound ""

//toggle
alias toggle_panic_sound_on "panic_sound_on; alias panic_sound_activator panic_sound_activator_on; alias toggle_panic_sound toggle_panic_sound_off; echo Panic Sound ON"
alias toggle_panic_sound_off "hlss-STOP; panic_sound_off; alias panic_sound_activator panic_sound_activator_off; alias toggle_panic_sound toggle_panic_sound_on; echo Panic Sound OFF"

// storage of selection for toggle
alias panic_sound_activator_on panic_sound_on
alias panic_sound_activator_off panic_sound_off

alias panic_sound
alias panic_sound_on "alias +panic_sound hlss-START; alias -panic_sound hlss-STOP";
alias panic_sound_off "alias +panicsound ""; alias -panic_sound """;
//----------
//pt2 PANIC
// -- SPY ROUND HERE
//==========
alias "battlecry" "voicemenu 2 1";
alias "+panic" "+panic_sound; battlecry; cl_yawspeed 3000;  +right; +class_attack";
alias "-panic" "-panic_sound; -class_attack; -right; cl_yawspeed 210";

//toggle
alias toggle_panic_on "panic_on; alias panic_activator panic_activator_on; alias toggle_panic toggle_panic_off; echo Panic ON"
alias toggle_panic_off "panic_off; alias panic_activator panic_activator_off; alias toggle_panic toggle_panic_on; echo Panic OFF"

// storage of selection for toggle
alias panic_activator_on panic_on
alias panic_activator_off panic_off

alias panic
alias panic_on "alias +panic_key "+panic"; alias -panic_key "-panic""
alias panic_off "alias +panic_key ""; alias -panic_key """

//----------
//pt3 BINDS
// --change the keys here :D
//==========

bind [ "toggle_panic"
bind ] "toggle_panic_sound"
bind f "+panic_key"

//pt4 DEFAULTS
toggle_panic_off
toggle_panic_sound_off

RAR with .cfg and .wav's for HLSS (http://filebeam.com/fabf952d447c2f68c51d51119d98d865) Vote Tron Paul 2012

Posted by Tron Paul

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



eXTReMe Tracker