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

FSX:SE [SOLVED] Model not appear with SODE implementation

Messages
442
Country
malaysia
Hi @Jeffrey Stähli,

I am developing taxi edge light.
The illumination texture did appear when the view is overlapped with my ground poly. If it is not overlapped by any groundpoly, then its visible. Refer the image : http://www.fsdeveloper.com/forum/attachments/16650825_1469827046361289_1181467456_o-png.33056/

I have tried changing the alpha setting in MCX material editor but nothing works. So, I decided to use SODE. But unfortunately my model is not shows up in the sim.

Please guide me is there anything I wrongly coded?

Kindly refer the image below for the file location:

file-location-jpg.33370


Following are the codes for the appropriate files:

XML File name = "TaxiEdgeLight"

<SODE>

<!-- Data Probe serving its clients -->
<SimObject Name="EDP WMKP">
<Placement Lat="5.29719818" Lon="100.27683958" Alt="0#AGL" Hdg="0.0"/>
<Model SimTitle="12bPilot_SODE_Environmental_Data_Probe">
<EnvironmentalDataProbe ClientList="Taxi_Edge_Light"/>
</Model>
</SimObject>

<!-- Time of Day based switching of Textures -->
<SimObject Name="Taxi_Edge_Light">
<Placement Lat="5.30890086" Lon="100.28642178" Alt="0#AGL" Hdg="000"/>
<Model SimTitle="Taxi_Edge_Light_Night">
<ConditionalVisibility Variable="TimeOfDay" Value="DAY;DAWN;DUSK;NIGHT"/>
</Model>

</SimObject>

</SODE>

_________________________________________________________________
sim.cfg :

[General]
Category=Viewer
Module=SODE

[fltsim.0]
title=Taxi_Edge_Light_Night
sim=
model=taxiedgelight
texture="taxiedgelight"
_________________________________________________________________
model.cfg :

[models]
normal= taxi_edge_light (this is the .mdl file)
_________________________________________________________________
texture.cfg:

[fltsim]
fallback.1=..\..\..\..\Scenery\Global\Texture
fallback.2=..\..\..\..\..\..\Scenery\Global\Texture
_________________________________________________________________

Please guide me.

Thank you.
 
Last edited:
Messages
611
Country
switzerland
Hi

Just as a note about technique and placing taxilights using SODE, please read this: http://www.fsdeveloper.com/forum/threads/feature-wishlist.430589/page-3#post-764946

Looking at your XML, you don't need the environmental data probe for seasonal objects. Check my documentation here http://sode.12bpilot.ch/?document=the-xml-definition-file/conditionalvisibility. Only the variables with the green symbol (wind, precipitation) need a dataprobe.
But that doesn't solve your problem, it's just optimization.

I can't find an obvious error by looking at your posted examples.
What about removing the quote signs around texture="taxiedgelight" -> texture=taxiedgelight
Does this make a difference?

What about removing the condition xml stuff and try just to place the raw SimObject to check if it displays in the sim?
 
Messages
442
Country
malaysia
Hi

Just as a note about technique and placing taxilights using SODE, please read this: http://www.fsdeveloper.com/forum/threads/feature-wishlist.430589/page-3#post-764946

Looking at your XML, you don't need the environmental data probe for seasonal objects. Check my documentation here http://sode.12bpilot.ch/?document=the-xml-definition-file/conditionalvisibility. Only the variables with the green symbol (wind, precipitation) need a dataprobe.
But that doesn't solve your problem, it's just optimization.

I can't find an obvious error by looking at your posted examples.
What about removing the quote signs around texture="taxiedgelight" -> texture=taxiedgelight
Does this make a difference?

What about removing the condition xml stuff and try just to place the raw SimObject to check if it displays in the sim?

Hi @Jeffrey Stähli,

Thank you for your reply. Based on your reply i have change the codes as below:

Edited .XML File:

<SODE>

<!-- TimeOfDay based switching of Textures -->
<SimObject Name="Taxi Edge Light">
<Placement Lat="5.30890086" Lon="100.28642178" Alt="0#AGL" Hdg="000"/>
<Model SimTitle="Taxi_Edge_Light_Night">
<ConditionalVisibility Variable="TimeOfDay" Value="DAY;DAWN;DUSK;NIGHT"/>
</Model>

</SimObject>

</SODE>

Edited sim.cfg file:

[General]
Category=Viewer
Module=SODE

[fltsim.0]
title=Taxi_Edge_Light_Night
model=taxiedgelight
texture=taxiedgelight

I tested it out on sim, but the model still doesn't appear.
 
Messages
611
Country
switzerland
Do you have my demo files installed? If yes you can try this:
Replace the <Model SimTitle="Taxi_Edge_Light_Night"> with <Model SimTitle="12bPilot_SODE_Object_2">

Does the huge sphere appear in the sim?
 
Messages
442
Country
malaysia
Do you have my demo files installed? If yes you can try this:
Replace the <Model SimTitle="Taxi_Edge_Light_Night"> with <Model SimTitle="12bPilot_SODE_Object_2">

Does the huge sphere appear in the sim?

After changing the code as below:

<SODE>

<!-- TimeOfDay based switching of Textures -->
<SimObject Name="Taxi Edge Light">
<Placement Lat="5.30890086" Lon="100.28642178" Alt="0#AGL" Hdg="000"/>
<Model SimTitle="12bPilot_SODE_Object_2">
<ConditionalVisibility Variable="TimeOfDay" Value="DAY;DAWN;DUSK;NIGHT"/>
</Model>

</SimObject>

</SODE>

Sorry to say, I can't see the sphere appear on sim.

Edited #1:

I found the large sphere object appear on P3D but not in FSX. Is there anything to do with FSX SODE setting?

Edited #2:
I found there is problem with the registration of SODE to FSX. After fixing that, problem solved. The following codes works finely in both FSX/P3D


<SODE>


<!-- TimeOfDay based switching of Textures -->
<SimObject Name="Taxi Edge Light">
<Placement Lat="5.30867653" Lon="100.28670073" Alt="0#AGL" Hdg="000"/>
<Model SimTitle="Taxi_Edge_Light_Night">
<ConditionalVisibility Variable="TimeOfDay" Value="DAY;DAWN;DUSK;NIGHT"/>
</Model>
</SimObject>

</SODE>


Now I can see the taxi edge light on my sim. Thanks for your guidance @Jeffrey Stähli

 
Last edited:
Messages
611
Country
switzerland
I'm not a FSX:SE expert, I guess clicking on yes should stop this the next time? This is a simulator message, not something from SODE. Better ask in other general forums if this message should keep displaying...
 
Messages
442
Country
malaysia
I'm not a FSX:SE expert, I guess clicking on yes should stop this the next time? This is a simulator message, not something from SODE. Better ask in other general forums if this message should keep displaying...

Thanks Jeffrey Stahil,

I will try post on general forum regarding this issue.
 
Top