Minimap in Vechile HUD - Update vehicle_hud.lua #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This feature has the 'new car smell' feeling to it, Carrier Command 2.5 sort of feel...
A novel but visually appealing feature of a minimap when using the camera of any vehicle.
Distinct from the main large map enabled by the tab button, this minimap looks more fitting to the rest of the vehicle HUD. Could maybe add labels to the big map in another feature add...
Features:
A white triangle faces and points in the direction of the players vehicle.
Enemy and allied vehicles have string tags in the colour of their team.
Ocean is green and transparent so as not to be too distracting
Land is purple
Added code for rendering minimap while in vehicle control.
code block at 327 for calculating offsets and render minimap
added function 987
update to fuel %, estimated mins, efficiency HUD offsets ~4914
TODO
Turrets not with names
Some vehicle labels might not be correct eg - Bear 'BER', wasn't sure what was the acronym they use in game.