2020 Gauge not working in 2024

EDIT: 2024 will not accept a (L:STARTER_COVER,) with a comma (without comma, works as intended). As well, Tooltips appear to now require the command format, and do not work with <ANIMTIP_0>Starter Cover</ANIMTIP_0> etc. style.

Frequency: Consistently

Severity: Blocker

We’ve used the following to animate small things like simple switch covers in several MSFS2020 projects. However, when the aircraft are placed in MSFS2024, the part illuminates correctly, but the animation does not move.

As an example, this particular gauge is from the Flight Replicas Spitfire Mk.Vb package:

	<Component ID="starter_cover" Node="fr_starter_cover">
		<UseTemplate Name="ASOBO_GT_Switch_Code">
			<PART_ID>fr_starter_cover</PART_ID>
			<ANIM_NAME>fr_starter_cover</ANIM_NAME>
			<ANIM_CODE>(L:STARTER_COVER,bool) 1 == if{ 100 } els{ 0 }</ANIM_CODE>
			<ANIM_LAG>200</ANIM_LAG>
			<ANIMTIP_0>Starter Cover</ANIMTIP_0>
			<ANIMTIP_1>Starter Cover</ANIMTIP_1>
			<ANIM_LENGTH>100</ANIM_LENGTH>
			<LEFT_SINGLE_CODE>(L:STARTER_COVER,) ! (&gt;L:STARTER_COVER,)</LEFT_SINGLE_CODE>
		</UseTemplate>
	</Component>

I’m having an issue where my buttons and switches don’t even illuminate when hovering over, the mouse icon remains an arrow instead of switched to a hand icon and I can’t click or drag anything throughout the cockpit. Very frustrating.

What do you mean saying “Tooltips appear to now require the command format” ?

About the issues <ANIMTIP_0> not working anymore I already entered that issue in one of the first Dev Alpha days (one month ago) with no feedback at all

This is the format referred to. At the time of the original message, it wouldn’t accept this (or was my mistake) - but does now .

<TOOLTIPID>Alt Adjust</TOOLTIPID>

But then you can no more show distinct tooltip based on switch status

I found where there is a difference between MSFS2020 and MSFS2024 SDK

If you check the ASOBO_GT_MouseRect_Impl subtemplate (used in the ASOBO_GT_Switch_Code template) you will find few changes there making the behavior different between the two versions

in particular in the MSFS2020 SDK the line 67 with this condition

  			<Condition NotEmpty="TOOLTIP_TITLE">

is no more there in the MSFS2024 SDK (who knows why) therefore making the ANIMTIP no more useable

Actually I think this is a bug

1 Like

I noticed today that in walk around mode, I’m able to interact with all of my switches and tooltips pop up. In cockpit mode, nothing works :confused: Are you having the same results?

Hello @MandatedMf1

This should be fixed in 1.2.7.0
Let us know if that’s good for you.

Regards,
Sylvain