Sign in to follow this  
MarkDH

HUDCA gauge in P3Dv4

Recommended Posts

If anyone out there has tried to use Dietmar Loleit's HUDCA (HUD) in P3Dv4 they will likely have been disappointed. It seems the config file loader is a compiled gauge and doesn't work under P3Dv4. 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. Below I provide an example in LINDA, which is how I've done it. These values are for the Twin Otter, so your values may be different.

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)

 

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

8 hours ago, ddawson said:

The 64 bit version of the config gauge is available on my website:

dsd_p3d_xml_config_x64

Doug

Thanks, I didn't realise this was a third-party gauge.

Share this post


Link to post

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