Models: Improved mutiplayer behaver and instrument lights
This commit is contained in:
parent
43fcba1254
commit
8545e8432a
|
@ -11,7 +11,7 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>systems/electrical/e-tron/battery-kWh</property>
|
||||
<property>sim/multiplay/generic/float[16]</property>
|
||||
<factor>-1.125</factor>
|
||||
<offset>22.5</offset>
|
||||
<center>
|
||||
|
|
|
@ -8,10 +8,16 @@
|
|||
<object-name>face</object-name>
|
||||
<object-name>needle</object-name>
|
||||
</effect>
|
||||
|
||||
<effect>
|
||||
<inherits-from>neddle-light</inherits-from>
|
||||
<object-name>needle</object-name>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>systems/electrical/e-tron/battery-kWh</property>
|
||||
<property>sim/multiplay/generic/float[16]</property>
|
||||
<factor>-1.125</factor>
|
||||
<offset>22.5</offset>
|
||||
<center>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>needle-light</name>
|
||||
<inherits-from>/Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<!-- Light Map -->
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<texture n="3">
|
||||
<image>fuelgauge_LIT.png</image>
|
||||
<wrap-s>repeat</wrap-s>
|
||||
<wrap-t>repeat</wrap-t>
|
||||
</texture>
|
||||
<lightmap-factor type="float" n="0">1</lightmap-factor>
|
||||
<lightmap-factor type="float" n="1">1</lightmap-factor>
|
||||
<lightmap-factor type="float" n="2">1</lightmap-factor>
|
||||
<lightmap-color type="vec3d" n="0"> 1. 0. 0. </lightmap-color>
|
||||
<lightmap-color type="vec3d" n="1"> 0. 1. 0. </lightmap-color>
|
||||
<lightmap-color type="vec3d" n="2"> 0. 0. 1. </lightmap-color>
|
||||
<lightmap-factor type="float" n="3">0</lightmap-factor>
|
||||
</parameters>
|
||||
</PropertyList>
|
|
@ -11,7 +11,7 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>systems/electrical/e-tron/battery-kWh</property>
|
||||
<property>sim/multiplay/generic/float[16]</property>
|
||||
<factor>-1.125</factor>
|
||||
<offset>22.5</offset>
|
||||
<center>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>systems/electrical/e-tron/battery-kWh</property>
|
||||
<property>sim/multiplay/generic/float[16]</property>
|
||||
<factor>-1.125</factor>
|
||||
<offset>22.5</offset>
|
||||
<center>
|
||||
|
|
|
@ -33,11 +33,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>3.08667</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -57,16 +57,16 @@
|
|||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">64.795</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-0.61733</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -85,11 +85,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">161.987</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-1.23467</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">161.987</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<inherits-from>/Effects/model-combined-deferred</inherits-from>
|
||||
<parameters>
|
||||
<!-- Light Map -->
|
||||
<lightmap-enabled type="int"><use>controls/lighting/headlight</use></lightmap-enabled>
|
||||
<lightmap-enabled type="int">1</lightmap-enabled>
|
||||
<lightmap-multi type="int">1</lightmap-multi>
|
||||
<texture n="3">
|
||||
<image>needle_LIT.png</image>
|
||||
|
|
|
@ -33,11 +33,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>4.167</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -57,16 +57,16 @@
|
|||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">43.196</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-1.389</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -85,11 +85,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">151.187</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-1.389</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">151.187</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
|
|
@ -33,11 +33,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>3.08667</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -57,16 +57,16 @@
|
|||
<condition>
|
||||
<and>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">0</value>
|
||||
</greater-than>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">64.795</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-0.61733</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -85,11 +85,11 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">161.987</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-1.23467</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
@ -108,7 +108,7 @@
|
|||
<object-name>needle</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<value type="double">161.987</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<property>sim/multiplay/generic/float[15]</property>
|
||||
<factor>-4.23</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
|
|
|
@ -1,676 +0,0 @@
|
|||
<PropertyList>
|
||||
|
||||
<path>followme.ac</path>
|
||||
|
||||
<nasal>
|
||||
<load>
|
||||
var livery_update = aircraft.livery_update.new("Aircraft/followme_e-tron/Models/Messages");
|
||||
var liveryFuse_update = followme.liveryFuse_update.new("Aircraft/followme_e-tron/Models/Texture");
|
||||
</load>
|
||||
<unload>
|
||||
livery_update.stop();
|
||||
livery2_update.stop();
|
||||
</unload>
|
||||
</nasal>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>sign</object-name>
|
||||
<property-base>sim/model/livery</property-base>
|
||||
<texture-prop>texture</texture-prop>
|
||||
<texture>blanco.png</texture>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>Mesh76.004</object-name>
|
||||
<object-name>door.rl</object-name>
|
||||
<object-name>door.rr</object-name>
|
||||
<object-name>rdoor</object-name>
|
||||
<object-name>ldoor</object-name>
|
||||
<property-base>sim/model/livery</property-base>
|
||||
<texture-prop>texture-fuse</texture-prop>
|
||||
<texture>followmeoutside.png</texture>
|
||||
</animation>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme_e-tron/Models/warninglight.xml</path>
|
||||
<offsets>
|
||||
<x-m> 3.4</x-m>
|
||||
<y-m>-0.4</y-m>
|
||||
<z-m> 1.7</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme_e-tron/Models/warninglight.xml</path>
|
||||
<offsets>
|
||||
<x-m> 3.4</x-m>
|
||||
<y-m> 0.4</y-m>
|
||||
<z-m> 1.7</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
|
||||
|
||||
<!-- People -->
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/codriver-enable</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/people/people.ac</path>
|
||||
<offsets>
|
||||
<x-m> 2.6</x-m>
|
||||
<y-m> 0</y-m>
|
||||
<z-m> 1.255</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/codriver-enable</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/people/people2.ac</path>
|
||||
<offsets>
|
||||
<x-m> 1.9</x-m>
|
||||
<y-m> 0</y-m>
|
||||
<z-m> 1.255</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- PLATE -->
|
||||
<model>
|
||||
<condition>
|
||||
<not>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/string[0]</property>
|
||||
<value>NONE</value>
|
||||
</equals>
|
||||
</not>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/plate/plate.xml</path>
|
||||
<offsets>
|
||||
<x-m> 0.01</x-m>
|
||||
<y-m> 0.0</y-m>
|
||||
<z-m> 0.39</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- INSTRUMENTS -->
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>screen</object-name>
|
||||
<object-name>frame</object-name>
|
||||
<condition>
|
||||
|
||||
<equals>
|
||||
<property>systems/screen-enable</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</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.25</y-m>
|
||||
<z-m>1.01</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<value>Type_M</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/fuelgauge/Type_M/fuelgauge.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.25</y-m>
|
||||
<z-m>1.01</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<value>Original</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/fuelgauge/Type_O/fuelgauge.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.25</y-m>
|
||||
<z-m>1.01</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<value>Concept</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/fuelgauge/Concept/fuelgauge.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.25</y-m>
|
||||
<z-m>1.01</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<value>Type_A</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<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>
|
||||
<z-m>1.03</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<value>Original</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/speedometer/Type_O/speedometer.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.38</y-m>
|
||||
<z-m>1.03</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<value>Type_M</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/speedometer/Type_M/speedometer.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.38</y-m>
|
||||
<z-m>1.03</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<value>Concept</value>
|
||||
</equals>
|
||||
</condition>
|
||||
<path>Aircraft/followme_e-tron/Models/Instruments/speedometer/Concept/speedometer.xml</path>
|
||||
<offsets>
|
||||
<x-m>1.31</x-m>
|
||||
<y-m>-0.38</y-m>
|
||||
<z-m>1.03</z-m>
|
||||
</offsets>
|
||||
</model>
|
||||
|
||||
<!-- STEERINGWHEEL -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>steeringwheel</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<factor>-100</factor>
|
||||
<center>
|
||||
<x-m> 1.50</x-m>
|
||||
<y-m>-0.33</y-m>
|
||||
<z-m> 0.97</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x1-m>1.218</x1-m>
|
||||
<y1-m>-0.33</y1-m>
|
||||
<z1-m>0.713</z1-m>
|
||||
<x2-m>1.783</x2-m>
|
||||
<y2-m>-0.33</y2-m>
|
||||
<z2-m>1.303</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- FRONT WHEEL LEFT -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Tyre1</object-name>
|
||||
<property>sim/multiplay/generic/float[4]</property>
|
||||
<factor>-45</factor>
|
||||
<center>
|
||||
<x-m> 0.681</x-m>
|
||||
<y-m>-0.557</y-m>
|
||||
<z-m> 0.289</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tyre1</object-name>
|
||||
<property>sim/multiplay/generic/float[5]</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.00</ind>
|
||||
<dep>0.2</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Tyre1</object-name>
|
||||
<property>sim/multiplay/generic/float[6]</property>
|
||||
<factor>-15</factor>
|
||||
<center>
|
||||
<x-m>0.682</x-m>
|
||||
<y-m>0.627</y-m>
|
||||
<z-m>0.291</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- FRONT WHEEL RIGHT -->
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Tyre2</object-name>
|
||||
<property>sim/multiplay/generic/float[7]</property>
|
||||
<factor>-45</factor>
|
||||
<center>
|
||||
<x-m> 0.681</x-m>
|
||||
<y-m> 0.557</y-m>
|
||||
<z-m> 0.289</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tyre2</object-name>
|
||||
<property>sim/multiplay/generic/float[8]</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.00</ind>
|
||||
<dep>0.2</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Tyre2</object-name>
|
||||
<property>sim/multiplay/generic/float[9]</property>
|
||||
<factor>-15</factor>
|
||||
<center>
|
||||
<x-m>0.682</x-m>
|
||||
<y-m>-0.627</y-m>
|
||||
<z-m>0.291</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- REAR WHEEL LEFT -->
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tyre3</object-name>
|
||||
<property>sim/multiplay/generic/float[10]</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.00</ind>
|
||||
<dep>0.2</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Tyre3</object-name>
|
||||
<property>sim/multiplay/generic/float[11]</property>
|
||||
<factor>-15</factor>
|
||||
<center>
|
||||
<x-m>3.17</x-m>
|
||||
<y-m>0.625</y-m>
|
||||
<z-m>0.282</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- REAR WHEEL RIGHT -->
|
||||
|
||||
<animation>
|
||||
<type>translate</type>
|
||||
<object-name>Tyre4</object-name>
|
||||
<property>sim/multiplay/generic/float[12]</property>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0.0</ind>
|
||||
<dep>0</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1.00</ind>
|
||||
<dep>0.2</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
<axis>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Tyre4</object-name>
|
||||
<property>sim/multiplay/generic/float[13]</property>
|
||||
<factor>-15</factor>
|
||||
<center>
|
||||
<x-m>3.17</x-m>
|
||||
<y-m>-0.625</y-m>
|
||||
<z-m>0.282</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>1.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- DOOR ANIMATIONS -->
|
||||
|
||||
<!-- LEFT FRONT DOOR -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>ldoor</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>followme.frontleft_door.toggle()</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>ldoor</object-name>
|
||||
<property>sim/multiplay/generic/float[3]</property>
|
||||
<factor>-75</factor>
|
||||
<center>
|
||||
<x-m> 1</x-m>
|
||||
<y-m>-0.78</y-m>
|
||||
<z-m> 0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- RIGHT FRONT DOOR -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>rdoor</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>followme.frontright_door.toggle()</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>rdoor</object-name>
|
||||
<property>sim/multiplay/generic/float[2]</property>
|
||||
<factor>75</factor>
|
||||
<center>
|
||||
<x-m>1</x-m>
|
||||
<y-m>0.78</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!--LEFT REAR DOOR -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>door.rl</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>followme.rearleft_door.toggle()</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>door.rl</object-name>
|
||||
<object-name>rearwiper</object-name>
|
||||
<property>sim/multiplay/generic/float[1]</property>
|
||||
<factor>-90</factor>
|
||||
<center>
|
||||
<x-m> 3.7</x-m>
|
||||
<y-m>-0.6</y-m>
|
||||
<z-m> 0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- RIGHT REAR DOOR -->
|
||||
|
||||
<animation>
|
||||
<type>pick</type>
|
||||
<object-name>door.rr</object-name>
|
||||
<action>
|
||||
<button>0</button>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>followme.rearright_door.toggle()</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>door.rr</object-name>
|
||||
<property>sim/multiplay/generic/float[0]</property>
|
||||
<factor>90</factor>
|
||||
<center>
|
||||
<x-m>3.7</x-m>
|
||||
<y-m>0.6</y-m>
|
||||
<z-m>0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>0.0</x>
|
||||
<y>0.0</y>
|
||||
<z>1.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- LIGHTS -->
|
||||
|
||||
<effect>
|
||||
<inherits-from>front-light</inherits-from>
|
||||
<object-name>Cone</object-name>
|
||||
</effect>
|
||||
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Cone</object-name>
|
||||
<object-name>Cone-texture</object-name>
|
||||
<condition>
|
||||
<and>
|
||||
<not>
|
||||
<equals>
|
||||
<property>sim/rendering/shaders/skydome</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</not>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/int[3]</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</and>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>indicater_left</object-name>
|
||||
<emission>
|
||||
<red>1.0</red>
|
||||
<green>0.8</green>
|
||||
<blue>0.2</blue>
|
||||
<factor-prop>sim/multiplay/generic/int[0]</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>indicater_right</object-name>
|
||||
<emission>
|
||||
<red>1.0</red>
|
||||
<green>0.8</green>
|
||||
<blue>0.2</blue>
|
||||
<factor-prop>sim/multiplay/generic/int[1]</factor-prop>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>braking_lights</object-name>
|
||||
<emission>
|
||||
<red>1.0</red>
|
||||
<green>0.0</green>
|
||||
<blue>0.0</blue>
|
||||
<factor-prop>sim/multiplay/generic/int[4]</factor-prop>
|
||||
</emission>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>sim/multiplay/generic/int[4]</property>
|
||||
<value>0.3</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
|
||||
|
||||
<!-- Fuel Truck -->
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme_e-tron/Models/Service-Truck/Service_Truck_Short_VolvoFM.xml</path>
|
||||
<condition>
|
||||
<and>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/int[5]</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
<less-than>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<value>1</value>
|
||||
</less-than>
|
||||
</and>
|
||||
</condition>
|
||||
</model>
|
||||
|
||||
</PropertyList>
|
||||
|
|
@ -110,7 +110,7 @@
|
|||
<condition>
|
||||
|
||||
<equals>
|
||||
<property>systems/screen-enable</property>
|
||||
<property>sim/multiplay/generic/int[6]</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
|
||||
|
@ -121,7 +121,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<property>sim/multiplay/generic/string[1]</property>
|
||||
<value>Type_A</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -136,7 +136,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<property>sim/multiplay/generic/string[1]</property>
|
||||
<value>Type_M</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -151,7 +151,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<property>sim/multiplay/generic/string[1]</property>
|
||||
<value>Original</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -166,7 +166,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/battery-gauge/type</property>
|
||||
<property>sim/multiplay/generic/string[1]</property>
|
||||
<value>Concept</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -181,7 +181,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<property>sim/multiplay/generic/string[2]</property>
|
||||
<value>Type_A</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -196,7 +196,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<property>sim/multiplay/generic/string[2]</property>
|
||||
<value>Original</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -211,7 +211,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<property>sim/multiplay/generic/string[2]</property>
|
||||
<value>Type_M</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -226,7 +226,7 @@
|
|||
<model>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>systems/speedometer/type</property>
|
||||
<property>sim/multiplay/generic/string[2]</property>
|
||||
<value>Concept</value>
|
||||
</equals>
|
||||
</condition>
|
||||
|
@ -243,7 +243,7 @@
|
|||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>steeringwheel</object-name>
|
||||
<property>controls/flight/aileron</property>
|
||||
<property>sim/multiplay/generic/float[14]</property>
|
||||
<factor>-100</factor>
|
||||
<center>
|
||||
<x-m> 1.50</x-m>
|
||||
|
|
|
@ -397,6 +397,7 @@
|
|||
<int n="3" alias="/controls/lighting/headlight"/>
|
||||
<int n="4" alias="/controls/gear/brake-left"/>
|
||||
<int n="5" alias="/services/service-truck/enable"/>
|
||||
<int n="6" alias="/systems/screen-enable"/>
|
||||
|
||||
<float n="0" alias="/controls/doors/rearright/position-norm"/>
|
||||
<float n="1" alias="/controls/doors/rearleft/position-norm"/>
|
||||
|
@ -417,7 +418,16 @@
|
|||
<float n="12" alias="/gear/gear[3]/compression-norm"/>
|
||||
<float n="13" alias="/gear/gear[3]/rollspeed-ms"/>
|
||||
|
||||
<float n="14" alias="/controls/flight/aileron"/>
|
||||
|
||||
<float n="15" alias="/velocities/groundspeed-kt"/>
|
||||
|
||||
<float n="16" alias="/systems/electrical/e-tron/battery-kWh"/>
|
||||
|
||||
<string n="0" alias="/systems/plate"/>
|
||||
<string n="1" alias="/systems/battery-gauge/type"/>
|
||||
<string n="2" alias="/systems/speedometer/type"/>
|
||||
|
||||
</generic>
|
||||
</multiplay>
|
||||
</sim>
|
||||
|
|
Loading…
Reference in New Issue