• 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.

Help with precipitation display please

jtanabodee

Resource contributor
Messages
3,924
Country
thailand
Hi,
I would like to make FSX property layer that shine when it rains.
I think I did right but there are still no display under SODE.
I have put all mdl and texture needed to model.xxx and texture folder to the container and put to Simobject/misc folder. Set up the Sim.cfg file for this folder.
The I set up XML file to show these two models which are ground poly cover on the taxiway and runway. Hoping that they will show up under precipitation.
I have been playing around for days but I fail to get them show up.
Would you mind checking what I did wrong with XML or Simobject folder?. I also attached zip file of them.
I might do something wrong but I cannot find it.
Thanks you for your help.
 

Attachments

I think there was an additional xml tag that didn't belong there.
This works for me:


<SODE>

<!-- Data Probe serving its clients -->
<SimObject Name="WMKK">
<Placement Lat="2.745179906" Lon="101.699614674" Alt="21.336" Hdg="0.0"/>
<Model SimTitle="Environmental Data Probe">
<EnvironmentalDataProbe ClientList="KLIA2_RainEffect;RainEffect_layer"/>
</Model>
</SimObject>

<!-- Precipitation on ground -->
<SimObject Name="KLIA2_RainEffect">
<Placement Lat="2.7279000282" Lon="101.6877479553" Alt="0#AGL" Hdg="0.0"/>
<Model SimTitle="KLIA2_RainEffect">
<ConditionalVisibility Variable="MetPrecipitation" Value="RAIN"/>
</Model>

</SimObject>

</SODE>
 
I think there was an additional xml tag that didn't belong there.
This works for me:

<SODE>

<!-- Data Probe serving its clients -->
<SimObject Name="WMKK">
<Placement Lat="2.745179906" Lon="101.699614674" Alt="21.336" Hdg="0.0"/>
<Model SimTitle="Environmental Data Probe">
<EnvironmentalDataProbe ClientList="KLIA2_RainEffect;RainEffect_layer"/>
</Model>
</SimObject>

<!-- Precipitation on ground -->
<SimObject Name="KLIA2_RainEffect">
<Placement Lat="2.7279000282" Lon="101.6877479553" Alt="0#AGL" Hdg="0.0"/>
<Model SimTitle="KLIA2_RainEffect">
<ConditionalVisibility Variable="MetPrecipitation" Value="RAIN"/>
</Model>

</SimObject>

</SODE>
Thanks, let me try.
Reading in SDK is very confusing since I have very little knowledge of xml.
It might be easier if there is a GUI and let user fill in the blank, then the program generate xml for us.
 
Thanks ianj, it works just fine for KLIA2_RainEffect. I add another set of XML for RainEffect_layer, which is FSX style ground poly for KLIA1 but it never show up. Very frustrating.
Would you mind checking my XML and the pack of model again? The file is a little too big to attached since it contain texture of mdl too.
Here it is:
http://www.mediafire.com/download/it82uas2djdhqws/wmkk_SODE.zip

I really appreciate you help.
 
You need to add the second SimObject to the client list of the probe:
Code:
<EnvironmentalDataProbe ClientList="KLIA2_RainEffect;RainEffect_layer"/>
 
You need to add the second SimObject to the client list of the probe:
Code:
<EnvironmentalDataProbe ClientList="KLIA2_RainEffect;RainEffect_layer"/>

I found another mistake. I picked wrong MDL. So it did not show up. Now it is fine.
Thanks for your help.
I think it is tough to edit with note pad. Just only one mistake make it all disappear.
 
Last edited:
Back
Top