Hello,
I have a modular aircraft setup, exterior + interior separate models.
One unique variant
empty helper on my common folder.
My exterior model is attached to the helper via attached_objects.cfg located inside my variant/config folder. Interior model is attached to helper via the same file
[sim_attachment.0]
attachment_root = "SimObjects\Airplanes\dev\attachments\dev\aircraftname_ext"
attachment_file = "model/aircraftname.xml"
attach_to_model = "exterior"
attach_to_model_minsize = 0
always_execute_associate_js = 1
always_execute_model_behavior = 1
alias = "Exterior"
[sim_attachment.1]
attachment_root = "SimObjects\Airplanes\dev\attachments\dev\aircraftname_int"
attachment_file = "model/aircraftname_interior.xml"
attach_to_model = "interior"
always_execute_associate_js = 1
always_execute_model_behavior = 1
; Should be named "Interior" if you only have 1 Variant without Livery Selection Requirments (Otherwise Use Tag from Attachments.cfg)
alias = "Interior"
My model.cfg is on common/model. I have all 4 options set to true
The issue comes when I compile and load the aircraft into the sim. In Internal camera I cannot see external model, and ext camera I can’t see the internal. Completely ignoring my model.cfg. This also causes issues when entering and exiting the aircraft, as you would only see the cockpit floating, though sometimes both are visible - its really inconsistent.
My workaround was to attach both interior and exteriors models to the interior and exterior helpers. That way I have both always visible (and I can use specific LOD submodels). However, this is probably not ideal, and I have a feeling I’m missing something here.
1st party aircraft @FlyingRaccoon