Melee/Ranged Action Bar Auto-switch mod

avatar
1 year, 5 months ago

Is there any mod that resembles this? The closest I've found is one that switches while holding down a key like shift or something, but it's still not really what I'm looking for.

I'm looking for a mod that will automatically switch action bars depending on my range from an enemy. This is because I find there to be way too many skills for a Hunter to be managable since I pretty much never use the mouse to activate skills/spells. So I want to have one action bar dedicated to melee combat, and a second action bar dedicated to ranged combat, since the two pretty much can never overlap each other except for a couple skills/spells.

I can't imagine this would be difficult to code, since it seems to be a set of simple if's and then's. To take it a step further, I think it would be awesome if it would auto aspect depending on range as well, so when you're in melee mode it would auto-aspect to monkey or something, and then when you swtiched to ranged it would auto-aspect to hawk. Something like that. That part isn't necessary though, I'm really just looking for an action bar auto-switch.

Any ideas?

avatar
1 year, 5 months ago

Impossible. 2.0 introduced changes aimed to disallow such functionality.

avatar
1 year, 5 months ago

There has to be something because Blizzard built in an autoswitch for attacking. When you are within melee combat range you start auto-attacking with your melee weapon, couldn't the same range tracker for that be used for switching actionbars? Or is that range tracking only available to blizzard and not "modable"? I don't know, I don't write mods. I also was thinking this would be nice, but I don't play my hunter very often so I haven't looked for anything yet.

Would it be possible to have something that detects which attack you are using, instead of monitoring range? Once your character starts using your melee weapon it would switch the action bar? Or did they disable the ability to have bars automatically change according to environmental variables altogether?

Discord Action Bars used to have the option to have action bars change when certain actions became available, maybe if that function still works it could be employed?

avatar
1 year, 5 months ago

Switching what ability you are attacking with is not the same thing as switching a UI element. What Row said is right. API changes have disallowed the creation or large modification of a frame in combat. Think back a month ago when you couldn't even pop up the raid, friend or guild list during combat.

The only thing you can hope for is a bar where transparency settings are abused. The frame is "there" but invisible until the range switches and then the transparency is changed from 0% to 100 and the bar pops. There's another issue at stake though and that is the hard coding of range. Blizz, over a year ago, removed the absolute detection of range. The best you can do now is range estimation via a category. No addon can say the mob is 32 yards out. Addons can say the mob is in a range. Out of range (+40), long range (32-40), normal range (10-32), dead zone (5-10), and melee (1-5).

avatar
1 year, 4 months ago

Vampyrate, AFAIR button alpha changes are simillary prohibited in combat just for this reason and this exact scenario was mentioned by Slouken when he was asked why it is impossible to change alpha in combat.

@dr2ww62: Checking range is easy - after all you've only interested if you can use ability or not, so IsXXXInRange function family works like charm, but it is action bar modification part that is impossible after 2.0 changes.

avatar
1 year, 4 months ago

I at least like when melee kicks in when out of range rather than getting the display, 'target out of range, please melee', lol.

Quick Reply

You need to login or register to post comments.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.