Debian Codegraph @

Aircraft/c172p/Models/Interior/FE-ELT/elt-fg1000.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!-- Adapted from the Diamond-da40 -->
4
5 <PropertyList>
6
7 <path>elt-fg1000.ac</path>
8 <texture-path>../../../../Models</texture-path>
9
10 <effect>
11 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-interior-panel-parts</inherits-from>
12 <object-name>eltlamp</object-name>
13 <object-name>ELTSwitch</object-name>
14 <object-name>eltbolts</object-name>
15 </effect>
16
17 <effect>
18 <inherits-from>Aircraft/c172p/Models/Effects/interior/lm-fg1000-hobbs-implicit</inherits-from>
19 <object-name>eltpanel</object-name>
20 </effect>
21
22 <animation>
23 <type>material</type>
24 <object-name>eltpanel</object-name>
25 <object-name>eltlamp</object-name>
26 <object-name>ELTSwitch</object-name>
27 <object-name>eltbolts</object-name>
28 <condition>
29 <not>
30 <property>sim/rendering/shaders/skydome</property>
31 </not>
32 </condition>
33 <emission>
34 <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
35 <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
36 <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
37 </emission>
38 </animation>
39
40 <animation>
41 <type>pick</type>
42 <object-name>ELTSwitch</object-name>
43 <visible>true</visible>
44 <action>
45 <button>0</button>
46 <repeatable>false</repeatable>
47 <binding>
48 <command>property-toggle</command>
49 <property>controls/switches/eltswitch</property>
50 </binding>
51 <binding>
52 <command>nasal</command>
53 <script>c172p.click("avionics")</script>
54 </binding>
55 </action>
56 <hovered>
57 <binding>
58 <command>set-tooltip</command>
59 <tooltip-id>ELT-switch</tooltip-id>
60 <label>ELT: %s</label>
61 <mapping>on-off</mapping>
62 <property>controls/switches/eltswitch</property>
63 </binding>
64 </hovered>
65 </animation>
66 <animation>
67 <type>rotate</type>
68 <object-name>ELTSwitch</object-name>
69 <property>controls/switches/eltswitch</property>
70 <factor>-20</factor>
71 <axis>
72 <x>0.0</x>
73 <y>1.0</y>
74 <z>0.0</z>
75 </axis>
76 <center>
77 <x-m>-0.360932</x-m>
78 <y-m> 0.307917</y-m>
79 <z-m> 0.115113</z-m>
80 </center>
81 </animation>
82
83 </PropertyList>