RangeDisplay
Estimated range display. Type /rangedisplay for configuration or /rangedisplay locked to lock/unlock the frames.
RangeDisplay is a simple range display addon. It is using spell range, item range and interact-distance based checks to determine the approximate range to your current target. Due to the whackyness of interact-distance based checks, recent versions only use those when spell/item based checks are not possible . The display can be configured in many ways (displaying only the max range, adding border and background, etc).
Currently you can set up RangeDisplay to show your current range to your target, focus, pet and mouseover units. The mouseover unit range can be anchored to the mouse or placed at a fixed position.
New in v3.8.0: It is possible to add sound notifications to "range sections" (similar to color setting). The sound will be played when entering the section. If two sections have the same sound file attached to them, then the sound is not played again if switching between the two sections.
This sound notification is enabled by default for the target unit's close range section.
Displaying max range only: if you want to display only the maxRange, you need to set Text to "%d" and tick the Reverse option for the section(s).
The background is only visible, if the frames are unlocked. This should be done only until you find a good place for the frames, then you should lock them (with /rangedisplay locked, or from the gui), that way it won't eat your mouse clicks. Right now during "standard operation" there is no background at all.
cheers,
mitch
Range to target display displays new range every 2 seconds or what not...
I see many addons that show a range bracket, but lack true range to target display only.
If you find such an addon, please let me know :) To the best of my knowledge, there is no way to get better range estimates than what this addon (via LibRangeCheck-2.0) does.
cheers,
mitch
local MaxRangeSpells = {
["SHAMAN"] = {
51490, -- ["Thunderstorm"] -- 10 (Elemental Reach: 11, 12)
403, -- ["Lightning Bolt"] -- 30 (Elemental Reach: 33, 36)
8050, -- ["Flame Shock"] -- 20 (Lawa Flows: 25, 30, 35)
8042, -- ["Earth Shock"] -- 20 (Storm, Earth and Fire: 21, 22, 23, 24, 25)
},
}
Thanks for the spells/talents! Unfortunately Thunderstorm is not usable for range detection, but I added Flame Shock, Earth Shock and Frost Shock, as they all get different bonuses from talents.
cheers,
mitch
Also if possible I would like there to be atleast 5 catergories. Right now there is short range, medium, and out of range.
I would prefer. Close range, short range, medium range, far range, out of range. that isnt needed just my own personal want.
Also, you'll have 5 configurable sections: close range, short range, medium range, "default", out of range.
cheers,
mitch
And who the max range its 60 yards, heals with my druid are 40 yards, and for rogue max yard its shadowstep 25 yards. Can this be fixed for class? thanks for aññ
If you don't want to see the display over a specific distance, setup "Out of range section" so that its range matches your desired distance, and also set the section's color to transparent.
"Out of range display" simply allows a "60 +" style display when you're out of the max measured distance (60yd at the moment, will be 80 after the expansion), so it's not what you're looking for.
Hope this helps,
cheers,
mitch
I've fixed the mage bug in 3.1-beta3. (Arcane Brilliance was changed to be a party/raid-only spell).
cheers,
mitch
Ill try it in raid tonight and see how it performs. thanks again.
Yes, I think I understand what the problem is. Can you tell me what race/class are you? If possible, please link your talents as well. Also, is the 40-45yd range stuck for friendly or enemy targets (or both)?
Thanks,
mitch
New features:
- range display for target/focus/pet
- configurable colors based on melee/short/medium range and out-of-range (the ranges are also configurable)
- added item based checks, much better granuality
- optional minimap button (needs LibDBIcon-1.0)
cheers,
mitch
1-20 - green
20-300 - yellow
30-35 - orange
35-40 - red
You would have to program in the different classes I guess since hunters now have a 51 yard range. So for them it would be a bit different. IDK I think that would be cool and something Id like to see.
Colored ranges are already implemented (in devel). I'm struggling with some polish now (config gui, some testing), but I hope I can release a working beta tomorrow with all the new stuff.
Thanks for the feedback folks!
cheers,
mitch