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'll add it as an option anyhow. :)
Barf
what is 0.6.x? 0.5.x?
Barf
Barf
In case you're wondering about progress with this project, wonder no more. After a long hiatus, I've started work on the project again. I've got basic waypoints implemented, but it needs some polish. I plan to release a development version once I have a few more things worked out, and I'm hoping to receive feedback regarding my implementation.
My goal for this project has always been to have a visual representation of points in the HUD, with the bearing, distance, and ETA to them, so that I could easy point my flyer in the right direction. Specifically, I plan to:
* Allow for the addition of waypoints by (mod)-clicking the world map, where mod is shift/alt/control or any combination, configurable via prefs. Said click will present a dialog that allows for the addition of notes, selection of icons, etc..
* Make waypoints transitory (they go away once you arrive), sticky (they don't go away once you arrive), zone based (they only show up in the HUD when you enter that zone), world based (they always show up).
* Allow waypoints to always or never show name/distance/ETA.
* Add an option to Cartographer's existing notes module to bring up the FlightHUD waypoint menu.
* Management of existing waypoints via (mod)-click of existing points, which always appear on the world map.
* Option to see points on the minimap.
* Option to see arrow pointing to waypoints in the minimap.
As of now, I'm no where close to having all this, but I'm hoping to release as I implement features. The first releases will have a very basic subset of these features. Please let me know if you have any ideas that would make this better.
Barf
Another suggestion would be that there be more customization in where you can place each section in the HUD. I have mine set very large, and the pitch is right in the middle where my toon is, and the compass is right above my action bars at the bottom of the screen. I would like to be able to reduce the size of the pitch diagram separately from the entire HUD, and be able to move it in different places so it is not so prevalent in my face, without moving any of the other graphic's in the HUD, as I like them where they are, (compass @ the bottom), and the four corners outside my toon's field of view for the numbers showing my direction an such.
Other than that, I like your HUD, it works as you stated, and glad that someone is thinking other than a single direction, and is working out of the box that others are so seemingly stuck inside.
I've not been able to replicate this. Can you elaborate?
It would be so cool if you could add a lock-on targeting system when you select on someone; basically just multiple circles closing in on the target. I know i ignored the "not the place for enhancement requests" but you know, its WoWCombat man.
this is awsome just wish i had it sooner
Love the mod but is there any way to get it to only adjust the pitch based on the character and not the camera angle?
W
Read the description. There is no way to get this information from the addon API. I'd love nothing more than to make it true pitch, but unless Blizzard sees fit to provide this information in their API, it's not going to happen.
0.5.0 uses the Ace3 framework. This allows me to use the new Blizzard addons option interface. I've tested it and it Works For Meâ„¢. Please let me know if there are any issues. I've enabled tickets for this project, so please use that.
Barf
Just a heads up: Versions 0.4.0 and 0.4.1 had a bug that was causing the HUD to not refresh or even display unless the refresh rate was set to 0. This will teach me to remove the SavedVariables/FlightHUD.lua file and testing before cutting another release. Version 0.4.2 will be up as soon as it's approved by the curse.com staff.
Barf