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

lyonhaart001 avatar image
lyonhaart001 asked lyonhaart001 edited

3 Types of Cabin Lights, Issue, Not Dimming

Team Asobo and Flying Raccoon,

I have a question. I am trying to do multiple cabin lights, like the Diamond DA62 and Cessna Caravan have. They have spotlights, left, right, and main cabin area, all using Type10 Cabin light system. They use SimVar Index's 1, 2, and 3 for these. These are the Index's in the Systems config/lights section. I am using this system to light up;
* Front Cockpit Spotlights
* Rear Passenger Cabin seating area's
* Galley


I tried to duplicate mine as much as possible except that two things occur;
* Cabin lights (Type10 lights) only have on/off, but should have Potentiometers/Dimmers. The dimmers arent working
* The Galley lights arent working (SimVar Index 3). They work with the rear cabin lights, but do not work on their own switch I have for them.

I tried taking out the Index identifiers in the Model Interior XML for these three switch templates, mimicking the way the DA62 is done, and the switches are the same. They animate, but are not dimming. They work (they light up the front cockpit and rear cabin area's, as needed, except they do not dim.

Any reason why they might not be dimming?

Many thanks,


Bill of the gigantic eyebrows people...

Lionheart Creations

light
10 |10000

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

1 Answer

·
lyonhaart001 avatar image
lyonhaart001 answered lyonhaart001 edited
This is one of the versions I have tried.  This is my latest version;
Note, this is from my Interior Model XML;

<Component ID="LIGHTING_Flood">
<Component ID="LIGTHING_Knobs_Flood">
<!-- Cockpit -->
<UseTemplate Name="ASOBO_LIGHTING_Knob_Cabin_Template">
<NODE_ID>LIGHTING_Knob_Cockpit</NODE_ID>
<ANIM_NAME>LIGHTING_Knob_Cockpit</ANIM_NAME>
<POTENTIOMETER>14</POTENTIOMETER>
<ANIMREF_ID>0</ANIMREF_ID>
<TT_DESCRIPTION_ID>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_ACTION</TT_DESCRIPTION_ID>
<TOOLTIP_TITLE>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_TITLE</TOOLTIP_TITLE>
<SIMVAR_INDEX>2</SIMVAR_INDEX>
<!-- <NO_AUTHORITY_OVER_SWITCH_STATE/> -->
</UseTemplate>
<!-- Rear Cabin Area -->
<UseTemplate Name="ASOBO_LIGHTING_Knob_Cabin_Template">
<NODE_ID>LIGHTING_Knob_Cabin_Rear</NODE_ID>
<ANIM_NAME>LIGHTING_Knob_Cabin_Rear</ANIM_NAME>
<POTENTIOMETER>12</POTENTIOMETER>
<ANIMREF_ID>0</ANIMREF_ID>
<TT_DESCRIPTION_ID>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_ACTION</TT_DESCRIPTION_ID>
<TOOLTIP_TITLE>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_TITLE</TOOLTIP_TITLE>
<SIMVAR_INDEX>1</SIMVAR_INDEX>
<!-- <NO_AUTHORITY_OVER_SWITCH_STATE/> -->
</UseTemplate>
<!-- Galley -->
<UseTemplate Name="ASOBO_LIGHTING_Knob_Cabin_Template">
<NODE_ID>LIGHTING_Knob_Entry_Galley</NODE_ID>
<ANIM_NAME>LIGHTING_Knob_Entry_Galley</ANIM_NAME>
<POTENTIOMETER>15</POTENTIOMETER>
<ANIMREF_ID>0</ANIMREF_ID>
<TT_DESCRIPTION_ID>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_ACTION</TT_DESCRIPTION_ID>
<TOOLTIP_TITLE>@TT_Package.LIGHTING_KNOB_LIGHT_FLOODLIGHT_BRIGHTNESS_TITLE</TOOLTIP_TITLE>
<SIMVAR_INDEX>3</SIMVAR_INDEX>
<!-- <NO_AUTHORITY_OVER_SWITCH_STATE/> -->
</UseTemplate>
</Component>
</Component>
1 comment
10 |10000

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

The above code section is nearly duplicate of the Cessna Caravan except different knob names, Animation names added, and Index's removed like the DA62 also doesnt have.
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.