Fortress Forever

Fortress Forever (https://forums.fortress-forever.com/index.php)
-   Tips and Tutorials (https://forums.fortress-forever.com/forumdisplay.php?f=37)
-   -   Pyro script (https://forums.fortress-forever.com/showthread.php?t=16851)

Rehab 08-10-2008 11:16 PM

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?

Circuitous 08-10-2008 11:31 PM

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.

Rehab 08-11-2008 12:41 PM

Thanks Circuitous, I'm currently at the office, but will test this out and post the results when I get home.

Rehab 08-11-2008 09:41 PM

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?

Hammock 08-11-2008 10:06 PM

<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?

im2cool4uroflolz 08-11-2008 11:02 PM

yes.

Rehab 08-12-2008 12:35 PM

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.