PDA

View Full Version : makemdl xml code help



this4dave2
May 15th, 2018, 07:37
Can some body please tell me the XML code to make parts visible when nav lights are turned on or off in makemdl for fs2004 :banghead:

I am using FSDS

Thank you
David

spokes2112
May 15th, 2018, 08:21
There isn't a stock one but this should work..



<part>
<name>nav_light_on</name>
<visible_in_range>
<parameter>
<code>(A:LIGHT NAV, bool)</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>

<part>
<name>nav_light_off</name>
<visible_in_range>
<parameter>
<code>(A:LIGHT NAV, bool) !</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>

this4dave2
May 15th, 2018, 09:25
There isn't a stock one but this should work..



<part>
<name>nav_light_on</name>
<visible_in_range>
<parameter>
<code>(A:LIGHT NAV, bool)</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>

<part>
<name>nav_light_off</name>
<visible_in_range>
<parameter>
<code>(A:LIGHT NAV, bool) !</code>
</parameter>
<minvalue>1</minvalue>
</visible_in_range>
</part>



thank you so much it works perfect

David