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

P3D v3 [SOLVED] SODE Where I am wrong?

Messages
130
Country
israel
I'm trying to put my model of Approach poles and later to attached the lights but nothing seem to appears

but not a single problem with the sode jetway they all works fine!

so here is my XML
<SODE>

<!--Approach35R-->
<SimObject Name="approach35r">
<Placement Lat="45.629008532694" Lon="8.7155481675413" Alt="0#AGL" Hdg="350.0"/>
<Model SimTitle="approch35_r">
<ConditionalVisibility LogicExpression="A">
<Condition ID="A" Variable="TimeOfDay" Value="DAWN;DUSK;NIGHT"/>
</ConditionalVisibility>
</Model>
</SimObject>

here is the sim.cfg

[General]
Category=Viewer
Module=SODE

[fltsim.3]
title=approch35_r
sim=
model=approach35r
texture=

Model Cfg

[models]
normal=approach35r.MDL

in the folder of the MDL
approach35r.MDL

do i have to do some other action to make appears

thanks in Advance

David
 
Hey David

Does it appear when you remove the <ConditionalVisibility LogicExpression="A"> . . </ConditionalVisibility> stuff, i.e. placing a "static" model?
Also in the model.cfg, the .MDL in the name is not needed -> normal=approach35r is fine.

Tipp: Use a prefix for your simtitles because they need to be unique for the simulator. In the unlikely event where someone also chooses to name his object "approch35_r", the sim gets confused and may crash! So name it something like "YourCompany_Project_Objectname" (example: 12bPilot_LSZH_ApproachLights14)
 
Hey Jeffrey

After changing the sim.cfg
[fltsim.3]
title=DRS_Limc_approach35
sim=
model=approach35r
texture=
XML
<!--Approachsystems-->
<SimObject Name="approachlight">
<Placement Lat="45.6142606164896" Lon="8.73783563465892" Alt="0#AGL" Hdg="348.0"/>
<Model SimTitle="DRS_Limc_approach35">
</Model>
</SimObject>
also remove the <ConditionalVisibility>just to make for the test into static model. this is the massage from the log
[16:30:54.617] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
[16:31:54.430] INFO SODE.FSLOOP : SeasonalObjectHandler: Refreshing Season/Time Data...
[16:31:54.624] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
[16:32:54.430] INFO SODE.FSLOOP : SeasonalObjectHandler: Refreshing Season/Time Data...
[16:32:54.599] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
[16:33:54.428] INFO SODE.FSLOOP : SeasonalObjectHandler: Refreshing Season/Time Data...
[16:33:54.612] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
[16:34:54.401] INFO SODE.FSLOOP : SeasonalObjectHandler: Refreshing Season/Time Data...
[16:34:54.586] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
[16:35:54.461] INFO SODE.FSLOOP : SeasonalObjectHandler: Refreshing Season/Time Data...
[16:35:54.673] ERROR SODE.FSLOOP : SimConnect EXCEPTION! Not able to create SimObject 'approachlight::DRS_Limc_approach35'
the interesting thing is when I tried to put the rwyLight with <ConditionalVisibility> it's works
I'm quite sure it's something to do with SimConnect but i'm not a programmer so I stuck:banghead:
I have changes the quid number and export only the light's poly, nothing
Sorry to bother you I know that I can do it as a regular bgl but the I'll have the problem of the size of light's from far away (can't remove the light at day time) i have check it as bgl and light look great from far
Thanks
David
 
Those exceptions appear when the sim is not able to find the object through the simtitle. Can you post your complete sim.cfg please?
 
Thanks Jeffrey for your help Here it is
I couldn't upload it as a cfg file so I save it as a simple txt
David
 

Attachments

Could you send me your zipped SimObjects folder for LIMC? And your xml file? You can send me a PM with those attachments
 
For the records, the problem was a mistyped folder name so the sim was not able to find the model file. Solved.
 
Back
Top