Jump to content

Marco example required


wjrasmussen

Recommended Posts

2 hours ago, Parabola said:

/macro Marco powexec_location target powername? Or is that not what you're asking?

Thanks, that was it.  Tested and approved.  I should have remembered it.

I went to Ouroboros all i got was this lousy secret!

 

COH bomp bomp: 

 

 

Link to comment
Share on other sites

15 hours ago, wjrasmussen said:

Thanks, that was it.  Tested and approved.  I should have remembered it.

I have a file with popmenus for the location AoE powers my various characters have, most of which have three options (selectable with 1/2/3); '1' is the normal power activation, where you use the mouse to place it, '2' is "powexeclocation down:max", which puts it at your feet if you're on the ground and straight down if you're flying, and '3' is "powexeclocation target", dropping it at the feet of your current target. I macro the popmenu and put it in my trays in place of the power icon, which I stuff in an unused tray so I can see the recharge. Some powers have more options -- Wormhole has six: standard, down:max, up:max, fwd:max, back:max, and cam:max; the last three are useful for repositioning spawns when I'm trying to stealth a mission. That mobs don't take damage from being repositioned into midair and falling is sad, but it's at least consistent; not drawing aggro when using it is convenient.

 

A sample popmenu definition from my 'Location Powers.mnu' file in the 'Homecoming\data\texts\English\menus' folder:

//------------------------------------------
// Rain of Fire

Menu "FireRain"
{
Title Rain of Fire
Option "Rain of Fire &1" "powexecname Rain of Fire"
Option "Here &2" "powexeclocation down:max Rain of Fire"
Option "Target &3" "powexeclocation target Rain of Fire"
}

And I would use "/macro Rain popmenu FireRain" to create a macro button, and when I activated it, I'd get the 1/2/3 choice for where to put the rain.

 

And a somewhat different one for more options with Wormhole:

//------------------------------------------
// Wormhole
// Wormhole will attempt to teleport the current target and the mobs
// around it to the location specified by the targeting cursor; this
// popmenu adds some predefined options
// 1 -- standard power activation
// 2 -- teleport to in front of character
// 3 -- teleport straight up over character to max altitude
// 4 -- teleport in the direction the character is facing to
//      the maximum range of the power
// 5 -- teleport behind the character to the maximum range of the
//      power. Because Wormhole does not appear to generate aggro,
//      this can be used to pull all or part of a spawn far enough
//      back to be defeated more readily, after which the remaining
//      mobs can be attacked.

Menu "Wormhole"
{
Title Wormhole
Option "Wormhole &1" "powexecname Wormhole"
Option "Here &2" "powexeclocation 0:10 Wormhole"
Option "Zoom &3" "powexeclocation up:max Wormhole"
Option "Boom &4" "powexeclocation cam:max Wormhole"
Option "Pull &5" "powexeclocation back:max Wormhole"
}

 

Edited by srmalloy
  • Like 1
Link to comment
Share on other sites

6 hours ago, Snarky said:

All my ice Blast toons use a Macro for targeting 'Target" and "Myself" for the rains.  Makes for an extra tray, but worth it.

I usually have 5 trays open but one more isn't a big deal.

I posted when I was into about my 50th hour without sleep.  Insomnia sucks.

  • Like 1

I went to Ouroboros all i got was this lousy secret!

 

COH bomp bomp: 

 

 

Link to comment
Share on other sites

21 hours ago, srmalloy said:

I have a file with popmenus for the location AoE powers my various characters have, most of which have three options (selectable with 1/2/3); '1' is the normal power activation, where you use the mouse to place it, '2' is "powexeclocation down:max", which puts it at your feet if you're on the ground and straight down if you're flying, and '3' is "powexeclocation target", dropping it at the feet of your current target. I macro the popmenu and put it in my trays in place of the power icon, which I stuff in an unused tray so I can see the recharge. Some powers have more options -- Wormhole has six: standard, down:max, up:max, fwd:max, back:max, and cam:max; the last three are useful for repositioning spawns when I'm trying to stealth a mission. That mobs don't take damage from being repositioned into midair and falling is sad, but it's at least consistent; not drawing aggro when using it is convenient.

 

A sample popmenu definition from my 'Location Powers.mnu' file in the 'Homecoming\data\texts\English\menus' folder:

//------------------------------------------
// Rain of Fire

Menu "FireRain"
{
Title Rain of Fire
Option "Rain of Fire &1" "powexecname Rain of Fire"
Option "Here &2" "powexeclocation down:max Rain of Fire"
Option "Target &3" "powexeclocation target Rain of Fire"
}

And I would use "/macro Rain popmenu FireRain" to create a macro button, and when I activated it, I'd get the 1/2/3 choice for where to put the rain.

 

And a somewhat different one for more options with Wormhole:

//------------------------------------------
// Wormhole
// Wormhole will attempt to teleport the current target and the mobs
// around it to the location specified by the targeting cursor; this
// popmenu adds some predefined options
// 1 -- standard power activation
// 2 -- teleport to in front of character
// 3 -- teleport straight up over character to max altitude
// 4 -- teleport in the direction the character is facing to
//      the maximum range of the power
// 5 -- teleport behind the character to the maximum range of the
//      power. Because Wormhole does not appear to generate aggro,
//      this can be used to pull all or part of a spawn far enough
//      back to be defeated more readily, after which the remaining
//      mobs can be attacked.

Menu "Wormhole"
{
Title Wormhole
Option "Wormhole &1" "powexecname Wormhole"
Option "Here &2" "powexeclocation 0:10 Wormhole"
Option "Zoom &3" "powexeclocation up:max Wormhole"
Option "Boom &4" "powexeclocation cam:max Wormhole"
Option "Pull &5" "powexeclocation back:max Wormhole"
}

 

Oh. Eh. How does this Popmenu stuff work with keybinds?

How I would expect:

Keybind a button to bring up the specific Popmenu and then press 1,2,3,4 etc.

So you could have a tray of Popmenus, and each of those contains any number of powers. So it's like multi-keying powers. Quite cool.

 

Is that true?

 

I'm scared.

..It only takes one Beanbag fan saying that they JRANGER it for the devs to revert it.

Link to comment
Share on other sites

1 hour ago, Herotu said:

Oh. Eh. How does this Popmenu stuff work with keybinds?

It works the same way any other command does; you create a keybind or macro that calls the popmenu, and when you hit the key or macro icon, the popmenu appears under your mouse cursor for you to pick an option. The Long Range Teleport power is a popmenu macro with its own icon, for example. With the popmenus I created, I wanted them to be usable from the keyboard; the "&1", "&2", and "&3" in the Rain of Fire popmenu are the hotkey definitions — when the popmenu is displayed, hitting one of those keys selects the associated entry.

Link to comment
Share on other sites

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