Models: Major interior updates, now can switch between different styles

This commit is contained in:
Sidi Liang 2020-03-02 15:54:22 +08:00
parent cce905626b
commit 6e077c497e
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
17 changed files with 109002 additions and 64318 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,218 @@
AC3Db
MATERIAL "ac3dmat12" rgb 0.266667 0.266667 0.266667 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
OBJECT world
kids 2
OBJECT poly
name "inside_indicater_right"
loc 1.29556 0.976486 0.20804
crease 45.000000
numvert 16
-0.00317609 0.00131774 0.0140294
0.000963569 0.0032481 0.0140294
0.000963569 0.0032481 0.00549549
-0.00317609 0.00131774 0.00549549
-0.00100374 -0.00334066 0.00549549
0.00313592 -0.00141031 0.00549549
0.00313592 -0.00141031 0.0140294
-0.00100374 -0.00334066 0.0140294
-0.000212431 -0.00485909 0.00553447
0.00392723 -0.00292867 0.00553447
0.0020262 0.00114834 -0.00299948
-0.00211346 -0.000782013 -0.00299948
-0.0021174 -0.000773787 -0.00299948
0.00202227 0.00115657 -0.00299948
0.000280857 0.00489104 0.00553447
-0.0038588 0.00296062 0.00553447
numsurf 12
SURF 0x30
mat 0
refs 4
7 0 0
6 1 0
5 1 1
4 0 1
SURF 0x30
mat 0
refs 4
0 0 0
3 1 0
2 1 1
1 0 1
SURF 0x30
mat 0
refs 4
3 0 0
4 1 0
5 1 1
2 0 1
SURF 0x30
mat 0
refs 4
1 0 0
6 1 0
7 1 1
0 0 1
SURF 0x30
mat 0
refs 4
0 0 0
7 1 0
4 1 1
3 0 1
SURF 0x30
mat 0
refs 4
2 0 0
5 1 0
6 1 1
1 0 1
SURF 0x30
mat 0
refs 4
13 0 0
10 1 0
9 1 1
14 0 1
SURF 0x30
mat 0
refs 4
15 0 0
8 1 0
11 1 1
12 0 1
SURF 0x30
mat 0
refs 4
14 0 0
9 1 0
8 1 1
15 0 1
SURF 0x30
mat 0
refs 4
12 0 0
11 1 0
10 1 1
13 0 1
SURF 0x30
mat 0
refs 4
15 0 0
12 1 0
13 1 1
14 0 1
SURF 0x30
mat 0
refs 4
8 0 0
9 1 0
10 1 1
11 0 1
kids 0
OBJECT poly
name "inside_indicater_left"
loc 1.29556 0.976486 0.462133
crease 45.000000
numvert 16
-0.0038588 0.00296062 -0.0945086
0.000280857 0.00489104 -0.0945086
0.00202227 0.00115657 -0.0859746
-0.0021174 -0.000773787 -0.0859746
-0.00211346 -0.000782013 -0.0859746
0.0020262 0.00114834 -0.0859746
0.00392723 -0.00292867 -0.0945086
-0.000212431 -0.00485909 -0.0945086
-0.00100374 -0.00334066 -0.103004
0.00313592 -0.00141031 -0.103004
0.00313592 -0.00141031 -0.0944696
-0.00100374 -0.00334066 -0.0944696
-0.00317609 0.00131774 -0.0944696
0.000963569 0.0032481 -0.0944696
0.000963569 0.0032481 -0.103004
-0.00317609 0.00131774 -0.103004
numsurf 12
SURF 0x30
mat 0
refs 4
7 0 0
6 1 0
5 1 1
4 0 1
SURF 0x30
mat 0
refs 4
0 0 0
3 1 0
2 1 1
1 0 1
SURF 0x30
mat 0
refs 4
3 0 0
4 1 0
5 1 1
2 0 1
SURF 0x30
mat 0
refs 4
1 0 0
6 1 0
7 1 1
0 0 1
SURF 0x30
mat 0
refs 4
0 0 0
7 1 0
4 1 1
3 0 1
SURF 0x30
mat 0
refs 4
2 0 0
5 1 0
6 1 1
1 0 1
SURF 0x30
mat 0
refs 4
13 0 0
10 1 0
9 1 1
14 0 1
SURF 0x30
mat 0
refs 4
15 0 0
8 1 0
11 1 1
12 0 1
SURF 0x30
mat 0
refs 4
14 0 0
9 1 0
8 1 1
15 0 1
SURF 0x30
mat 0
refs 4
12 0 0
11 1 0
10 1 1
13 0 1
SURF 0x30
mat 0
refs 4
15 0 0
12 1 0
13 1 1
14 0 1
SURF 0x30
mat 0
refs 4
8 0 0
9 1 0
10 1 1
11 0 1
kids 0

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,262 @@
<PropertyList>
<path>interior.ac</path>
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/Effects/interior</inherits-from>
<object-name>Mesh63</object-name>
<object-name>Mesh64</object-name>
<object-name>Mesh68</object-name>
<object-name>Mesh69</object-name>
</effect>
<!-- STEERINGWHEEL -->
<animation>
<type>rotate</type>
<object-name>steeringwheel</object-name>
<property>sim/multiplay/generic/float[18]</property>
<factor>-1</factor>
<center>
<x-m> 1.50</x-m>
<y-m>-0.33</y-m>
<z-m> 0.97</z-m>
</center>
<axis>
<x1-m>0.98</x1-m>
<y1-m>-0.33</y1-m>
<z1-m>0.72</z1-m>
<x2-m>2.00</x2-m>
<y2-m>-0.33</y2-m>
<z2-m>1.20</z2-m>
</axis>
</animation>
<!-- Engine Starter -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/starter/starter.xml</path>
<offsets>
<x-m>1.278</x-m>
<y-m>-0.18</y-m>
<z-m>0.91</z-m>
<pitch-deg>-10</pitch-deg>
</offsets>
</model>
<!-- MUG -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[13]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/mug/mug.ac</path>
<name>mug</name>
<offsets>
<x-m>1.55</x-m>
<y-m>-0.027</y-m>
<z-m>0.735</z-m>
</offsets>
</model>
<!-- GEAR HANDLE -->
<animation>
<type>pick</type>
<object-name>gearhandle</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>gearhandle</object-name>
<property>sim/multiplay/generic/int[11]</property>
<factor> 0.01 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Hand brake -->
<effect>
<inherits-from>/Effects/parkingbrake</inherits-from>
<object-name>handbrake.001</object-name>
</effect>
<animation>
<type>pick</type>
<object-name>handbrake.001</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.toggleHandBrake()</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>1</value>
</equals>
</condition>
<texture>Instruments/parkingbrake/parkingbrake_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>0</value>
</equals>
</condition>
<texture>Instruments/parkingbrake/parkingbrake.png</texture>
</animation>
<!-- switch for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/switch-horn.xml</path>
<offsets>
<x-m>1.405</x-m>
<y-m>-0.143</y-m>
<z-m>0.919</z-m>
<heading-deg>80.0</heading-deg>
<pitch-deg>-5.0</pitch-deg>
</offsets>
</model>
<!-- sign for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/horn.xml</path>
<offsets>
<x-m>1.416</x-m>
<y-m>-0.17</y-m>
<z-m>0.905</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for indicator -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/indicators.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Indicator sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/sign.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for warning lights -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/s-warninglights.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Warning lights sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/wl.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- CDU -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[14]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/CDU/boeing.xml</path>
<offsets>
<x-m>1.35</x-m>
<y-m>0.25</y-m>
<z-m>0.9</z-m>
<pitch-deg>-4</pitch-deg>
</offsets>
</model>
<!-- Accelerator -->
<animation>
<type>translate</type>
<object-name>accelerator</object-name>
<property>sim/multiplay/generic/float[22]</property>
<factor> 0.05 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Brake pedal -->
<animation>
<type>translate</type>
<object-name>brake</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.03 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

Before

Width:  |  Height:  |  Size: 765 KiB

After

Width:  |  Height:  |  Size: 765 KiB

View File

Before

Width:  |  Height:  |  Size: 870 KiB

After

Width:  |  Height:  |  Size: 870 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,262 @@
<PropertyList>
<path>interior.ac</path>
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/Effects/interior</inherits-from>
<object-name>Mesh63</object-name>
<object-name>Mesh64</object-name>
<object-name>Mesh68</object-name>
<object-name>Mesh69</object-name>
</effect>
<!-- STEERINGWHEEL -->
<animation>
<type>rotate</type>
<object-name>steeringwheel</object-name>
<property>sim/multiplay/generic/float[18]</property>
<factor>-1</factor>
<center>
<x-m> 1.50</x-m>
<y-m>-0.33</y-m>
<z-m> 0.97</z-m>
</center>
<axis>
<x1-m>0.98</x1-m>
<y1-m>-0.33</y1-m>
<z1-m>0.72</z1-m>
<x2-m>2.00</x2-m>
<y2-m>-0.33</y2-m>
<z2-m>1.20</z2-m>
</axis>
</animation>
<!-- Engine Starter -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/starter/starter.xml</path>
<offsets>
<x-m>1.278</x-m>
<y-m>-0.18</y-m>
<z-m>0.91</z-m>
<pitch-deg>-10</pitch-deg>
</offsets>
</model>
<!-- MUG -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[13]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/mug/mug.ac</path>
<name>mug</name>
<offsets>
<x-m>1.55</x-m>
<y-m>-0.027</y-m>
<z-m>0.735</z-m>
</offsets>
</model>
<!-- GEAR HANDLE -->
<animation>
<type>pick</type>
<object-name>gearhandle</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>gearhandle</object-name>
<property>sim/multiplay/generic/int[11]</property>
<factor> 0.01 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Hand brake -->
<effect>
<inherits-from>/Effects/parkingbrake</inherits-from>
<object-name>handbrake.001</object-name>
</effect>
<animation>
<type>pick</type>
<object-name>handbrake.001</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.toggleHandBrake()</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>1</value>
</equals>
</condition>
<texture>Aircraft/followme_e-tron/Models/Instruments/parkingbrake/parkingbrake_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>0</value>
</equals>
</condition>
<texture>Aircraft/followme_e-tron/Models/Instruments/parkingbrake/parkingbrake.png</texture>
</animation>
<!-- switch for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/switch-horn.xml</path>
<offsets>
<x-m>1.405</x-m>
<y-m>-0.143</y-m>
<z-m>0.919</z-m>
<heading-deg>80.0</heading-deg>
<pitch-deg>-5.0</pitch-deg>
</offsets>
</model>
<!-- sign for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/horn.xml</path>
<offsets>
<x-m>1.416</x-m>
<y-m>-0.17</y-m>
<z-m>0.905</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for indicator -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/indicators.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Indicator sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/sign.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for warning lights -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/s-warninglights.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Warning lights sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/wl.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- CDU -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[14]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/CDU/boeing.xml</path>
<offsets>
<x-m>1.35</x-m>
<y-m>0.25</y-m>
<z-m>0.9</z-m>
<pitch-deg>-4</pitch-deg>
</offsets>
</model>
<!-- Accelerator -->
<animation>
<type>translate</type>
<object-name>accelerator</object-name>
<property>sim/multiplay/generic/float[22]</property>
<factor> 0.05 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Brake pedal -->
<animation>
<type>translate</type>
<object-name>brake</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.03 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>

View File

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 406 KiB

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@
<path>followme.ac</path>
<nasal>
<load>
var livery_update = aircraft.livery_update.new("Aircraft/followme_e-tron/Models/Messages", 1, nil);
@ -17,6 +18,26 @@
<path>Aircraft/followme_e-tron/Sounds/followme-sound.xml</path>
</sound>
<!-- Interior -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/string[3]</property>
<value>Default</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/default/interior.xml</path>
</model>
<model>
<condition>
<equals>
<property>sim/multiplay/generic/string[3]</property>
<value>Sport</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/sport/interior.xml</path>
</model>
<animation>
<type>material</type>
<object-name>sign</object-name>
@ -130,6 +151,15 @@
</animation>
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/indicater/inside_indicater.ac</path>
<offsets>
<x-m>-0.0265</x-m>
<y-m>-0.043</y-m>
<z-m>0.06</z-m>
</offsets>
</model>
<model>
<condition>
<equals>
@ -140,7 +170,21 @@
<path>Aircraft/followme_e-tron/Models/Instruments/fuelgauge/Type_A/fuelgauge.xml</path>
<offsets>
<x-m>1.31</x-m>
<y-m>-0.25</y-m>
<y-m>-0.23</y-m>
<z-m>1.01</z-m>
</offsets>
</model>
<model>
<condition>
<equals>
<property>sim/multiplay/generic/string[1]</property>
<value>Type_A</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/fuelgauge/Type_A/fuelgauge.xml</path>
<offsets>
<x-m>1.31</x-m>
<y-m>-0.44</y-m>
<z-m>1.01</z-m>
</offsets>
</model>
@ -215,7 +259,7 @@
<path>Aircraft/followme_e-tron/Models/Instruments/speedometer/Type_A/speedometer.xml</path>
<offsets>
<x-m>1.31</x-m>
<y-m>-0.38</y-m>
<y-m>-0.335</y-m>
<z-m>1.03</z-m>
</offsets>
</model>
@ -295,40 +339,6 @@
</offsets>
</model>
<!-- Engine Starter -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/starter/starter.xml</path>
<offsets>
<x-m>1.299</x-m>
<y-m>-0.19</y-m>
<z-m>0.90</z-m>
<pitch-deg>18.0</pitch-deg>
</offsets>
</model>
<!-- STEERINGWHEEL -->
<animation>
<type>rotate</type>
<object-name>steeringwheel</object-name>
<property>sim/multiplay/generic/float[18]</property>
<factor>-1</factor>
<center>
<x-m> 1.50</x-m>
<y-m>-0.33</y-m>
<z-m> 0.97</z-m>
</center>
<axis>
<x1-m>0.98</x1-m>
<y1-m>-0.33</y1-m>
<z1-m>0.72</z1-m>
<x2-m>2.00</x2-m>
<y2-m>-0.33</y2-m>
<z2-m>1.20</z2-m>
</axis>
</animation>
<!-- FRONT WHEEL LEFT -->
<animation>
@ -642,6 +652,9 @@
<type>rotate</type>
<object-name>door.rl</object-name>
<object-name>rearwiper</object-name>
<object-name>back_plate</object-name>
<object-name>back_plate_back</object-name>
<object-name>high_braking_lights</object-name>
<property>sim/multiplay/generic/float[1]</property>
<factor>-90</factor>
<center>
@ -656,6 +669,7 @@
</axis>
</animation>
<!-- RIGHT REAR DOOR -->
<animation>
@ -726,6 +740,17 @@
</emission>
</animation>
<animation>
<type>material</type>
<object-name>inside_indicater_left</object-name>
<emission>
<red>0.33</red>
<green>1.0</green>
<blue>0</blue>
<factor-prop>sim/multiplay/generic/int[0]</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>indicater_right</object-name>
@ -737,9 +762,21 @@
</emission>
</animation>
<animation>
<type>material</type>
<object-name>inside_indicater_right</object-name>
<emission>
<red>0.33</red>
<green>1.0</green>
<blue>0</blue>
<factor-prop>sim/multiplay/generic/int[1]</factor-prop>
</emission>
</animation>
<animation>
<type>material</type>
<object-name>braking_lights</object-name>
<object-name>high_braking_lights</object-name>
<emission>
<red>1.0</red>
<green>0.0</green>
@ -754,7 +791,6 @@
</condition>
</animation>
<!-- Fuel Truck -->
<model>
@ -810,213 +846,4 @@
<z-m>0.282</z-m>
</offsets>
</model>
<!-- MUG -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[13]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/mug/mug.ac</path>
<name>mug</name>
<offsets>
<x-m>1.55</x-m>
<y-m>-0.027</y-m>
<z-m>0.735</z-m>
</offsets>
</model>
<!-- GEAR HANDLE -->
<animation>
<type>pick</type>
<object-name>gearhandle</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</binding>
</action>
</animation>
<animation>
<type>translate</type>
<object-name>gearhandle</object-name>
<property>sim/multiplay/generic/int[11]</property>
<factor> 0.01 </factor>
<axis>
<x> 1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Hand brake -->
<effect>
<inherits-from>/Effects/parkingbrake</inherits-from>
<object-name>handbrake.001</object-name>
</effect>
<animation>
<type>pick</type>
<object-name>handbrake.001</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.toggleHandBrake()</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>1</value>
</equals>
</condition>
<texture>Instruments/parkingbrake/parkingbrake_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>handbrake.001</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/float[19]</property>
<value>0</value>
</equals>
</condition>
<texture>Instruments/parkingbrake/parkingbrake.png</texture>
</animation>
<!-- switch for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/switch-horn.xml</path>
<offsets>
<x-m>1.405</x-m>
<y-m>-0.143</y-m>
<z-m>0.919</z-m>
<heading-deg>80.0</heading-deg>
<pitch-deg>-5.0</pitch-deg>
</offsets>
</model>
<!-- sign for horn -->
<model>
<path>Aircraft/followme_e-tron/Models/Instruments/Horn/horn.xml</path>
<offsets>
<x-m>1.416</x-m>
<y-m>-0.17</y-m>
<z-m>0.905</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for indicator -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/indicators.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Indicator sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Indicators/sign.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.52</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Switch for warning lights -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/s-warninglights.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- Warning lights sign -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[15]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/Switches/Warninglights/wl.xml</path>
<offsets>
<x-m>1.306</x-m>
<y-m>-0.498</y-m>
<z-m>0.935</z-m>
<pitch-deg>-18.0</pitch-deg>
</offsets>
</model>
<!-- CDU -->
<model>
<condition>
<equals>
<property>sim/multiplay/generic/int[14]</property>
<value>1</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Instruments/CDU/boeing.xml</path>
<offsets>
<x-m>1.35</x-m>
<y-m>0.25</y-m>
<z-m>0.9</z-m>
<pitch-deg>-4</pitch-deg>
</offsets>
</model>
<!-- Accelerator -->
<animation>
<type>translate</type>
<object-name>accelerator</object-name>
<property>sim/multiplay/generic/float[22]</property>
<factor> 0.05 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
<!-- Brake pedal -->
<animation>
<type>translate</type>
<object-name>brake</object-name>
<property>sim/multiplay/generic/int[4]</property>
<factor> 0.03 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>

View File

@ -96,6 +96,7 @@ props.getNode("controls/lighting/headlight-als", 1).setValue(0);
props.getNode("sim/remote/pilot-callsign", 1).setValue("");
props.getNode("/systems/codriver-enable", 1).setValue(0);
props.getNode("systems/screen-enable", 1).setValue(0);
props.getNode("systems/interior/type", 1).setValue("Default");
#var Led = {
#

View File

@ -265,7 +265,7 @@
<view n="/0">
<internal archive="y">true</internal>
<config>
<x-offset-m archive="y" type="double">-0.35</x-offset-m>
<x-offset-m archive="y" type="double">-0.33</x-offset-m>
<y-offset-m archive="y" type="double">1.21</y-offset-m>
<z-offset-m archive="y" type="double">1.88</z-offset-m>
<pitch-offset-deg>-10.0</pitch-offset-deg>
@ -442,6 +442,13 @@
<dialog-name>battery-management</dialog-name>
</binding>
</item>
<item>
<label>Configuration</label>
<binding>
<command>dialog-show</command>
<dialog-name>config-dialog</dialog-name>
</binding>
</item>
<item>
<label>Select Livery</label>
<binding>
@ -546,6 +553,7 @@
<string n="0" alias="/systems/plate"/>
<string n="1" alias="/systems/battery-gauge/type"/>
<string n="2" alias="/systems/speedometer/type"/>
<string n="3" alias="/systems/interior/type"/>
</generic>
</multiplay>

210
gui/dialogs/config-dialog.xml Executable file
View File

@ -0,0 +1,210 @@
<?xml version="1.0"?>
<PropertyList>
<name>config-dialog</name>
<layout>vbox</layout>
<resizable>false</resizable>
<modal>false</modal>
<draggable>true</draggable>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<text>
<label>Vehicle Config</label>
</text>
<empty><stretch>true</stretch></empty>
<button>
<legend/>
<key>Esc</key>
<pref-width>32</pref-width>
<pref-height>16</pref-height>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<text><label>Configuration</label></text>
<group>
<layout>vbox</layout>
<text><label>Interior Style</label></text>
<combo>
<name>interiorStyle</name>
<row>1</row>
<col>2</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Interior Style</name>
<property>/systems/interior/type</property>
<value>Default</value>
<value>Sport</value>
<binding>
<command>dialog-apply</command>
<object-name>interiorStyle</object-name>
</binding>
</combo>
</group>
<group>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<text><label>Speedometer type</label></text>
<combo>
<name>speedType</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Speedometer Type</name>
<property>/systems/speedometer/type</property>
<value>Type_A</value>
<value>Type_M</value>
<value>Type_B</value>
<value>Type_BT</value>
<value>Concept</value>
<value>Original</value>
<binding>
<command>dialog-apply</command>
<object-name>speedType</object-name>
</binding>
</combo>
</group>
<group>
<layout>vbox</layout>
<text><label>Battery gauge type</label></text>
<combo>
<name>batteryType</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Battery gauge Type</name>
<property>/systems/battery-gauge/type</property>
<value>Type_A</value>
<value>Type_M</value>
<value>Type_BT</value>
<value>Concept</value>
<value>Original</value>
<binding>
<command>dialog-apply</command>
<object-name>batteryType</object-name>
</binding>
</combo>
</group>
</group>
<group>
<layout>vbox</layout>
<text><label>Plate</label></text>
<combo>
<name>plateSelection</name>
<row>1</row>
<col>6</col>
<pref-width>120</pref-width>
<halign>left</halign>
<name>Plate Selection</name>
<property>/systems/plate</property>
<value>NONE</value>
<value>JLH0762</value>
<value>JAD00762</value>
<value>YBD00404</value>
<value>YAD07749</value>
<value>SAD00818</value>
<value>JAD00066</value>
<binding>
<command>dialog-apply</command>
<object-name>plateSelection</object-name>
</binding>
</combo>
</group>
<group>
<layout>vbox</layout>
<button>
<halign>left</halign>
<legend>Select Livery</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<binding>
<command>nasal</command>
<script>followme.liveryFuse.dialog.toggle()</script>
</binding>
</button>
<button>
<halign>left</halign>
<legend>Select Message</legend>
<pref-width>120</pref-width>
<pref-height>28</pref-height>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</button>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label> Enable Co-driver Model</label>
<property>/systems/codriver-enable</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<group>
<layout>vbox</layout>
<checkbox>
<halign>left</halign>
<label> Enable Smart Screen</label>
<property>/systems/screen-enable</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label> Enable Switches</label>
<property>sim/multiplay/generic/int[15]</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<!-- disable CDU for now
<checkbox>
<halign>left</halign>
<label> Enable CDU</label>
<property>sim/multiplay/generic/int[14]</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
-->
<checkbox>
<halign>left</halign>
<label> Enable Mug</label>
<property>interior/enable_mug</property>
<live>true</live>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<hrule/>
</PropertyList>