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.
I actually did some research on this, and I could have sworn the pitch indicator was correct! Not sure when this reverted (I'm pretty sure it was accurate once). Good catch!
Regarding how you fly...boggle...while I knew that it was possible to "go" up and down with key binds, these don't change the player's actual pitch. How can you fly like this though!? :)
Barf
one suggestion - let us clear a waypoint before we get there, in the event we're just creating test waypoints playing with the mod and suddenly have a map full of waypoints cluttering things up... or just plain don't feel like clearing our addon settings to get rid of a waypoint out in timbuktoo
second suggestion, can we have the option to unlock aspect ratio and resize the frame? I'd prefer a little wider and shorter than the current ratio, but of course everyone's preference on that point will be different...
Awesome Addon. Absolutely love it, even for just running around on my chevrolegs. Nothing but great things, already looks like a real aircraft HUD (at least the prism Glass portion of it).
Barf
4/15 18:18:34.715 Loading add-on FlightHUD
4/15 18:18:34.715 ** Loading table of contents Interface\AddOns\FlightHUD\FlightHUD.toc
4/15 18:18:34.715 ++ Loading file Interface\AddOns\FlightHUD\embeds.xml
4/15 18:18:34.715 ++ Loading file Interface\AddOns\FlightHUD\Libs\Astrolabe\Load.xml
4/15 18:18:34.715 ...erface\AddOns\FlightHUD\Libs\Astrolabe\Astrolabe.lua:371: attempt to index local 'MinimapCompassRing' (a nil value)
4/15 18:18:34.715 Interface\AddOns\FlightHUD\FlightHUD.lua:36: Cannot find a library with name 'Astrolabe-0.4'
BTW, can you please use the bug report link in the description? It makes things easier for me. Thanks.
Barf
thanks for fixing the issue about clicking thru the field
Barf
Anyhow, 0.7.12 has the updated spellids. It also has an untested buff detection routine, which would affect Headless Horseman and Druid detection, so, if you have either (or both!), please let me know if I haven't broken it.
Barf
Barf