Convert panel from fsx to p3dv4

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
giulioenrico.sturla
Posts: 4
Joined: Thu Aug 16, 2018 8:29 am

Convert panel from fsx to p3dv4

Postby giulioenrico.sturla » Tue Nov 13, 2018 6:35 pm

I use P3dv4 with windows 10.
I installed the P180Avant which is an aircraft developed for FSX. The model works well but to make some changes to the panel (based on cab files containing .xml and .bmp files) I would like to convert it to the native model for p3dv4.
Is there anyone who can give me some suggestions?
Is there a way to convert the .xml files created with panel studio with those for ACE? (Ace does not open those .XML files).
Thanks for your help

User avatar
WarpD
Posts: 1453
Joined: Mon Feb 14, 2011 5:29 am

Re: Convert panel from fsx to p3dv4

Postby WarpD » Tue Nov 13, 2018 6:47 pm

Why do you need to modify the XML files?
Ed Wilson
Senior Developer
Mindstar Aviation

giulioenrico.sturla
Posts: 4
Joined: Thu Aug 16, 2018 8:29 am

Re: Convert panel from fsx to p3dv4

Postby giulioenrico.sturla » Tue Nov 13, 2018 7:12 pm

To add some local variables (L:) that I have to read with a Lua script to transmit the values to an external instrument panel with a COM port. The variables L: are derived from some variables A: that Lua of FSUIPC5 for P3Dv4 does not have in the offset lists. The same variables, however, are read by the FSX panel.

User avatar
WarpD
Posts: 1453
Joined: Mon Feb 14, 2011 5:29 am

Re: Convert panel from fsx to p3dv4

Postby WarpD » Tue Nov 13, 2018 8:38 pm

Either the files are FS9 schema (not ACES compatible) or their format is not compatible. Do they currently load and work in the sim? If so, try using Notepad as your editor interface... just be sure to back up the original file(s).
Ed Wilson
Senior Developer
Mindstar Aviation

giulioenrico.sturla
Posts: 4
Joined: Thu Aug 16, 2018 8:29 am

Re: Convert panel from fsx to p3dv4

Postby giulioenrico.sturla » Wed Nov 14, 2018 4:19 pm

I apologize for the delay in the response, yes the files seem to work well.
I tried to modify the .xml file of a tool to instantiate a new variable L: myvar.
The idea is to read it with the Lua plugin of FSIUPC5 installed.
Unfortunately the variable is created but at an address outside the range and can not be used [n = ipc.getLvarId ("L: myvar") returns an address but n = ipc.readLvar ("L: myvar") returns "nil" ].
Any suggestions?
Thanks for your help.

User avatar
WarpD
Posts: 1453
Joined: Mon Feb 14, 2011 5:29 am

Re: Convert panel from fsx to p3dv4

Postby WarpD » Wed Nov 14, 2018 9:02 pm

Nope... I don't do a thing with either FSUIPC nor Lua. I even avoid XML. You will probably have to get support from the FSUIPC/Lua forums.
Ed Wilson
Senior Developer
Mindstar Aviation

giulioenrico.sturla
Posts: 4
Joined: Thu Aug 16, 2018 8:29 am

Re: Convert panel from fsx to p3dv4

Postby giulioenrico.sturla » Sat Nov 17, 2018 9:28 am

WarpD
In any case, thank you for trying to help me
Giulio


Return to “Simulation Object Development Questions”

Who is online

Users browsing this forum: No registered users and 12 guests