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

MSFS20 Visibility

i dont mean the animation though. I mean the node of the object. As far i can see this is used to identify/target the object.

it needs to fit this here

1621548545416.png
 
So you see, in my example its like this:

In Blender

1621548658392.png


And in the XML


<ModelInfo guid="{d9091148-064b-4517-175c-560f4a1ca4af}" version="1.1">
<LODS>
<LOD ModelFile="EDMI-Parasol.gltf" minSize="0">
</LOD>
</LODS>
</ModelInfo>

<ModelBehaviors>
<Include Path="Asobo\Misc\SimObjects.xml"/>

<Component ID="Parasol" Node="Parasol">
<Visibility>
<Parameter>
<Code>(E:LOCAL TIME, Seconds) 36000 &gt;= (E:LOCAL TIME, Seconds) 68400 &lt;= and (A:AMBIENT PRECIP STATE, mask) 4 &lt; and if{ 1 } els{ 0 }</Code>
</Parameter>
</Visibility>
</Component>
</ModelBehaviors>
 
You guys are awesome. It worked beautifully. Continuing my studies, what do I need to do in the blender to do this in a hangar door? I want to make an animation of the door closing at night. I know the basics are the same, but do I need to call animation x as?
 
I created an animation in blender, the doors closing. with 6 separate doors.

1.jpg


2.jpg


3.jpg


and my xml

<?xml version="1.0" ?>
<ModelInfo guid="*(GUID)*" version="1.1">
<LODS>
<LOD MinSize="0" ModelFile="ssdk_hangar_fechando.gltf"/>
</LODS>

<Animation name="portao1Action" guid="*(GUID)*" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portao1Action"/>

<PartInfo>
<Name>portao1Action</Name>
<AnimLength>460</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 &gt;=
(E:LOCAL TIME, Seconds) 64800 &lt;= and if{ 460 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>


</ModelInfo>

But so far I haven't seen it working. Am I on the right path?
 
Hi, that's how I see this: several trials by different people have taken place during the last days, weeks, month to make this hangar door animation work. Unfortuantely I haven't heard of any successfull one. It was successful to define the animation as type="Standard" typeParam="AutoPlay" that allows only to loop the existing animation. In the sdk docs you'll find a note, that material animation "is a matter of change" presently which to me means that it's not working. If haven't tried to create a very long keyframe that lasts like 5 minutes to keep the open state or the close state at least for some minutes to perform so it seems that the doors will stay in the temporary final position. I stoped trying but you could try this variation if you like... Regards Guido
 
Last edited:
I found a scenario that succeeded. But I still don't understand how he managed to tie the blender with the xml.
 
I found a scenario that succeeded. But I still don't understand how he managed to tie the blender with the xml.
I'm not sure what you meen by scenario that succeeded. If you meen that you have a working blender animation that ok but not an issue. I have an opening and closing hangar that starts when I approach the hangar and come closer than 50 meters to it. But it opens and closes in a loop. That is the issue with material animations which cannot be connected to animations of the type "sim".
 
Nice but I don't see anything. Did you buy it and it works? If so, get the xml code and look how they have managed that. The xml files are in the community folder after installation. That would be really nice if they found a way to realize what we tried so hard and failed. So check the xml files pls.
 
<?xml version="1.0" encoding="utf-8"?>
<ModelInfo guid="{59c7bab4-cd62-430a-fad5-92463ab1deb3}" version="1.1">
<LODS>
<LOD minSize="0" ModelFile="sssshangar03A.gltf"/>
</LODS>

<Animation name="janelaf1.1" guid="e0a92163-f7d0-407e-9bbb-b2e82625fdfc" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf1.1"/>

<PartInfo>
<Name>janelaf1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 &gt;=
(E:LOCAL TIME, Seconds) 64800 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="janelaf1.2" guid="13a70ac4-7d66-478a-b070-52a117b45887" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf1.2"/>

<PartInfo>
<Name>janelaf1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 &gt;=
(E:LOCAL TIME, Seconds) 64800 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="janelaf2.1" guid="dab1eea6-3c42-4861-9d43-5539026adcc3" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf2.1"/>

<PartInfo>
<Name>janelaf2.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 &gt;=
(E:LOCAL TIME, Seconds) 64800 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="janelaf2.2" guid="a1c4abc0-3265-4a49-bbeb-6406a9dbc318" type="Sim" typeParam="AutoPlay" length="100" typeParam2="janelaf2.2"/>

<PartInfo>
<Name>janelaf2.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 28800 &gt;=
(E:LOCAL TIME, Seconds) 64800 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah1.1" guid="71032a6e-d4ff-4cc4-ab9e-9aec29845cd7" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.1"/>

<PartInfo>
<Name>portah1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah1.2" guid="2f3e3aac-464a-4b59-a7c2-ffbf4d4f686a" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.2"/>

<PartInfo>
<Name>portah1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah1.3" guid="5479b22e-2155-4d72-ac29-ac476e3f1029" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah1.3"/>

<PartInfo>
<Name>portah1.3</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 24000 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah3.1" guid="ba93ff95-9be4-4cbc-93de-979008a88f73" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.1"/>

<PartInfo>
<Name>portah3.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 &gt;=
(E:LOCAL TIME, Seconds) 71000 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah3.2" guid="6d390692-b65e-4ec8-beab-950f19365e90" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.2"/>

<PartInfo>
<Name>portah3.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 &gt;=
(E:LOCAL TIME, Seconds) 71000 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah3.3" guid="966fb2c9-b209-4dce-9db9-8378e779c32a" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.3"/>

<PartInfo>
<Name>portah3.3</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 &gt;=
(E:LOCAL TIME, Seconds) 71000 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portah3.4" guid="1c49104d-e74c-49b1-98a5-6c8aad8bee64" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portah3.4"/>

<PartInfo>
<Name>portah3.4</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 22000 &gt;=
(E:LOCAL TIME, Seconds) 71000 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portao" guid="886cb3c6-4770-4e87-9628-f6d0527162ca" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portao"/>

<PartInfo>
<Name>portao</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portaof1.1" guid="8f17c030-8e5d-4a58-a766-c708457706ab" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaof1.1"/>

<PartInfo>
<Name>portaof1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portaof1.2" guid="39ddd429-483b-4a83-8a47-b2d886441d34" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaof1.2"/>

<PartInfo>
<Name>portaof1.2</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

<Animation name="portaol1.1" guid="1984f38d-e8c5-447f-9410-9b6daf41032d" type="Sim" typeParam="AutoPlay" length="100" typeParam2="portaol1.1"/>

<PartInfo>
<Name>portaol1.1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(E:LOCAL TIME, Seconds) 25200 &gt;=
(E:LOCAL TIME, Seconds) 67500 &lt;= and if{ 100 } els{ 0 }
</Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>

</ModelInfo>
 
Thx, could you provide a short video of the animation and the sim.xml content of the associatet xml-content of sssshangar03A.gltf? When I compare the code with what I tried in the past, I cannot see any new stuff in this xml part. I haven't tried with the value 100 but with other values for the animation length. That might be the secret and I'll give it a try these days.
Regards Guido
 
Wow it works with my hangar as well. I'll upload a short clip. I connected the animation of opening/closing to the yoke hide/unhide function in the my TBA930....
 
Wow it works with my hangar as well. I'll upload a short clip. I connected the animation of opening/closing to the yoke hide/unhide function in the my TBA930....
Can you give more details on how it was done? More precisely in the blender?
 
Back
Top