• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Modifying default aircraft

Messages
32
Country
belgium
I am trying to add a new gauge to the panel.cfg file for one of the default aircraft. For example, the Baron 58. If I make any change to that panel.cfg file. Any change at all...even changing a comma, all of the gauges for ALL of the default aircraft will no longer show. If I restore the file with a backup, everything is fine.

Anyone know why this is?
 
Messages
2,077
Country
us-ohio
Not without seeing what you entered and to what actual panel.cfg file you changed. We're not psychic.
 
Messages
32
Country
belgium
The first thing I did was make a backup of the original P3Dv4 Baron 58 panel.cfg in a zip file.


All I did was remove the last gauge on the MAIN_PANEL list;

gauge71=Beech_Baron!Ammeter, 597, 249

and save the file. The screenshot in the zip file shows the result. I attached the panel file for the Beach Baron, and a screenshot.

If I undo the removal of that gauge, making it as it was originally, and save the panel.cfg file again, the gauges are still missing.

Next I restored the original panel.cfg file I saved in the zip file, the gauges return to normal.

It seems like the simulator has the original file date saved in a database somewhere and will not allow edits.

??
 

Attachments

  • PANEL-Baron58.zip
    45.2 KB · Views: 157
Messages
32
Country
belgium
In addition, if I make any kind of change to the aircraft.cfg file, the Baron 58 disappears from the P3D v4 Vehicle list.

Is there some setting in the simulator that does this?
 
Messages
2,077
Country
us-ohio
Since I never see this behavior, I would have to say... not any obvious setting. Are you using panel serialization?
 
Messages
32
Country
belgium
I tried it with panel serialization both off and on. Same result. After opening and saving the aircraft.cfg file the Baron 58 does not even show up on the simulator's Vehicles list. I made no real change to the file. I just put an extra space between two categories and saved the file. This just makes no sense to me.
 
Messages
32
Country
belgium
The problem was I was saving the files as Unicode, when the simulator wants ANSI encoding. So I made that change and everything works. You really have to dig through the SDK to even get a clue about that. On a 64 bit application, that uses Unicode for gauge files, you would think the *.cfg files would be Unicode too. Silly me.

Thanks for helping me with this.
 
Top