Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/EGT/EGT.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 This file is part of FlightGear, the free flight simulator
5 http://www.flightgear.org/
6
7 Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
18 -->
19
20 <PropertyList>
21
22 <path>EGT.ac</path>
23
24 <animation>
25 <type>rotate</type>
26 <object-name>Needle</object-name>
27 <property alias="../../params/value"/>
28 <factor>-90.0</factor>
29 <axis>
30 <x>1.0</x>
31 <y>0.0</y>
32 <z>0.0</z>
33 </axis>
34 <center>
35 <x-m>-0.37262</x-m>
36 <y-m>-0.13261</y-m>
37 <z-m>-0.11616</z-m>
38 </center>
39 </animation>
40
41 <animation>
42 <type>rotate</type>
43 <object-name>Bug</object-name>
44 <object-name>Knob</object-name>
45 <property alias="../../params/bug"/>
46 <factor>-90.0</factor>
47 <axis>
48 <x>1.0</x>
49 <y>0.0</y>
50 <z>0.0</z>
51 </axis>
52 <center>
53 <x-m>-0.37097</x-m>
54 <y-m>-0.13261</y-m>
55 <z-m>-0.11616</z-m>
56 </center>
57 </animation>
58
59 <animation>
60 <type>knob</type>
61 <object-name>Knob</object-name>
62 <action>
63 <repeatable>true</repeatable>
64 <binding>
65 <command>property-adjust</command>
66 <property alias="../../../../params/bug"/>
67 <factor>0.01</factor>
68 <min>0.0</min>
69 <max>1.0</max>
70 <wrap>0</wrap>
71 </binding>
72 </action>
73 <axis>
74 <x>1</x>
75 <y>0</y>
76 <z>0</z>
77 </axis>
78 <hovered>
79 <binding>
80 <command>set-tooltip</command>
81 <tooltip-id>egt-bug-norm</tooltip-id>
82 <label>EGT Bug: %.2f</label>
83 <property alias="/params/bug"/>
84 </binding>
85 </hovered>
86 </animation>
87
88 <effect>
89 <inherits-from>../../../../Effects/interior/lm-egt</inherits-from>
90 <object-name>Needle</object-name>
91 <object-name>Bug</object-name>
92 <object-name>Knob</object-name>
93 <object-name>Face</object-name>
94 <object-name>Front</object-name>
95 <object-name>Case</object-name>
96 </effect>
97
98 <params>
99 <value>/engines/active-engine/egt-norm</value>
100 <bug>engines/engine[0]/egt-bug-norm</bug>
101 </params>
102
103 <animation>
104 <type>material</type>
105 <object-name>Needle</object-name>
106 <object-name>Bug</object-name>
107 <object-name>Knob</object-name>
108 <object-name>Face</object-name>
109 <object-name>Case</object-name>
110 <condition>
111 <or>
112 <not>
113 <property>sim/rendering/shaders/skydome</property>
114 </not>
115 <equals>
116 <property>sim/rendering/shaders/model</property>
117 <value>0</value>
118 </equals>
119 </or>
120 </condition>
121 <emission>
122 <red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop>
123 <green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop>
124 <blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop>
125 </emission>
126 </animation>
127
128 <animation>
129 <type>material</type>
130 <object-name>Front</object-name>
131 <condition>
132 <or>
133 <not>
134 <property>sim/rendering/shaders/skydome</property>
135 </not>
136 <equals>
137 <property>sim/rendering/shaders/model</property>
138 <value>0</value>
139 </equals>
140 </or>
141 </condition>
142 <emission>
143 <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
144 <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
145 <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
146 </emission>
147 </animation>
148
149 </PropertyList>