This is an extremely basic flight pitch monitor, implemented as a simple LDB plugin. It does a rough calculation to turn the game's pitch value into a value in degrees. It may not be 100% accurate, but it's probably close enough.
The text is colored green (for pitch-up) or red (for pitch-down), the colors become more intense as your angle approaches 90°.
While this is very usable, I intended it largely as a proof-of-concept, to encourage others to create more interesting and robust implementations.
basicAttitude now also includes a display for "relative horizontal velocity". This attempts to show how fast you're moving horizontally, while flying. Essentially, I take the speed returned by the game, and adjust it based on your current pitch. Note, this only works while flying, as pitch values are meaningless while on the ground. If you're not flying, it will still show a value, it'll just be your abstract relative speed. And, of course, speed is displayed relative to running (which is 100%).
- Update toc to 30200
- Add relative horizontal velocity for flying.
- If the player's in a vehicle use the vehicle's pitch (playerpet) instead of the player's.
- Actually pass the proper arguments to LibDataBroker
- Repack of the zip file to try and eliminate some problems for windows users. There are no code changes.
- Account for pitch values >90 degrees up or down. I'd forgotten about the ability to do that, and GetUnitPitch() appears to return sane results.
- Normalize pitch-up values past 180 degrees or pitch-down values past -180 degrees.
- Minor tweak to color thresholds.