Version: SU1 Beta - 1.3.22.0
Frequency: Consistently
Severity: Blocker
Bug description:
Sometime in the last few SU1 beta updates, some fixes for Simvars seem to have been reverted.
I previously made this post where I discussed some of the features that were currently not working in my sceneries. All of which seemed to be fixed in earlier SU1 beta releases.
I know there were also discussions of time related simvars not working correctly in the past.
Currently, the following features are not working in my sceneries:
Ambient Sounds which only play when the following conditions are met:
(E:TIME OF DAY, Enum) 3 == (A:AMBIENT PRECIP STATE, mask) 2 ==
and d (L:ESD_NightNoWX, bool) !=
if{ (>L:ESD_NightNoWX, bool) }
Snow / Icicles should show or hide based on the following code:
(A:AMBIENT TEMPERATURE, celsius) 1 neg <= (A:AMBIENT PRECIP STATE, mask) 8 ==
and (A:AMBIENT TEMPERATURE, celsius) 12 neg <=
or (A:SURFACE TYPE,Enum) 8 ==
or d (L:ESD_Snow, bool) !=
if{ (>L:ESD_Snow, bool) }
Lights in various Hangars:
(E:TIME OF DAY, Enum) 0 == (E:TIME OF DAY, Enum) 2 >= (A:AMBIENT PRECIP STATE, mask) 4 >=
or or d (L:ESD_Lights, bool) !=
if{ (>L:ESD_Lights, bool) }
This code is all initiated via a CalculatorFormula element in a Worldscript.
I also have these features which are a part of my Bald Eagle Airfield- Myakka Head scenery and do not rely on any Worldscript code. They are just SimObject Behaviors.
Hangar door opens based on several conditions:
<UseTemplate Name="ASOBO_GT_Anim">
<ANIM_NAME>Opening</ANIM_NAME>
<!-- Hangar open Dawn-Dusk on Wednesday, Friday, & Saturday, while not raining.-->
<ANIM_CODE>(E:LOCAL DAY OF WEEK, number) 2 == (E:LOCAL DAY OF WEEK, number) 4 == || (E:LOCAL DAY OF WEEK, number) 5 == || (E:TIME OF DAY, Enum) 3 < && (A:AMBIENT PRECIP STATE, mask) 2 == && if{ 100 } els{ 0 }</ANIM_CODE>
<ANIM_WRAP>1</ANIM_WRAP>
<ANIM_LENGTH>100</ANIM_LENGTH>
</UseTemplate>
The same Hangar bay Light is turned on or off based on several conditions (and if the door is opened or closed):
<Component ID="Left_On" Node="Light_Left_On">
<UseTemplate Name="ASOBO_GT_Visibility">
<!-- Hangar lights on dawn & dusk on Wednesday, Friday, & Saturday, while not raining.-->
<VISIBILITY_CODE>
(E:LOCAL DAY OF WEEK, number) 2 ==
(E:LOCAL DAY OF WEEK, number) 4 == ||
(E:LOCAL DAY OF WEEK, number) 5 == ||
(E:TIME OF DAY, Enum) 0 ==
(E:TIME OF DAY, Enum) 2 == || &&
(A:AMBIENT PRECIP STATE, mask) 2 == &&
</VISIBILITY_CODE>
</UseTemplate>
</Component>
<Component ID="Left_Off" Node="Light_Left_Off">
<UseTemplate Name="ASOBO_GT_Visibility">
<VISIBILITY_CODE>
(E:LOCAL DAY OF WEEK, number) 2 ==
(E:LOCAL DAY OF WEEK, number) 4 == ||
(E:LOCAL DAY OF WEEK, number) 5 == ||
(E:TIME OF DAY, Enum) 0 ==
(E:TIME OF DAY, Enum) 2 == || &&
(A:AMBIENT PRECIP STATE, mask) 2 == && !
</VISIBILITY_CODE>
</UseTemplate>
</Component>
TIME OF DAY definitely seems to have an issue again. Possibly LOCAL DAY OF WEEK as well. I have not narrowed down which Simvar(s) in the Snow / Icicles code seems to be the issue yet.