plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

Please take a moment to read the platform’s guidelines before you get started!


question

MV-JimStewart avatar image
MV-JimStewart asked MV-JimStewart commented

Please add a material option to prevent blue tooltip highlighting

I've noted that under certain circumstances, it's undesirable to have the pulsing blue highlight on an object during a mouseover event. Specific instances that have come up for myself have been:

- Press-to-test warning lamps. The blue highlight makes it difficult to see the tested light.

- Translucent objects (window shades, gear handles). The blue highlight seems to make the object disappear.

- Panels / objects with a $texture assigned. The blue highlight seems to interrupt the gauge drawing process.

In the above cases, all of these have been the result of the mouse interaction occurring on a parent object; When an object is highlighted, the children of that object are also highlighted. I've always been able to be creative and find a workaround, but there are occasions when, in the case of complex animated items, the workaround is fairly difficult to implement and far from desirable.

In the same way that a flag was recently implemented to disable motion blur on a material, it would be extremely useful if we could set a flag in the material editor to disable a certain material from being highlighted with the mouse / tooltip system.



aircraft3dsmax
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Simbol avatar image
Simbol answered Simbol edited

You can prevent this this by putting this tag inside the component code of your model behaviour:

<HIGHLIGHT_NODE_ID>__NO_HIGHLIGHT__</HIGHLIGHT_NODE_ID>

Best,
Raul

10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

MV-JimStewart avatar image
MV-JimStewart answered MV-JimStewart commented

Yes - that can work, but it removes the highlighting altogether. What I'm looking for is the ability to set that on only certain child objects. So that the parent object can still highlight, but the translucent child object can be excluded.

2 comments
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Vitus avatar image Vitus commented ·

Use a dummy/empty for the animation and attach all objects to it. Now you can use different nodes in the hierarchy to interact differently. I do this for instance for my hatches when latches are attached to them.

1 Like 1 ·
MV-JimStewart avatar image MV-JimStewart Vitus commented ·
Yep, currently doing that. It becomes unnecessarily challenging when you have multiple animated & interactable objects in the same hiearchy. It woulld all be made much easier (from our side) with a flag option in the material.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.