This commit is contained in:
Jonathan Redpath 2019-01-22 11:17:41 +00:00
commit 32a39e4474
5 changed files with 57 additions and 3 deletions

View file

@ -987,7 +987,6 @@
</emission> </emission>
</animation> </animation>
<!-- Panel lighting -->
<animation> <animation>
<name>Panel lighting</name> <name>Panel lighting</name>
<type>material</type> <type>material</type>

View file

@ -233,6 +233,20 @@
<name>Panel lighting</name> <name>Panel lighting</name>
<type>material</type> <type>material</type>
<object-name>MarkingLts</object-name> <object-name>MarkingLts</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission> <emission>
<red>1</red> <red>1</red>
<green>0.824</green> <green>0.824</green>
@ -266,4 +280,5 @@
<factor-prop>sim/model/lights/dome-light</factor-prop> <factor-prop>sim/model/lights/dome-light</factor-prop>
</emission> </emission>
</animation> </animation>
</PropertyList> </PropertyList>

View file

@ -80,6 +80,20 @@
<name>Panel lighting</name> <name>Panel lighting</name>
<type>material</type> <type>material</type>
<object-name>MarkingLts</object-name> <object-name>MarkingLts</object-name>
<condition>
<not>
<and>
<greater-than>
<property>sim/model/lights/dome-light</property>
<value>0</value>
</greater-than>
<less-than>
<property>controls/lighting/overhead-panel-norm</property>
<value>0.25</value>
</less-than>
</and>
</not>
</condition>
<emission> <emission>
<red>1</red> <red>1</red>
<green>0.824</green> <green>0.824</green>
@ -88,4 +102,30 @@
</emission> </emission>
</animation> </animation>
<animation>
<name>Panel lighting</name>
<type>material</type>
<object-name>MarkingLts</object-name>
<condition>
<and>
<not>
<greater-than>
<property>controls/lighting/overhead-panel-norm</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>
</PropertyList> </PropertyList>

View file

@ -744,7 +744,7 @@
<condition> <condition>
<less-than> <less-than>
<property>/it-autoflight/internal/heading-predicted-cmd</property> <property>/it-autoflight/internal/heading-predicted-cmd</property>
<value>1</value> <value>0.5</value>
</less-than> </less-than>
</condition> </condition>
<expression> <expression>

View file

@ -1 +1 @@
4739 4741