Jump to content

HUDCA gauge in P3Dv4


MarkHurst

Recommended Posts

A while back (!) I posted about using Dietmar Loleit's HUDCA HUD gauge in the Twin Otter. Unfortunately, when I switched to P3Dv4 recently I found that it wouldn't work. It seems the reason is that there is a small compiled gauge (Config.gau) to load the settings from the ini file, which doesn't work. The good news is that the HUD itself is an XML gauge and does work! All you have to do is stuff the mandatory Lvars with values instead of defining them in the ini file and it will work as normal! You can do this in a short Lua script. Here it is in LINDA, which is how I've done it:

ipc.writeLvar("L:Decision_High", 300)
ipc.writeLvar("L:TO_V1", 63)
ipc.writeLvar("L:TO_Rotate", 63)
ipc.writeLvar("L:TO_V2", 73)
ipc.writeLvar("L:V_Landing", 74)
ipc.writeLvar("L:Disp_Radio_High", 2500)
ipc.writeLvar("L:Flaps_Takeoff_set", 2)
ipc.writeLvar("L:aircraft_type", 1)

You can read the original discussion here.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use