- Messages
- 230
- Country

Hello Felix @capt_x,
I continue to experiment Blender2FSX Toolset ...!
Today, I am faced with a problem of "Visibility". This code does not work:
The value of (L: Cold) is always 0 ... The code is absolutely not considered!
I change my section <Visibility> to <Animation>, of course by changing the assignment of TAG in Blender as well:
... And everything works perfectly!
Why?
Thank you for all your wonderful work ...
I continue to experiment Blender2FSX Toolset ...!
Today, I am faced with a problem of "Visibility". This code does not work:
Code:
<Animation name="MoraneColdAndDark" guid="b4e5b630-43e4-44ca-0b1e-012074b472d9" length="75" type="Sim" typeParam2="MoraneColdAndDark" typeParam="AutoPlay"/>
<PartInfo>
<Name>MoraneColdAndDark</Name>
<AnimLength>75</AnimLength>
<Visibility>
<Parameter>
<Code>
(A:SIM ON GROUND, bool) 1 == (L:Cold) 0 == and
if{
1 (>K:MAGNETO1_OFF)
1 (>K:ENGINE_AUTO_SHUTDOWN)
50 (>K:ADD_FUEL_QUANTITY)
1 (>L:Cold)
}
</Code>
</Parameter>
</Visibility>
</PartInfo>
The value of (L: Cold) is always 0 ... The code is absolutely not considered!

I change my section <Visibility> to <Animation>, of course by changing the assignment of TAG in Blender as well:
Code:
<Animation name="MoraneColdAndDark" guid="b4e5b630-43e4-44ca-0b1e-012074b472d9" length="75" type="Sim" typeParam2="MoraneColdAndDark" typeParam="AutoPlay"/>
<PartInfo>
<Name>MoraneColdAndDark</Name>
<AnimLength>75</AnimLength>
<Animation>
<Parameter>
<Code>
(A:SIM ON GROUND, bool) 1 == (L:Cold) 0 == and
if{
1 (>K:MAGNETO1_OFF)
1 (>K:ENGINE_AUTO_SHUTDOWN)
50 (>K:ADD_FUEL_QUANTITY)
1 (>L:Cold)
}
</Code>
</Parameter>
</Animation>
</PartInfo>
... And everything works perfectly!
Why?
Thank you for all your wonderful work ...
