FlightHUD
UPDATE
Since Blizzard removed GetUnitPitch() in 7.1, I no longer plan to maintain this addon. If Blizzards sees fit to put it, or some equivalent, back, then I'll revive it. Until then, this addon is dead.
FlightHUD
Displays a fully configurable fighter jet style Heads Up Display (HUD) while flying, riding, or swimming.
FAQ:
Q: Can altitude/elevation be displayed?
A: No. Blizzard doesn't provide the ability for addons to get z-axis information.
Features:
- Shows your current heading in degrees as text and as a graphic with cardinal points relative to the mimimap.
- Shows the true pitch of your character. This is no longer a hack, as patch 3.0.2 added GetPlayerPitch(), an API call that returns a character's true pitch. Before patch 3.0.2, the camera pitch was used, and the pitch display was not accurate unless you always kept your camera behind your character.
- Shows map coordinates.
- Shows your true speed, horizontal speed, or both, as a percentage, where a normally running character is 100%, or as yards per second, or both.
- Configurable transparency of the text and graphics.
- Configurable transparency of the background.
- Configurable size of the text.
- Configurable size of the pitch graphic.
- Configurable frame size.
- Congigurable colors of all HUD elements.
- Movable frame. Hold control while hovering the mouse over the frame and left click drag to move it. (First unlock the frame in the config with /fh or /flighthud or from the Interface -> Addons -> FlightHUD menu)
- Waypoints. (Configurable Alt/Shift/Ctrl/Combination)-rightclick on the map to add a waypoint. Multiple waypoints are supported. Waypoints appear in the HUD and float as you pan. Each point shows the distance and bearing to the point, plus an ETA if you're moving.
- Waypoints can now be made persistent and configured to show only in the zones they're created in or vice versa.
- Waypoints can be deleted by right clicking on them in the world map or mimi map.
QuestHelper integration: See the default QuestHelper quest as a persistent waypoint.(Seems QuestHelper is no longer a thing)- Blizzard POI (Point of Interest) integration: (modifier)-click a POI on the map to set it, and subsequently unset it, as a waypoint. The modifier can be set in the config.
- Automatic quest tracking waypoints in the HUD.
- Arrival sound: Set a sound to be played upon arrival at a waypoint.
- Keybind to toggle level flight. (Simply toggles pitchlimit from 0 to 88 and back. Still have to pitch up or down for pitch to be 0 once pitchlimit is 0)
TODO:
- Add an odometer.
- Editable, movable waypoints.
- Add an interface to manage waypoints. (Can't delete a POI waypoint when it no longer appears on the map)
- HUD frame skins to make it look like a real fighter HUD.
- Configurable locations of text and graphics within the parent frame. Perhaps at some point make them detachable.
- Fix the waypoint adding text on the map. Seems this stopped working at some point.
Known bugs:
- There's a bug in Astrolabe that causes an error when entering a garrison mine. While this bug shows as coming from FlightHUD, many other addons that use Astrolabe have open bugs showing the exact same trace.
- There's been a pervasive bug that would completely hang the client. I've known about this bug for about 2 years now, but I've never been able to consistently reproduce it, and therefore, debugging has always been non-trivial. If you experience the game client completely hanging after zoning (a portal, a zone instance, teleporting directly to a dungeon, a summon), please report a bug. To get around the bug, disable the "Quest POI Integration" in "Waypoint Options" in the FlightHUD config. This option is now disabled by default.
Reporting bugs:
- Please post bug reports here. While I monitor the comments on curse.com, it makes my life easier if bugs are reported in the wowace bug tracker.
Barf
"Does not detect druid flight form."
I'll try to get this feature in next.
Barf
Thanks,
Barf
Regarding Mithril Spurs:
There is no "identification" of speed modifiers. The speed is either returned by GetUnitSpeed(), which is the "true" speed, which accounts for speed modifiers such as Mithril Spurs or Crusader Aura, or calculated by the distance traveled over time.
Regarding altimeter:
The WoW addon API doesn't provide Z axis information, so no altimeter is possible. I will add support for altimeter once Blizzard sees fit to add the appropriate API that allows for it.
Regarding "What is 0.6.x, 0.5.x":
0.6.x was an alpha release. 0.5.x is the old "stable" release. 0.7.x is the current beta, which seems fully functional with regards to 0.5.x's functionality, but still needs work with the new waypoint features.
Barf
Seems that mithril spurs are not identified.
Problem:
I have the speed displayed in % and Y/S. When I activate Crusader Aura on my Golden Gryphon, the percentage changes from 184% to 192%, but the Y/S stays at 13 (which is highly unlikely).
Request:
A way to set the pitch to 0, preferrably with a key binding. For some reason, I often get flying at a pitch of 9, which is heading downward (BTW: it seems counter-intuitive that negative pitch numbers climb, but maybe I just don't understand) and using the pitch-up and pitch-down is a crapshoot to get level since they don't seem to change by any reasonable or stable increment.
LOVE IT!
[http://forums.worldofwarcraft.com/thread.html?topicId=8202271194&postId=124532360900&sid=1#356]
If you guys want altimeter, perhaps pester the devs a bit? :)
Regarding percentage: Keep in mind that all numerical values are rounded. The math is correct, just not detailed enough for you to see the change. Perhaps I could add a few points of precision so you can see more detail...and even make that a config option.
Regarding request: Unfortunately, addons cannot control your character. It's up to you to move the character so that your pitch is 0.
As far as one direction of attitude (pitch) being negative or positive, I've researched this since reading your post, and it seems there is no standard. It's either up or down. I just wanted to display it differently, hence, the polarity. I don't think I'll be changing this.
Barf
According to the percentage shown, using Crusader Aura while flying is an 8% increase in speed (192% vs 184%). If the y/s is 13.000, then 13 * 1.08 = 14.04, and if it's between 13.0 and 13.5 the new speed should be higher. So even without adding a decimal to the y/s figure, it should show 14, but it still shows 13.
Any help, or am I just showing that I don't understand something?
Grigg
Barf
Barf
I would like to make a suggestion for FlightHUD. I think an altimeter would go really well with this addon. 8^)
Barf
[2008/11/08 19:51:28-831-x1]: FlightHUD-0.5.6\FlightHUD.lua:431: attempt to perform arithmetic on local 'num' (a nil value)
FlightHUD-0.5.6\FlightHUD.lua:764: in function <Interface\AddOns\FlightHUD\FlightHUD.lua:667>
---