• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA MetVisibility (solved)

Messages
228
Country
france
Hi,

I have made a simple runway edge light in gmax (an effect and a transparent cube).

With this code : ConditionalVisibility Variable="MetVisibility" Value="0-800"/> I'd hope that the light only show with a RVR under 800m but the light is always on.

If I choose another ConditionalVisibility Variable ie TimeOfDay, it's OK.

(the last FSUIPC release is installed)
 
What about writing a code and have it only show your lights using a visual tag using model.def, so the user aircraft is less 800m hide your gmax part.:rolleyes:
 
What about writing a code and have it only show your lights using a visual tag using model.def, so the user aircraft is less 800m hide your gmax part.:rolleyes:

Thanks for your reply but it's not what I want to get, I'm testing the capabilities of SODE as described in the manual.

I'm trying to make a runway lighting that only shows by night, dawn and dusk or when the visibility is poor.
 
Last edited:
Well are you using the script DAY=0 NIGHT=1 and so on.... in the Gmax parameter box. That would take care of that part, But for SODE i have no clue what that is?
 
Well are you using the script DAY=0 NIGHT=1 and so on.... in the Gmax parameter box. That would take care of that part, But for SODE i have no clue what that is?

No, I'm using the xml code provided with SimObject Display Engine
 
<ConditionalVisibility LogicExpression="A|B">
<Condition ID="A" Variable="TimeOfDay" Value="DAWN;DUSK;NIGHT"/>
<Condition ID="B" Variable="MetVisibility" Value="0-5000"/>
</ConditionalVisibility>

It works for me.
 
<ConditionalVisibility LogicExpression="A|B">
<Condition ID="A" Variable="TimeOfDay" Value="DAWN;DUSK;NIGHT"/>
<Condition ID="B" Variable="MetVisibility" Value="0-5000"/>
</ConditionalVisibility>

It works for me.

Thanks Vitaly, here is my code (copied from xml):


<SimObject Name="Whitelight">

<Placement Lat="48.536477" Lon="7.624569" Alt="0.3#AGL" Hdg="0.0"/>

<Model SimTitle="Whitelight">
<ConditionalVisibility LogicExpression="A|B">

<Condition ID="A" Variable="MetVisibility" Value="0-800"/>
<Condition ID="B" Variable="TimeOfDay" Value="DAWN;DUSK;NIGHT"/>
</ConditionalVisibility>

</Model>

</SimObject>

I see no difference with yours but the light doesn't switch on by day when the visibility is < 800m.
 
Last edited:
I didn't try to use models with attached effects, my lights are texture-based:

http://images.vfl.ru/ii/1404811980/4fce37f1/5651107.jpg

But I believe FX must work as well. Make sure your effect has no conditions.
Can you send me your mdl, xml, fx and sim.cfg files? I could play with them around.

Many thanks for your help !

effect has no conditions. I will try a texture based light to see if it helps. If not, I will send you the requested files.
 
Thank you Vitaly, now it works.

I had forgotten to add the simobject name (Whitelight) in the EnvironmentalDataProbe ClientList.


<SimObject Name="LFST Strasbourg-Entzheim">
<Placement Lat="48.5417" Lon="7.6275" Alt="505" Hdg="0.0"/>

<Model SimTitle="Environmental Data Probe">
<EnvironmentalDataProbe ClientList="Whitelight;Windsock_3600;UnitA05;UnitB05;UnitC05;UnitD05;UnitA23;UnitB23;UnitC23;UnitD23"/>
</Model>
</SimObject>
 
Back
Top