Pilatus PC 12/47 : Adding a livery "Orange", improved dashboard.
[fg:toms-fgdata.git] / Aircraft / PC-12 / Models / Interior / interior.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <PropertyList>
4
5   <path>interior.ac</path>
6
7   <animation>
8     <!-- Objets opaques -->
9     <object-name>interieur</object-name>
10     <object-name>inttour</object-name>
11     <object-name>intporte</object-name>
12     <object-name>intbaie</object-name>
13     <object-name>cloisons</object-name>
14     <object-name>planchet</object-name>
15     <object-name>cotes</object-name>
16     <object-name>trousgobelets</object-name>
17
18     <!-- Objets transparents -->
19     <object-name>intvitres</object-name>
20     <object-name>intvitrebaie</object-name>
21   </animation>
22
23   <!-- working for Rembrandt -->
24   <effect>
25     <inherits-from>Aircraft/PC-12/Models/Effects/Glass/glass</inherits-from>
26     <object-name>intvitres</object-name>
27     <object-name>intvitrebaie</object-name>
28   </effect>
29   
30   <effect>
31     <inherits-from>Effects/model-transparent</inherits-from>
32     <object-name>intvitres</object-name>
33     <object-name>intvitrebaie</object-name>
34   </effect>
35   
36   <!-- Pilote -->
37   <model>
38     <path>Aircraft/PC-12/Models/Pilot/pilot.xml</path>
39     <offsets>
40       <x-m> -3.54497 </x-m>
41       <y-m> -0.32879 </y-m>
42       <z-m> -0.27645 </z-m>
43     </offsets>
44   </model>
45
46   <!-- Tableau de bord -->
47   <model>
48     <path>Aircraft/PC-12/Models/Interior/Panel/panel.xml</path>
49     <offsets>
50       <x-m> -3.844680 </x-m>
51       <y-m>  0.000000 </y-m>
52       <z-m> -0.001061 </z-m>
53     </offsets>
54   </model>
55
56   <!-- Pilote -->
57   <model>
58     <path>Aircraft/PC-12/Models/Interior/Seats/all-seats-tables.xml</path>
59   </model>
60
61   <!-- Porte avant -->
62   <animation>
63     <type>pick</type>
64     <object-name>intporte</object-name>
65     <visible>true</visible>
66     <action>
67       <button>0</button>
68       <repeatable>false</repeatable>
69       <binding>
70         <command>nasal</command>
71         <script>doors.crew.toggle();</script>
72       </binding>
73     </action>
74   </animation>
75   
76   <animation>
77     <type>rotate</type>
78     <object-name>intporte</object-name>
79     <property>sim/model/door-positions/crew/position-norm</property>
80     <interpolation>
81       <entry><ind> 0 </ind><dep>   0 </dep></entry>
82       <entry><ind> 1 </ind><dep> 155 </dep></entry>
83     </interpolation>
84     <axis>
85       <x1-m> -2.91089 </x1-m>
86       <y1-m> -0.79577 </y1-m>
87       <z1-m> -0.85223 </z1-m>
88       <x2-m> -2.44903 </x2-m>
89       <y2-m> -0.79087 </y2-m>
90       <z2-m> -0.85223 </z2-m>
91     </axis>
92   </animation>
93
94   <!-- Porte cargo -->
95   <animation>
96     <name>IntPorteCargo</name>
97     <object-name>intbaie</object-name>
98     <object-name>intvitrebaie</object-name>
99   </animation>
100   
101   <animation>
102     <type>pick</type>
103     <object-name>IntPorteCargo</object-name>
104     <visible>true</visible>
105     <action>
106       <button>0</button>
107       <repeatable>false</repeatable>
108       <binding>
109         <command>nasal</command>
110         <script>doors.passenger.toggle();</script>
111       </binding>
112     </action>
113   </animation>
114   
115   <animation>
116     <type>rotate</type>
117     <object-name>IntPorteCargo</object-name>
118     <property>sim/model/door-positions/passenger/position-norm</property>
119     <interpolation>
120       <entry><ind> 0 </ind><dep>    0 </dep></entry>
121       <entry><ind> 1 </ind><dep> -100 </dep></entry>
122     </interpolation>
123     <axis>
124       <x1-m> -0.03429 </x1-m>
125       <y1-m> -0.52347 </y1-m>
126       <z1-m>  0.54909 </z1-m>
127       <x2-m>  1.19196 </x2-m>
128       <y2-m> -0.52828 </y2-m>
129       <z2-m>  0.54909 </z2-m>
130     </axis>
131   </animation>
132
133 </PropertyList>