wardz / ClassicCastbars

[WoW] Customizable target castbars for Classic and Retail.
63 stars 5 forks source link

Separate addon for target cast bar #1

Closed VidgetGaming closed 5 years ago

VidgetGaming commented 5 years ago

Would it be possible to get a separate addon with a cast bar for your target that you can move around and resize?

wardz commented 5 years ago

Latest version has slash command options for setting position and disabling nameplate castbars if you dont want those. (see configuration in readme.md file)

There's currently no options for setting castbar size but it's on my to-do list. (Prob gonna be in next version) I'm also gonna add a graphical interface for the options later, including draggable castbar to move, but that might take some time

VidgetGaming commented 5 years ago

I mean if you're fighting something really tall like a boss it would be nice to be able to move the castbar from the nameplate to somewhere else on the screen.

wardz commented 5 years ago

to be able to move the castbar from the nameplate to somewhere else on the screen.

Sorry, that's out of the scope for this addon. You should enable nameplate clamping or use something like DeadlyBossMods for this.

If Classic has boss frames like on retail I can add castbars to those though.

VidgetGaming commented 5 years ago

to be able to move the castbar from the nameplate to somewhere else on the screen.

Sorry, that's out of the scope for this addon. You should enable nameplate clamping or use something like DeadlyBossMods for this.

If Classic has boss frames like on retail I can add castbars to those though.

I actually figured it out. I changed line 19 in AnchorManager.lua to "UIParent" which enabled me to move the target castbar around wherever I wanted on the screen.

wardz commented 5 years ago

That will still only show the castbar when you have a target no? If all you want do to is to move the frames you can do that through the options panel. Make sure you're using the latest version of the addon.

Imgur

VidgetGaming commented 5 years ago

Yeah maybe I was using an old version. It didn't work with my unit frames so I never saw the cast bars.

wardz commented 5 years ago

I see, sounds like a bug. Which unitframe addons were you using, if any?

VidgetGaming commented 5 years ago

LunaUnitFrames

wardz commented 5 years ago

LunaUnitFrames support should now be included in v1.0.0-next.3. Feel free to open a new issue if there's any bugs with it.

VidgetGaming commented 5 years ago

Awesome, I'll try it out!

VidgetGaming commented 5 years ago

Worked great. I could move the castbar around and place it wherever I wanted to on the screen. Top notch!