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.
It would feel a lot more fighter-jet-ish if it could work upside-down!
Also, I'm sure you know, but the Touring Rocket needs to be added ([75973])
but I have an issue with it, the color settings/options that I set for the text aren't being saved in between sessions. I mean, it's not hard to reset them every time, but that's just it, I don't want to have to do it EVERY time. :-) Is anyone else having this problem?
also, you might want to change the screenshot of the options page, since it's now different. :-)
Regarding the screenshots, yes, I agree. I'll also try to get some new videos up as well.
Barf
keep up the great work
Barf
Any plans for an altimeter? or just an elevation reading which is what I would assume is available in some variable in WoW.
Not truly a bug but I am having problems with the overall scaling of the hud it defaults to 0.72 but if I move the slider or type something in it jumps from 0.5 to 0.75 nothing inbetween is possible with the current options set up, also would love to have color customization on each element of the hud and text and profiles would be nice too.
I've added more granularity to the HUD scale slider in my latest development version.
Add color customization for the HUD text elements to my TODO list.
Barf
So FlightHUD is basically completely broken for me now and it may be because of another addon that I have running but here is the error I'm getting even after reseting it, this pops up whenever I mount anything, the addon that is giving me this text is Swatter...
Error occured in: Global
Count: 1
Message: ..\AddOns\FlightHUD\FlightHUD.lua line 1467:
attempt to call method 'Debug' (a nil value)
Debug:
[C]: Debug()
FlightHUD\FlightHUD.lua:1467: ?()
FlightHUD\FlightHUD.lua:997:
FlightHUD\FlightHUD.lua:997
then it lists my addons and I'm not gonna waste large amounts of space with that, yes I am an addon junky. X-perl has an error occasionally and reloadui fixes it everytime so that may be part of my problem. I also get (and was getting an error using 9.11) when I would check the Show HUD when Swimming box but reloadui seemed to work that out ok too.
Here is the error I get as I check the show on swimming box...
Error occured in: Global
Count: 1
Message: ..\AddOns\FlightHUD\FlightHUDConfig.lua line 160:
attempt to index global 'self' (a nil value)
Debug:
(tail call): ?
FlightHUD\FlightHUDConfig.lua:160:
FlightHUD\FlightHUDConfig.lua:157
(tail call): ?
[C]: ?
[string "safecall Dispatcher[2]"]:9:
[string "safecall Dispatcher[2]"]:5
(tail call): ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:796:
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:611
(tail call): ?
[C]: ?
[string "safecall Dispatcher[3]"]:9:
[string "safecall Dispatcher[3]"]:5
(tail call): ?
...nterface\AddOns\Titan\libs\AceGUI-3.0\AceGUI-3.0.lua:326: Fire()
...ls\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:69:
...ls\Ace3\AceGUI-3.0\widgets\AceGUIWidget-CheckBox.lua:58
So far the only time I have even gotten the HUD to show up is when I check show always and then dismount. I am going to continue testing on this turning some of my "frills" addons off to see if anything helps but for now I hope this helps, would love to see this working again.
Barf
Yep now the Show Swimming button is broken and won't let you toggle it.
I've been looking for an addon that'll let you create waypoints on the map that you can set as a destination while on flyer, eg. line your character up perfectly with the coordinates of the waypoint so you can just hit "auto-run" then sit back and relax without having to constantly check map and adjust your course. Great for long flights.
Is this kind of thing possible? I can see this addon already uses waypoints and will show them on the HUD. Maybe you could also impliment a feature that'll turn off autorun when you reach your destination too? If that's too "automated" for blizz's liking maybe you could just give you an alert like sound or screen flash.
I've added the "audible notification" request to my TODO list and will get this feature in ASAP.
Barf
Additionally it would be fine if you cloud add an option to disable the whole waypointintegration.
Anyhow, /fh and dig around.
Barf