3D: light up landing gear lever label
This commit is contained in:
parent
5943e3b935
commit
1232c07beb
4 changed files with 74 additions and 7 deletions
|
@ -4513,6 +4513,53 @@
|
|||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear_lever_label-lit</object-name>
|
||||
<condition>
|
||||
<or>
|
||||
<equals>
|
||||
<property>controls/switches/annun-test</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>systems/gear/landing-gear-warning-light</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>gear_lever_label-lit</object-name>
|
||||
<emission>
|
||||
<red>1</red>
|
||||
<green>0.725</green>
|
||||
<blue>0.259</blue>
|
||||
<factor-prop>systems/gear/landing-gear-warning-light</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>gear_lever_label</object-name>
|
||||
<condition>
|
||||
<not>
|
||||
<or>
|
||||
<equals>
|
||||
<property>controls/switches/annun-test</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<equals>
|
||||
<property>systems/gear/landing-gear-warning-light</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</or>
|
||||
</not>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<!-- Landing Gear Lights -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
|
|
|
@ -132139,22 +132139,41 @@ OBJECT poly
|
|||
name "gear_lever_label"
|
||||
data 21
|
||||
gear_lever_label.mesh
|
||||
crease 45.0
|
||||
texture "main_labels.png"
|
||||
texrep 1 1
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
-0.53286 0.14914 -0.16915
|
||||
-0.53286 0.14914 -0.15553
|
||||
-0.50721 0.06388 -0.15553
|
||||
-0.50721 0.06388 -0.16915
|
||||
numsurf 1
|
||||
SURF 0X0
|
||||
SURF 0x0
|
||||
mat 19
|
||||
refs 4
|
||||
0 0.118804 0.584625
|
||||
1 0.026698 0.584625
|
||||
2 0.026698 0.015592
|
||||
3 0.118804 0.015592
|
||||
0 0.0944362 0.584625
|
||||
1 0.00233023 0.584625
|
||||
2 0.00233023 0.015592
|
||||
3 0.0944362 0.015592
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "gear_lever_label-lit"
|
||||
data 21
|
||||
gear_lever_label.mesh
|
||||
texture "main_labels.png"
|
||||
crease 45.000000
|
||||
numvert 4
|
||||
-0.50721 0.06388 -0.16915
|
||||
-0.50721 0.06388 -0.15553
|
||||
-0.53286 0.14914 -0.15553
|
||||
-0.53286 0.14914 -0.16915
|
||||
numsurf 1
|
||||
SURF 0x0
|
||||
mat 19
|
||||
refs 4
|
||||
3 0.192803 0.584625
|
||||
2 0.100697 0.584625
|
||||
1 0.100697 0.015592
|
||||
0 0.192803 0.015592
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "gear_lever_slot"
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 80 KiB |
|
@ -25,6 +25,7 @@ var ECAM = {
|
|||
setprop("/ECAM/to-memo-enable", 1);
|
||||
setprop("/ECAM/to-config", 0);
|
||||
setprop("/ECAM/ldg-memo-enable", 0);
|
||||
setprop("/systems/gear/landing-gear-warning-light", 0);
|
||||
},
|
||||
MSGclr: func() {
|
||||
setprop("/ECAM/ecam-checklist-active", 0);
|
||||
|
|
Reference in a new issue