Hello All,
My aircraft uses presets that contain different interior colouring and an avionics option:
As can be seen, the order is illogical.
This is what is inside the aircraft.cfg for each preset:
[FLTSIM.0]
title = "MND C-22J Ventura BeigeInt"
texture = "BeigeInt"
ui_variation = "Beige Upholstering"
atc_id = "I-CAVT"
Each preset simply attaches the exterior and interior models. Depending on selection it attaches a conventional NAVCOMM set of a GNS-430. Then loads its own textures to re-paint the interior.
Each preset alters the fields “title” , “texture” and “ui_variation”.
It does not look at a folder names either. If it did, the ordering will be perfectly fine.
There exists 6 presets. 3x colourings, each with a “GNS-430” option. title and variation change logically in the CFGs.
Furthermore, each preset also shows up as a livery at the end of the list:
If selected, it loads the last livery in the list with it. I believe this shall not be there, but have no idea how to make it go…
Any thoughts?
A small update:
If you have Texture = "Something" in the Preset’s aircraft.cfg, then it will show up in the Liveries list.
In my case this was redundant, and everything works without it no problem.
Still, the order in which the presets are shown in the menu is a mystery.
Any hint on that will be very much appreciated!
@EPellissier can we get some insight in how presets (variations) are sorted in a modular aircraft?
They do not seem to follow alphabetical order of either their folder names, Aircraft.cfg “title” or “ui_variation”.
Scenario:
[MODULAR_MERGE]
auto = true
[FLTSIM.0]
title = "MND C-22J Ventura BeigeInt"
ui_variation = "TT:C22J.VARIATION.BEIGE"
atc_id = "I-CAVT"
texture = "BeigeInt"
ui_additional_information = "COLLINS NAV/COMM 1"
There are 9 variations: 3x interior colour scheme, with options for classic radio, GNS-430 or GTN-650.
All of them modify “fltsim.0” by altering title, ui_variation (localized) and texture tag.
They also set-up sim attachments to spawn the selected avionics.
The preset folders are named to match the changing part of Aircraft.cfg title (“BeigeInt” in this example).
Eric can expand on any future plans for this, but at this time there is no particular guaranteed sort order, is my understanding. The code does not attempt to sort them, they just come out however they happen to be loaded into the sim.
I believe requests have already been made to allow for a specified default variant as well as sort the selections. I don’t have any other information on when or if this is planned, though.
Thanks,
Matt