A
Aviasim
Guest
Hello all! been a while!
Getting straight to the point, I have ground lights controlled by SODE, at the moment I have only successfully added a condition so they only display at Dawn, Dusk and Night.. However - I would like a second condition for MetVisibility, I am aware I need a EDP in the XML.
So far I have this (EDP and one light placement instance)
Trouble is the TOD condition seems to be working, but the visibility doesn't, I want the model to only display at dawn, dusk and night with a metvis between 5000 and 60000 meters.
Kind Regards all
Getting straight to the point, I have ground lights controlled by SODE, at the moment I have only successfully added a condition so they only display at Dawn, Dusk and Night.. However - I would like a second condition for MetVisibility, I am aware I need a EDP in the XML.
So far I have this (EDP and one light placement instance)
Code:
<SODE>
<!-- Data Probe serving its clients -->
<SimObject Name="Newcastle_EGNT">
<Placement Lat="55.0368097051978" Lon="-1.70722424983978" Alt="0#AGL" Hdg="0"/>
<Model SimTitle="12bPilot_SODE_Environmental_Data_Probe">
<EnvironmentalDataProbe ClientList="LightSplash"/>
</Model>
</SimObject>
<!---Main Apron Lights--->
<SimObject Name="LightSplash">
<Placement Lat="55.0368097051978" Lon="-1.70722424983978" Alt="0#AGL" Hdg="0"/>
<Model SimTitle="GND_LightSplash">
<ConditionalVisibility Variable="TimeOfDay" Value="DAWN;DUSK;NIGHT"/>
<ConditionalVisibility Variable="MetVisibility" Value="5000-60000"/>
</Model>
</SimObject>
</SODE>
Trouble is the TOD condition seems to be working, but the visibility doesn't, I want the model to only display at dawn, dusk and night with a metvis between 5000 and 60000 meters.
Kind Regards all