Interior: Added Race by 0404, animation for Race

This commit is contained in:
Sidi Liang 2020-07-17 22:24:52 +08:00
parent 69c7995a0d
commit 3f750bbec2
No known key found for this signature in database
GPG Key ID: 79F0A6B20B72F42F
18 changed files with 57167 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 MiB

BIN
Models/Interior/race/Torque.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
Models/Interior/race/cutoff.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

File diff suppressed because it is too large Load Diff

297
Models/Interior/race/interior.xml Executable file
View File

@ -0,0 +1,297 @@
<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 -->
<animation>
<type>pick</type>
<object-name>starter</object-name>
<visible>true</visible>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>engine.toggleEngine(engine.engine_1)</script>
</binding>
</action>
</animation>
<!-- GEAR HANDLE -->
<animation>
<type>pick</type>
<object-name>gearbox</object-name>
<action>
<button>0</button>
<binding>
<command>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>autohold_switch</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>autohold.toggleAutoHold()</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>autohold_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>1</value>
</equals>
</condition>
<texture>autohold_switch_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>autohold_switch</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[2]</property>
<value>0</value>
</equals>
</condition>
<texture>autohold_switch.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>autohold_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[3]</property>
<value>1</value>
</equals>
</condition>
<texture>autohold_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>autohold_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[3]</property>
<value>0</value>
</equals>
</condition>
<texture>panel_black.png</texture>
</animation>
<!-- Hand brake -->
<effect>
<inherits-from>Aircraft/followme_e-tron/Models/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>
<!--Fire extingusher - filp vehicle-->
<animation>
<type>pick</type>
<object-name>fire</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/orientation/roll-deg</property>
<value>0</value>
</binding>
<binding>
<command>property-assign</command>
<property>velocities/groundspeed-kt</property>
<value>0</value>
</binding>
</action>
</animation>
<!-- Headlight -->
<animation>
<type>material</type>
<object-name>headlight_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[3]</property>
<value>1</value>
</equals>
</condition>
<texture>headlight_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>headlight_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/int[3]</property>
<value>0</value>
</equals>
</condition>
<texture>panel_black.png</texture>
</animation>
<!-- HighBeam -->
<animation>
<type>material</type>
<object-name>longheadlight_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[5]</property>
<value>1</value>
</equals>
</condition>
<texture>longheadlight_LIT.png</texture>
</animation>
<animation>
<type>material</type>
<object-name>longheadlight_LIT</object-name>
<condition>
<equals>
<property>sim/multiplay/generic/bool[5]</property>
<value>0</value>
</equals>
</condition>
<texture>panel_black.png</texture>
</animation>
<!-- Indicator -->
<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>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>pick</type>
<object-name>doubleflash</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.indicatorController.false_light_toggle()</script>
</binding>
</action>
</animation>
<animation>
<type>material</type>
<object-name>doubleflash</object-name>
<condition>
<and>
<equals>
<property>sim/multiplay/generic/int[0]</property>
<value>1</value>
</equals>
<equals>
<property>sim/multiplay/generic/int[1]</property>
<value>1</value>
</equals>
</and>
</condition>
<emission>
<red>0.1</red>
<green>0</green>
<blue>0</blue>
<factor-prop>sim/multiplay/generic/int[1]</factor-prop>
</emission>
</animation>
<!-- 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/float[25]</property>
<factor> 0.03 </factor>
<axis>
<x> -1 </x>
<y> 0 </y>
<z> 0 </z>
</axis>
</animation>
</PropertyList>

BIN
Models/Interior/race/lasi.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

BIN
Models/Interior/race/lasi2.jpg Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
Models/Interior/race/leather.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

BIN
Models/Interior/race/leather2.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

BIN
Models/Interior/race/pad.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 KiB

BIN
Models/Interior/race/power.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
Models/Interior/race/time.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
Models/Interior/race/voltage.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
Models/Interior/race/wiper.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -39,6 +39,15 @@
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/luxury/interior.xml</path>
</model>
<model>
<condition>
<equals>
<property>sim/multiplay/generic/string[3]</property>
<value>Race</value>
</equals>
</condition>
<path>Aircraft/followme_e-tron/Models/Interior/race/interior.xml</path>
</model>
<animation>
<type>material</type>

View File

@ -64,6 +64,7 @@
<value>Default</value>
<value>Sport</value>
<value>Luxury</value>
<value>Race</value>
<binding>
<command>dialog-apply</command>
<object-name>interiorStyle</object-name>