Originally Posted by
gray eagle
I didn't find any modeldef.xml for this aircraft. From what I have googled, the visibility conditions would be in modeldef.xml file which is not present.
modeldef.xml is a file that is used by MCX (and other modelling packages), it is not part of the model.
You can create a modeldef.xml that contains the animations for the model you are looking at by pressing the modeldef.xml editor button in MCX.
You can then edit the xml and add your visibility condition and assign it to the GSE equipment.
This for example is a simple visibility condition that makes things visible when the parking brake is on.
Code:
<!-- Parking brake on visibility -->
<PartInfo>
<Name>custom_vis_Parking_Brake</Name>
<Visibility>
<Parameter>
<Code>(A:BRAKE PARKING POSITION:1, percent) 90 > if{ 1 } els{ 0 }</Code>
</Parameter>
</Visibility>
</PartInfo>
You probably want to make the GSE code more complex than that so you are going to need to start learning the joys of XML coding.
good luck.
Gavin
Bookmarks