Standby compass integral light
This commit is contained in:
parent
67a09ab7c6
commit
7c38a34925
3 changed files with 66 additions and 0 deletions
|
@ -39632,6 +39632,58 @@
|
|||
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Standby compass integral lighting</name>
|
||||
<type>material</type>
|
||||
<object-name>compass_box.wheel</object-name>
|
||||
<condition>
|
||||
<not>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>sim/model/lights/dome-light</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>controls/lighting/stby-compass</property>
|
||||
<value>0.25</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</not>
|
||||
</condition>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>0.725</green>
|
||||
<blue>0.259</blue>
|
||||
<factor-prop>controls/lighting/stby-compass</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<name>Standby compass integral lighting (dome)</name>
|
||||
<type>material</type>
|
||||
<object-name>compass_box.wheel</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<greater-than>
|
||||
<property>controls/lighting/stby-compass</property>
|
||||
<value>0.25</value>
|
||||
</greater-than>
|
||||
</not>
|
||||
<greater-than>
|
||||
<property>sim/model/lights/dome-light</property>
|
||||
<value>0</value>
|
||||
</greater-than>
|
||||
</and>
|
||||
</condition>
|
||||
<emission>
|
||||
<red>0.20</red>
|
||||
<green>0.20</green>
|
||||
<blue>0.20</blue>
|
||||
<factor-prop>sim/model/lights/dome-light</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Dome Light -->
|
||||
<animation>
|
||||
|
|
|
@ -43,6 +43,13 @@
|
|||
<output>/controls/lighting/overhead-panel-norm</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
<input>/controls/lighting/stby-compass-tied</input>
|
||||
<output>/controls/lighting/stby-compass</output>
|
||||
</filter>
|
||||
|
||||
<filter>
|
||||
<type>gain</type>
|
||||
<gain>1.0</gain>
|
||||
|
|
|
@ -108,6 +108,13 @@
|
|||
/systems/electrical/bus/dc-ess ge 25
|
||||
</test>
|
||||
</switch>
|
||||
|
||||
<switch name="/controls/lighting/stby-compass-tied">
|
||||
<default value="0" />
|
||||
<test value="/controls/lighting/stby-compass-switch">
|
||||
/systems/electrical/bus/dc-ess ge 25
|
||||
</test>
|
||||
</switch>
|
||||
</channel>
|
||||
|
||||
<channel name="Exterior Lights" execrate="8">
|
||||
|
|
Loading…
Reference in a new issue