Pyro script
Could someone please work on the following script/bind for the pyro class?
I would like to be able to fire the flamethrower with the left mouse key, and the cannon with the right. Is this possible? |
alias +ftburn "slot4; bind mouse1 +attack; bind mouse2 +icburn; +attack"
alias -ftburn "-attack; bind mouse1 +ftburn" alias +icburn "slot5; bind mouse2 +attack; bind mouse1 +ftburn; +attack" alias -icburn "-attack; bind mouse2 +icburn" bind mouse1 "+ftburn" bind mouse2 "+icburn" Haven't tried it. Should work okay, let me know. |
Thanks Circuitous, I'm currently at the office, but will test this out and post the results when I get home.
|
It seems that the script loops the command. After I hit mouse1 or mouse2 it won't stop shooting. Could you maybe just give me a script that would quick switch between the two weapons as mouse2?
|
<command to set default weapon when spawning>
alias +ftburn "slot4; +attack" alias -ftburn "-attack; slot5" bind MOUSE1 +attack bind MOUSE2 +ftburn There's a command that sets your default weapon for when you spawn. I can't remember that off hand. But if you put that command in and set it to make you spawn with the IC up. This script in theory should shoot your flamethrower as long as you have mouse2 pressed, and switch back to your IC when you let go. Haven't tried it though and I haven't looked at scripts in a long time so I could be way off. *Edit* And I could be wrong but wasn't the pyro one of the classes that had +attack2 switch between his weapons or something? |
yes.
|
Yea I noticed last night that the quick switch was already implemented into the game. I reckon I'll stick with the default .cfg for pyro. Thanks anyways guys.
|
All times are GMT. The time now is 02:50 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.