[x] Combat related stuff. I implemented a minimalist subset of the AJS combat HUD, to make it usable.
On the short term, I want to add the following:
[ ] Rb 04: set reference altitude to 240m
[x] AKAN/ARAK: simulating the complete aiming mode is feasable.
[ ] bombs: I will stick to just the CCIP mode, but it can improved a bit, by adding the distance line for a start.
[x] Rb 75: To compensate the lack of EP13, I'm displaying the seeker position with the main reticle.
Maybe use the secondary reticle instead? (the one displaying target position, which is unused for now).
[ ] IR-Rb: Implement radar ranging.
[x] Triangulation to compute distance should use "ground pressure corrected altitude H_M",
(i.e. the altitude displayed on HUD/CI, RHM corrected depending on HÖJD switch).
[x] Combat stuff in navigation mode.
Weapons can be fired in NAV mode, and most of the functionalities of the old HUD combat mode
(weapon type display, gunsight, IR seeker, DLZ) have been ported to NAV mode.
[x] Aiming mode. My current plan is to merge this without aiming mode forget that you're getting aiming mode too.
[x] FPV when no weapon is selected.
[x] Some kind of boresight for missiles.
[x] A/A cannon sight
[x] A/G cannon and rocket sight
Bugs/todo
AJS:
[x] Ground pressure corrected altitude (H_M in SFI), using HÖJD switch.
[x] HÖJD and SLAV switches 3D models
[x] Require power. (also added pre-heating delay)
[x] #102 is blocking
[x] Print weapon type when cycling, because it is no longer on the HUD, and the weapon panel is not usable.
JA:
[x] Require power. (also added pre-heating delay, and off by default, turned on with button on TI, together with MI and TI)
[x] Backup power mode Standby sight.
Going through the manual, the current backup power mode (orange HUD) is fantasy.
It should be "a fixed illuminated pattern [...] activated by the knob RES"
No idea what this pattern should look like.
[x] I somewhat broke QFE indication by disabling RHM on the ground. And I think it is missing some functionalities.
Other:
[x] Remove any reference to canvas_HUD
[x] Make sure hud.nas does not contain any important code:
WIP, 2 new HUDs.
Current state
AJS:
JA:
My current plan is to merge this without aiming modeforget that you're getting aiming mode too.Bugs/todo
AJS:
JA:
Backup power modeStandby sight. Going through the manual, the current backup power mode (orange HUD) is fantasy. It should be "a fixed illuminated pattern [...] activated by the knob RES" No idea what this pattern should look like.Other:
canvas_HUD
hud.nas
does not contain any important code:radar_logic.lockLog
hud.nas
before merging