need bindfile to alternate between rocket board and toggles


all_hell

 

Posted

I love using the rocket board as a travel power but hate that it turns my toggles off. Is there a way to create a bind file that, when I pressed a certain key (let's just say the "f" key) it alternates between turning rocket board on and turning rocket board off and turning sprint and combat jumping on?

Thanks!!


My Mission Architect arcs:

Attack of the Toymenator - Arc # 207874

Attack of the Monsters of Legend - Arc # 82060

Visit Cerulean Shadow's Myspace page!

 

Posted

Not sure if you can chain two toggles, but:

rocketboard.txt

Code:
F "powexec_name Rocket Board$$bindloadfilesilent "COH_DIRECTORY\binds\toggles_on.txt"
(I'm actually not sure what the exact power name for the rocket board is so adjust this accordingly.)

toggles_on.txt
Code:
F "powexec_toggleon Sprint$$powexec_toggleon Combat Jumping$$bindloadfilesilent "COH_DIRECTORY\binds\rocketboard.txt"
Where "COH_DIRECTORY" is the directory you have City of Heroes in, and "binds" is a subfolder in that directory containing the two bind files (the subfolder is not strictly necessary, you could just put the files in the main CoH folder and adjust the path accordingly).

Following from the above, type this slash command in-game:
Code:
/bindloadfilesilent "COH_DIRECTORY\binds\rocketboard.txt"
Pressing F after this will activate the Rocket Board, then rebind F so that the next time you press it, it turns your toggles on.

BUT

I'm actually pretty sure it won't let you chain the two powexec_toggleon commands, so you may need to choose between Sprint and Combat Jumping.

EDIT: According to ParagonWiki it should work, although any more than 2 toggles probably wouldn't.


"You don't lose levels. You don't have equipment to wear out, repair, or lose, or that anyone can steal from you. About the only thing lighter than debt they could do is have an NPC walk by, point and laugh before you can go to the hospital or base." -Memphis_Bill
We will honor the past, and fight to the last, it will be a good way to die...

 

Posted

Thanks for the advice! I wasn't sure about the two toggles myself, but was hoping. It would make my life a lot easier if they'd just not turn off toggles when you use the rocket board!


My Mission Architect arcs:

Attack of the Toymenator - Arc # 207874

Attack of the Monsters of Legend - Arc # 82060

Visit Cerulean Shadow's Myspace page!

 

Posted

You can chain a near-unlimited number of toggleon commands. For example, I use the following...

/bind v "powexec_name Sprint$$powexec_toggleon Tactics$$powexec_toggleon Maneuvers$$powexec_toggleon Combat Jumping$$powexec_toggleon Evasion$$powexec_toggleon Focused Senses$$powexec_toggleon Focused Fighting"

Repeatedly tapping v toggles on all my toggles, starting with Focused Fighting and working backwards to Tactics. Then continuing to press v toggles Sprint on and off, since I used powexec_name instead of powexec_toggleon there.


By the way, if you don't mind using two buttons, I suggest...

/bind f "powexec_name Rocket Board"
/bind v "powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"

Pressing F toggles Rocket Board on and off. Pressing V turns it off and activates Combat Jumping, and if you keep pressing it Sprint toggles on and off. Not tested since I don't have a board, but I think it should work.


"The Hamidon is a what what of what?" - Brian the mission guy.

 

Posted

Quote:
Originally Posted by Leese View Post
You can chain a near-unlimited number of toggleon commands. For example, I use the following...

/bind v "powexec_name Sprint$$powexec_toggleon Tactics$$powexec_toggleon Maneuvers$$powexec_toggleon Combat Jumping$$powexec_toggleon Evasion$$powexec_toggleon Focused Senses$$powexec_toggleon Focused Fighting"

Repeatedly tapping v toggles on all my toggles, starting with Focused Fighting and working backwards to Tactics. Then continuing to press v toggles Sprint on and off, since I used powexec_name instead of powexec_toggleon there.


By the way, if you don't mind using two buttons, I suggest...

/bind f "powexec_name Rocket Board"
/bind v "powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"

Pressing F toggles Rocket Board on and off. Pressing V turns it off and activates Combat Jumping, and if you keep pressing it Sprint toggles on and off. Not tested since I don't have a board, but I think it should work.
To double the efficiency of that bind, add +$$

/bind v "powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"
becomes
/bind v "+$$powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"

Then you activate a command at the depress of the key and at the release of the key.

I use the old fashioned +down$$-down$$ but I don't think that's necessary any more. I think the +$$ still works


 

Posted

Quote:
Originally Posted by all_hell View Post
To double the efficiency of that bind, add +$$

/bind v "powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"
becomes
/bind v "+$$powexec_toggleoff Rocket Board$$powexec_name Sprint$$powexec_toggleon Combat Jumping"

Then you activate a command at the depress of the key and at the release of the key.

I use the old fashioned +down$$-down$$ but I don't think that's necessary any more. I think the +$$ still works
Of course, by having the command execute on both the press and release of the key, you lose the functionality of toggling Sprint on and off, as it will toggle it on when you press, and off when you release


@Mistress Rue
Yes, I RP and play Redside on Virtue - No, Rumors of its demise have been greatly exaggerated

Do you suck at COH/COV? not yet...

 

Posted

Quote:
Originally Posted by Mistress Rue View Post
Of course, by having the command execute on both the press and release of the key, you lose the functionality of toggling Sprint on and off, as it will toggle it on when you press, and off when you release
change it to toggleon as well


 

Posted

Quote:
Originally Posted by all_hell View Post
change it to toggleon as well
If the OP wants it to just turn on those powers, the +$$ and toggleon is the way to go. if the Op wants to be able to use it to toggle Sprint, the original one is better.

Depends on how the OP expects to use it


Orc&Pie No.53230 There is an orc, and somehow, he got a pie. And you are hungry.
www.repeat-offenders.net

Negaduck: I see you found the crumb. I knew you'd never notice the huge flag.