Jump to content

Macro toggles for powers


Recommended Posts

I'd like to make a macro for specific powers to toggle between them.

 

IE : A Macro for a single key that toggles between Fly and Hover. If I am flying and I press the button once, it turns off flying and turns on Hover. I press it a second time and it turns hover off and flying back on.

 

Or the same thing for Super Jump/Combat Jumping.

 

I asked in Discord and was given info but I probably messed it up because it's not working for me now.

Link to post
Share on other sites

These are mine ( personally, I prefer to use a keybind with little-used keys. I added those under. :) )

 

/macro FH "powexec_name Fly$$powexec_name Hover"

 

/macro SJC "powexec_name Super Jump$$powexec_name Combat Jumping"

 

 

/bind F "powexec_name Fly$$powexec_name Hover"

 

/bind Z "powexec_name Super Jump$$powexec_name Combat Jumping"

 

 

y0Y5yFQ.png Forever grateful to be back in my city!
Link to post
Share on other sites

If you look at my Force Fielder's Bible, you'll see I have a macro to do something similar:

 

I will provide you however with a tool that I consider to be very valuable, a bind! Using this bind is simply one of the FASTEST ways to buff up your team with both shields. Create a directory to place the bind files in, I place mine in a directory called c:\CoH. Then create the two text files shown below:

 

File name: shield1.txt

g "powexec_name deflection shield$$bind_load_file c:\coh\shield2.txt"

File name: shield2.txt

g "powexec_name insulation shield$$bind_load_file c:\coh\shield1.txt"

Now go into the game and type the following line to initialize the bind: /bind_load_file c:\coh\shield1.txt

 

I imagine something similar would work for you. If you want to JUST toggle between hover and fly, I'd do it like this (I always bind my travel power to "e":

 

File name: hover.txt

e "powexec_name hover$$bind_load_file c:\coh\fly.txt"

File name: fly.txt

e "powexec_name fly$$bind_load_file c:\coh\hover.txt"

Then go into the game and type the following line to initialize the bind: /bind_load_file c:\coh\hover.txt

 

If you add a third file, you can also do a Hover/Fly/Cancel situation, using Powexec_abort for the third file.

 

If *I* was doing what you were doing, I'd probably want to do it this way.... Hover, Fly, Hover, Cancel... so, it'd be four files:

File name: HoverToFly.txt

e "powexec_name hover$$bind_load_file c:\coh\FlyToHover.txt"

File name: FlyToHover.txt

e "powexec_name fly$$bind_load_file c:\coh\HoverToCancel.txt"

File Name: HoverToCancel.txt

e "powexec_name hover$$bind_load_file c:\coh\CancelToHover.txt"

File Name: CancelToHover.txt

e "powexec_abort$$bind_load_file c:\coh\HoverToFly.txt"

Then go into the game and type the following line to initialize the bind: /bind_load_file c:\coh\HoverToFly.txt

 

That's how *I* would do it if I ever used anything other than Teleport... wCyyU1Z.gif

Link to post
Share on other sites

These are mine ( personally, I prefer to use a keybind with little-used keys. I added those under. :) )

 

/macro FH "powexec_name Fly$$powexec_name Hover"

/macro SJC "powexec_name Super Jump$$powexec_name Combat Jumping"

 

I tried these and they work PERFECTLY, thank you!

 

Lots of stuff

 

This probably works but holy crap is it convoluted, Healix's way is so much easier

Link to post
Share on other sites
  • 2 weeks later

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...