Sign in to follow this  
MarkHurst

HUDCA gauge in P3Dv4

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this