• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Potentiometer lights

Messages
14
Country
unitedstates
Hello. I've been experimenting with aircraft lights and was wondering if someone could break down the potentiometer lights for me a bit. Here is the template and default settings:

<Template Name="ASOBO_LIGHTING_Switch_Potentiometer_Template">
<DefaultTemplateParameters>
<POTENTIOMETER>1</POTENTIOMETER>
<NODE_ID>LIGHTING_Switch_Potentiometer</NODE_ID>
<ANIM_NAME>LIGHTING_Switch_Potentiometer</ANIM_NAME>
<LEFT_SINGLE_CODE></LEFT_SINGLE_CODE>
<ANIM_CODE>(A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent) 0 &gt; 100 *</ANIM_CODE>
<INIT_ON_COND>(A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent) 0 &gt;</INIT_ON_COND>
<WWISE_EVENT_1>potentiometer_light_switch_on</WWISE_EVENT_1>
<WWISE_EVENT_2>potentiometer_light_switch_off</WWISE_EVENT_2>
<NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1>
<NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2>
</DefaultTemplateParameters>
</UseTemplate>

I'm assuming it works like this, but don't quite have it working yet for some reason...

<POTENTIOMETER>1</POTENTIOMETER> ;referenced in the ANIM_CODE #POTENTIOMETER#

<NODE_ID>LIGHTING_Switch_Potentiometer</NODE_ID> ;The name of the node where the light's adjustments are going to be made (dial/lever, etc).
<ANIM_NAME>LIGHTING_Switch_Potentiometer</ANIM_NAME> ; The name of the animation that the lever or dial uses.

<LEFT_SINGLE_CODE></LEFT_SINGLE_CODE> ;left-click option if needed such as turning a dial into an on/off state.

<ANIM_CODE>(A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent) 0 &gt; 100 *</ANIM_CODE> ; increase the value of LIGHT POTENTIOMETER #number# from above.
<INIT_ON_COND>(A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent) 0 &gt;</INIT_ON_COND> ; value when the adjustment decreases


<WWISE_EVENT_1>potentiometer_light_switch_on</WWISE_EVENT_1> ;Still a bit lost with this. Should I change this to something like "beacon_light_switch_on" if I want to dim the beacon lights? Had no luck so far.
<WWISE_EVENT_2>potentiometer_light_switch_off</WWISE_EVENT_2>

<NORMALIZED_TIME_1>0.1</NORMALIZED_TIME_1> ; Time between turning the dial/lever and how long it takes for the lighting effects to change.
<NORMALIZED_TIME_2>0.5</NORMALIZED_TIME_2>


So yeah, that's my best guess. Not having any luck with it, though. Can someone point me in the right direction?
 
Back
Top