Kamasakis Posted April 12, 2014 Share Posted April 12, 2014 Hi, I was wondering, is it possible to script pyro airblast action? While using secondary or melee weapon, upon pressing a key script would switch to primary weapon (degreaser) shoot airblast and switch back to previous weapon (secondary or melee). Is this possible? I've been trying to find similar scripts, but with no luck. Link to comment Share on other sites More sharing options...
dabaers Posted April 12, 2014 Share Posted April 12, 2014 Just press q to go to degreaser and then right click, then press q Link to comment Share on other sites More sharing options...
evil666 Posted April 12, 2014 Share Posted April 12, 2014 alias "+airblast" "slot1; +attack2" alias "-airblast" "-attack2; lastwep; -attack" bind "MOUSE5" "+airblast" http://tf2wiki.net/wiki/Pyro_scripts but it's pretty useless IMO, a simple switch script is better Link to comment Share on other sites More sharing options...
Kamasakis Posted April 12, 2014 Author Share Posted April 12, 2014 I found pyro airblast script on internet. I made a little change to it. Original script was to switch to primary weapon from secondary or melee and keep spamming airblast until action key is released. I made a minor change now it switches back to previous weapon, when button released. alias +blast "spec_prev; use tf_weapon_flamethrower; +attack2"; alias -blast "-attack2; lastinv"; bind mouse2 +blast; If you release action button too soon, before actual airblast, it will switch back to previous weapon. You need to keep action button pressed until flame thrower can airblast. I think adding "wait" command could fix it. ill try this asap. Another problem, if you use primary weapon and press "mouse2" (i binded script to it) to ariblast it will switch to previous weapon on release. I want to be able to quickly airblast and switch back to secondary/melee, but if i use primary weapon i want to airblast without weapon switch. Probably binding script to another key is easiest fix to this problem Link to comment Share on other sites More sharing options...
CheddarZX Posted April 12, 2014 Share Posted April 12, 2014 alias "+airblast" "slot1; +attack2" alias "-airblast" "-attack2; lastwep; -attack" bind "MOUSE5" "+airblast" http://tf2wiki.net/wiki/Pyro_scripts but it's pretty useless IMO, a simple switch script is better why does that wiki still exist Link to comment Share on other sites More sharing options...
Kamasakis Posted April 12, 2014 Author Share Posted April 12, 2014 I made a progress with this script. Now it switches from secondary/melee to primary weapon and uses airblast and switches to previous weapon upon pressing the action key (mouse 2). alias +blast "spec_prev;use tf_weapon_flamethrower;+attack2;"; alias -blast "wait 40; -attack2; lastinv"; bind "mouse2" "+blast"; INFO: The faster you press the action key the higher "wait" command is needed. If you start spamming action key very very quickly, at some point it will skip the airblast. Now im trying to make this script "unusable" on primary weapon. No luck so far... Tried using: bind "mouse2" "slot1; -blast; +attack2" But it brakes the original script. Any ideas? Link to comment Share on other sites More sharing options...
NinjaNick Posted April 14, 2014 Share Posted April 14, 2014 why does that wiki still exist Valve stated they have no intention of ever buying it, so I'm wondering who is paying the hosting fees. Link to comment Share on other sites More sharing options...
CheddarZX Posted April 14, 2014 Share Posted April 14, 2014 paying the hosting fees. WHY http://wiki.teamfortress.com/wiki/Main_Page Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.