Possible to display 2 different exterior model files for an aircraft?

Hi there,
I need to show one .gltf file(exterior model1) with exterior view, and then when switching into interior cockpit view I need to be able to see (exterior model 2)

Ive played with the model.cfg, as well as adding both model gltfs into the .xmls and seeing if I could display them as different LODs. Doesn’t seem to work.

Is this even possible? Any input is appreciated thanks!

Although I have not atytempted this, I am pretty dsure it can be done:

withExterior_showInterior=false

		<LOD minSize="0" ModelFile="MyModel_Cockpit.gltf">
			<MergeModel>MyModel_Exterior2.gltf</MergeModel>
		</LOD>

Note that using submodel merging requires usage of the ASOIBO uniqueID extension.
To avoid duplicating modelbehaviors across the XML, you may want to put them in a third XML that you call from the includes.

Hi Mariopilot,

I added that line in my cockpit xml, It builds with no errors. Also exported the model with the uniqueID in 3dsmax.
But… now neither cockpit model and exterior2 show up.
I remove the section and then my cockpit reappears (no exterior2).

model.xml:

withExterior_showInterior=true
withExterior_showInterior_hideFirstLod=true
withInterior_forceFirstLod=true
withInterior_showExterior=true

exterior.xml:

	<LODS>
		<LOD minSize="80" ModelFile="exterior model 2.gltf"/>
		<LOD minSize="40" ModelFile="exterior model 1.gltf"/>
	</LODS>
2 Likes

I like the above solution (if it works ?) (as it does not require the Unique identity bit, that seems to currently have issues)

Is the above example something that is currently implemented, or a Wish suggestion ?

in many (all?) of Asobo planes. that’s why pilot model appear only on exterior view.

I cannot find any of these lines in any Asobo or any 3rd party planes I own …

Please can you point me in the right direction :slightly_smiling_face:.

\HLM_Packages\Official[Steam|OneStore]\asobo-aircraft-a320-neo\SimObjects\AirPlanes\Asobo_A320_NEO\model\model.CFG

\HLM_Packages\Official[Steam|OneStore]\asobo-aircraft-c152\SimObjects\Airplanes\Asobo_C152\model\model.CFG

1 Like