MSFS2024 Enviroment Variables not working

Version: Dev Alpha

Frequency: Consistently

Severity: Low For my application

Bug description:

Found that Environment Variables aren’t working as before in 2024.

Zulu Time seems to be using real world time, where as before it was based of the in-sim time.
Local Time seems to be ok.

Attachments:
This is Japan timezone offset Time in my animation, but the hours don’t change with the sim, but matches real world time.

<ANIM_CODE>(E:ZULU TIME, hour) 9 + 12 % 5 *</ANIM_CODE>

This is local time and works fine matching the in sim time.

<ANIM_CODE>(E:LOCAL TIME, hour) 12 % 5 *</ANIM_CODE>

Any news on whether this is fixed in the release build, or when it will be fixed?

This bug breaks many features in our Black Square aircraft, several of them immediately noticeable, so has a very high severity in our case.

Hello,

@Nick_NZASimulations,
Could share with us the gltf / xml / bin impacted by this issue ?
See 3) Provide Private Content

@MartynJF ,
Can you give us more information about at least the name of one impacted aircraft and where to look please ?

Thank you.

Regards,
Boris

1 Like

Sent a Private Message with Models Attached.

Hi Boris,

Here is more information from Black Square:

The ZULU TIME variable can be observed using any variable inspector for MSFS, or getting the current value from the CoherentGT console using SimVar.GetSimVarValue(“E:ZULU TIME”, “Hours”), or SimVar.GetGlobalVarValue(“ZULU TIME” “Hours”). Within either of my Dukes, is a file, “BlackSquareTablet.js”, within which resides the same call to GetSimVarValue as above. All of my aircraft use E:ZULU TIME to calculate dynamic brightness of the avionics screens, which is defeated by this change.

The package name is ‘justflight-aircraft-pistonduke’.

Thanks,
Martyn - Just Flight

Hello @here

Can you confirm if this is fixed in the new update?

Regards,
Boris

Fixed now in 1.2.7. Thank you!

Awesome. All working here as well.