Create repo
After Width: | Height: | Size: 7.1 KiB |
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<path>fuelgauge.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>consumables/fuel/total-fuel-norm</property>
|
||||
<factor>-90</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>-0.015</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
</PropertyList>
|
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,29 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<!--back-->
|
||||
<!--right -->
|
||||
<!--up -->
|
||||
|
||||
|
||||
<path>speedometer.ac</path>
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>needle</object-name>
|
||||
<property>velocities/groundspeed-kt</property>
|
||||
<factor>-4.23</factor>
|
||||
<center>
|
||||
<x-m>0.0</x-m>
|
||||
<y-m>0.0</y-m>
|
||||
<z-m>0.0</z-m>
|
||||
</center>
|
||||
<axis>
|
||||
<x>1.0</x>
|
||||
<y>0.0</y>
|
||||
<z>0.0</z>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
|
||||
</PropertyList>
|
After Width: | Height: | Size: 196 B |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Blanco</name>
|
||||
<texture>Messages/blanco.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 15 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Follow Me</name>
|
||||
<texture>Messages/follow_me.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 9.5 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Left</name>
|
||||
<texture>Messages/left.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 9.5 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Right</name>
|
||||
<texture>Messages/right.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 19 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Slow Down</name>
|
||||
<texture>Messages/slow_down.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 8.2 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Stop</name>
|
||||
<texture>Messages/stop.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
After Width: | Height: | Size: 7.4 KiB |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<sim>
|
||||
<model>
|
||||
<livery>
|
||||
<name type="string">Wait</name>
|
||||
<texture>Messages/wait.png</texture>
|
||||
</livery>
|
||||
</model>
|
||||
</sim>
|
||||
</PropertyList>
|
|
@ -0,0 +1,463 @@
|
|||
<PropertyList>
|
||||
|
||||
<path>followme.ac</path>
|
||||
|
||||
<nasal>
|
||||
<load>
|
||||
var livery_update = aircraft.livery_update.new("Aircraft/followme/Models/Messages");
|
||||
</load>
|
||||
<unload>
|
||||
livery_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>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme/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/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>
|
||||
|
||||
<!-- INSTRUMENTS -->
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme/Models/Instruments/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>
|
||||
<path>Aircraft/followme/Models/Instruments/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>gear/gear[0]/steering-norm</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>gear/gear[0]/compression-norm</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>gear/gear[2]/rollspeed-ms</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>gear/gear[1]/steering-norm</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>gear/gear[1]/compression-norm</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>gear/gear[1]/rollspeed-ms</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>gear/gear[2]/compression-norm</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>gear/gear[3]/rollspeed-ms</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>gear/gear[3]/compression-norm</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>gear/gear[1]/rollspeed-ms</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>controls/doors/frontleft/position-norm</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>controls/doors/frontright/position-norm</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>controls/doors/rearleft/position-norm</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>controls/doors/rearright/position-norm</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>Effects/light-cone</inherits-from>
|
||||
<object-name>Cone</object-name>
|
||||
</effect>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Cone</object-name>
|
||||
<object-name>Cone-texture</object-name>
|
||||
<condition>
|
||||
<property>controls/lighting/headlight</property>
|
||||
</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/model/lights/indicator-left/state</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/model/lights/indicator-right/state</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>/controls/gear/brake-left</factor-prop>
|
||||
</emission>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value>0.3</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 149 B |
After Width: | Height: | Size: 22 KiB |
|
@ -0,0 +1,28 @@
|
|||
AC3Db
|
||||
MATERIAL "default" rgb 0.5 0.5 0.5 amb 0.5 0.5 0.5 emis 0 0 0 spec 0.2 0.2 0.2 shi 128 trans 0
|
||||
MATERIAL "warninglight" rgb 1 1 1 amb 1 1 1 emis 1 1 1 spec 0.2 0.2 0.2 shi 128 trans 0.0000
|
||||
OBJECT world
|
||||
kids 1
|
||||
OBJECT poly
|
||||
name "warninglight"
|
||||
texture "warninglight.png"
|
||||
numvert 4
|
||||
-5.245000 10.550000 -0.000000
|
||||
5.245000 0.060000 -0.000000
|
||||
-5.245000 0.060000 -0.000000
|
||||
5.245000 10.550000 -0.000000
|
||||
numsurf 2
|
||||
SURF 0x30
|
||||
mat 1
|
||||
refs 3
|
||||
0 1.0151 1.0047
|
||||
1 0.0161 0.0056
|
||||
2 1.0151 0.0056
|
||||
SURF 0x30
|
||||
mat 1
|
||||
refs 3
|
||||
1 0.0161 0.0056
|
||||
0 1.0151 1.0047
|
||||
3 0.0161 1.0047
|
||||
kids 0
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<path>warninglight.ac</path>
|
||||
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>warninglight</object-name>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>alpha-test</type>
|
||||
<alpha-factor>0.01</alpha-factor>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>warninglight</object-name>
|
||||
<condition>
|
||||
<property>/sim/model/lights/warning/state</property>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>range</type>
|
||||
<min-m>0</min-m>
|
||||
<max-m>6000</max-m>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>billboard</type>
|
||||
<object-name>warninglight</object-name>
|
||||
<spherical type="bool">true</spherical>
|
||||
</animation>
|
||||
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>warninglight</object-name>
|
||||
<interpolation>
|
||||
<entry>
|
||||
<ind>0</ind>
|
||||
<dep>0.025</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>300</ind>
|
||||
<dep>0.1</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>1500</ind>
|
||||
<dep>0.2</dep>
|
||||
</entry>
|
||||
<entry>
|
||||
<ind>6000</ind>
|
||||
<dep>.3</dep>
|
||||
</entry>
|
||||
</interpolation>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
#### Follow Me ####
|
||||
#### Gijs de Rooy ####
|
||||
|
||||
aircraft.livery.init("Aircraft/followme/Models/Messages");
|
||||
|
||||
var frontleft_door = aircraft.door.new("/controls/doors/frontleft", 1);
|
||||
var frontright_door = aircraft.door.new("/controls/doors/frontright", 1);
|
||||
var rearleft_door = aircraft.door.new("/controls/doors/rearleft", 1);
|
||||
var rearright_door = aircraft.door.new("/controls/doors/rearright", 1);
|
||||
|
||||
beacon_switch = props.globals.getNode("controls/switches/warninglight", 2);
|
||||
var beacon = aircraft.light.new( "/sim/model/lights/warning", [0.5, 0.5], "/controls/lighting/warning" );
|
||||
beacon_switch = props.globals.getNode("controls/switches/indicator-left", 2);
|
||||
var beacon = aircraft.light.new( "/sim/model/lights/indicator-left", [0.8, 0.5], "/controls/lighting/indicator-left" );
|
||||
beacon_switch = props.globals.getNode("controls/switches/indicator-right", 2);
|
||||
var beacon = aircraft.light.new( "/sim/model/lights/indicator-right", [0.8, 0.5], "/controls/lighting/indicator-right" );
|
|
@ -0,0 +1,254 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<sim>
|
||||
|
||||
<description>Follow Me</description>
|
||||
<author>Gijs de Rooy</author>
|
||||
<status>early production</status>
|
||||
<rating>
|
||||
<FDM type="int">4</FDM>
|
||||
<systems type="int">2</systems>
|
||||
<cockpit type="int">3</cockpit>
|
||||
<model type="int">4</model>
|
||||
</rating>
|
||||
|
||||
<tags>
|
||||
<tag>groundvehicle</tag>
|
||||
<tag>1970s</tag>
|
||||
<tag>1980s</tag>
|
||||
<tag>1990s</tag>
|
||||
<tag>2000s</tag>
|
||||
<tag>2010s</tag>
|
||||
</tags>
|
||||
|
||||
<flight-model>jsb</flight-model>
|
||||
<aero>followme</aero>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/followme/Models/followme.xml</path>
|
||||
<livery>
|
||||
<file type="string"/>
|
||||
</livery>
|
||||
</model>
|
||||
|
||||
<view n="0">
|
||||
<internal archive="y">true</internal>
|
||||
<config>
|
||||
<x-offset-m archive="y" type="double">-0.35</x-offset-m>
|
||||
<y-offset-m archive="y" type="double">1.35</y-offset-m>
|
||||
<z-offset-m archive="y" type="double">1.88</z-offset-m>
|
||||
<pitch-offset-deg>-10.0</pitch-offset-deg>
|
||||
<field-of-view>65</field-of-view>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="1">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="2">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="3">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="4">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="5">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<view n="6">
|
||||
<config>
|
||||
<target-y-offset-m archive="y" type="double">1.6</target-y-offset-m>
|
||||
</config>
|
||||
</view>
|
||||
|
||||
<hud>
|
||||
<enable3d>false</enable3d>
|
||||
</hud>
|
||||
|
||||
<help>
|
||||
<key>
|
||||
<name>m</name>
|
||||
<desc>Toggle direction</desc>
|
||||
</key>
|
||||
<text>
|
||||
You can select the message to be displayed on the bar, through the "Follow Me > Select message" menu.
|
||||
</text>
|
||||
</help>
|
||||
|
||||
<menubar>
|
||||
<default>
|
||||
<menu n="10">
|
||||
<label>Follow me</label>
|
||||
<enabled type="bool">true</enabled>
|
||||
<item>
|
||||
<label>Select Message</label>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>aircraft.livery.dialog.toggle()</script>
|
||||
</binding>
|
||||
</item>
|
||||
</menu>
|
||||
</default>
|
||||
</menubar>
|
||||
|
||||
</sim>
|
||||
|
||||
<engines>
|
||||
<engine n="0">
|
||||
<rpm type="double">2</rpm>
|
||||
</engine>
|
||||
<engine n="1">
|
||||
<rpm type="double">2</rpm>
|
||||
</engine>
|
||||
</engines>
|
||||
|
||||
<controls>
|
||||
<flight>
|
||||
<aileron alias="/controls/flight/rudder" />
|
||||
</flight>
|
||||
<lighting>
|
||||
<headlight>0</headlight>
|
||||
<indicator-left>0</indicator-left>
|
||||
<indicator-right>0</indicator-right>
|
||||
<warning>1</warning>
|
||||
</lighting>
|
||||
</controls>
|
||||
|
||||
<input>
|
||||
<keyboard>
|
||||
<key n="91">
|
||||
<name>[</name>
|
||||
<desc>Toggle left indicator lights</desc>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/lighting/indicator-left</property>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="93">
|
||||
<name>]</name>
|
||||
<desc>Toggle right indicator lights</desc>
|
||||
<binding>
|
||||
<command>property-toggle</command>
|
||||
<property>/controls/lighting/indicator-right</property>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="109">
|
||||
<name>m</name>
|
||||
<desc>Toggle direction</desc>
|
||||
<binding>
|
||||
<command>property-cycle</command>
|
||||
<property>controls/engines/engine/direction</property>
|
||||
<value type="double">-1</value>
|
||||
<value type="double">1</value>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="119">
|
||||
<name>w</name>
|
||||
<desc>gas pedal</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/engines/engine/throttle</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/engines/engine/throttle</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</key>
|
||||
<key n="115">
|
||||
<name>s</name>
|
||||
<desc>break</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-right</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-right</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</key>
|
||||
<key n="97">
|
||||
<name>a</name>
|
||||
<desc>rudder-left</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>-1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</key>
|
||||
<key n="100">
|
||||
<name>d</name>
|
||||
<desc>rudder-right</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/flight/rudder</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</key>
|
||||
</keyboard>
|
||||
</input>
|
||||
|
||||
<nasal>
|
||||
<followme>
|
||||
<file>Aircraft/followme/Nasal/systems.nas</file>
|
||||
</followme>
|
||||
</nasal>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,173 @@
|
|||
<?xml-stylesheet href="JSBSim.xsl" type="application/xml"?>
|
||||
<fdm_config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd" name="SenecaII"
|
||||
version="2.0" release="BETA">
|
||||
|
||||
<fileheader>
|
||||
<author>Torsten Dreyer, Gijs de Rooy</author>
|
||||
<filecreationdate>2010-08-24</filecreationdate>
|
||||
<version>0.1</version>
|
||||
<description>A follow me car</description>
|
||||
</fileheader>
|
||||
|
||||
<metrics>
|
||||
<wingarea unit="M2">8</wingarea>
|
||||
<wingspan unit="M">4</wingspan>
|
||||
<chord unit="M">2</chord>
|
||||
<htailarea unit="M2">1</htailarea>
|
||||
<htailarm unit="M">1</htailarm>
|
||||
<vtailarea unit="M2">1</vtailarea>
|
||||
<vtailarm unit="M">1</vtailarm>
|
||||
<location name="AERORP" unit="M">
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<z>1.20</z>
|
||||
</location>
|
||||
<location name="EYEPOINT" unit="M">
|
||||
<x>-0.3 </x>
|
||||
<y>0.0 </y>
|
||||
<z>2.10</z>
|
||||
</location>
|
||||
<location name="VRP" unit="M">
|
||||
<x> 0.0 </x>
|
||||
<y> 0.0 </y>
|
||||
<z> 0.0 </z>
|
||||
</location>
|
||||
</metrics>
|
||||
|
||||
<mass_balance>
|
||||
<ixx unit="SLUG*FT2"> 5596 </ixx>
|
||||
<iyy unit="SLUG*FT2"> 5334 </iyy>
|
||||
<izz unit="SLUG*FT2"> 11945 </izz>
|
||||
<ixz unit="SLUG*FT2"> 0 </ixz>
|
||||
<emptywt unit="KG"> 3000 </emptywt>
|
||||
<location name="CG" unit="M">
|
||||
<x> 1.5 </x>
|
||||
<y> 0.0 </y>
|
||||
<z> 0.4 </z>
|
||||
</location>
|
||||
</mass_balance>
|
||||
|
||||
<ground_reactions>
|
||||
<contact type="BOGEY" name="FL">
|
||||
<location unit="M">
|
||||
<x> 0.68</x>
|
||||
<y>-0.66</y>
|
||||
<z>-0.02</z>
|
||||
</location>
|
||||
<static_friction> 0.82 </static_friction>
|
||||
<dynamic_friction> 0.5 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 45 </max_steer>
|
||||
<brake_group> LEFT </brake_group>
|
||||
<retractable>0</retractable>
|
||||
</contact>
|
||||
<contact type="BOGEY" name="FR">
|
||||
<location unit="M">
|
||||
<x> 0.68</x>
|
||||
<y> 0.66</y>
|
||||
<z>-0.02</z>
|
||||
</location>
|
||||
<static_friction> 0.82 </static_friction>
|
||||
<dynamic_friction> 0.5 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 45 </max_steer>
|
||||
<brake_group> RIGHT </brake_group>
|
||||
<retractable>0</retractable>
|
||||
</contact>
|
||||
<contact type="BOGEY" name="BL">
|
||||
<location unit="M">
|
||||
<x> 3.17</x>
|
||||
<y>-0.66</y>
|
||||
<z>-0.03</z>
|
||||
</location>
|
||||
<static_friction> 1.95</static_friction>
|
||||
<dynamic_friction> 0.7 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
<brake_group> LEFT </brake_group>
|
||||
<retractable>0</retractable>
|
||||
</contact>
|
||||
<contact type="BOGEY" name="BR">
|
||||
<location unit="M">
|
||||
<x> 3.17</x>
|
||||
<y> 0.66</y>
|
||||
<z>-0.03</z>
|
||||
</location>
|
||||
<static_friction> 1.95</static_friction>
|
||||
<dynamic_friction> 0.7 </dynamic_friction>
|
||||
<rolling_friction> 0.05 </rolling_friction>
|
||||
<spring_coeff unit="LBS/FT"> 5400 </spring_coeff>
|
||||
<damping_coeff unit="LBS/FT/SEC"> 1600 </damping_coeff>
|
||||
<max_steer unit="DEG"> 0.0 </max_steer>
|
||||
<brake_group> RIGHT </brake_group>
|
||||
<retractable>0</retractable>
|
||||
</contact>
|
||||
</ground_reactions>
|
||||
|
||||
<propulsion/>
|
||||
|
||||
<flight_control name="Truck">
|
||||
<property value="1">/controls/engines/engine/direction</property>
|
||||
<channel name="Engine">
|
||||
<fcs_function name="fcs/engine-force">
|
||||
<function>
|
||||
<product>
|
||||
<property>/controls/engines/engine/throttle</property>
|
||||
<property>/controls/engines/engine/direction</property>
|
||||
<value>1200</value>
|
||||
</product>
|
||||
</function>
|
||||
<output>external_reactions/engine/magnitude</output>
|
||||
</fcs_function>
|
||||
</channel>
|
||||
|
||||
<channel name="Steer">
|
||||
<summer name="Steer Sum">
|
||||
<input>fcs/rudder-cmd-norm</input>
|
||||
<clipto>
|
||||
<min>-1</min>
|
||||
<max>1</max>
|
||||
</clipto>
|
||||
<output>fcs/rudder-pos-norm</output>
|
||||
</summer>
|
||||
</channel>
|
||||
</flight_control>
|
||||
|
||||
<aerodynamics>
|
||||
<axis name="DRAG">
|
||||
<function name="aero/coefficient/CD">
|
||||
<product>
|
||||
<property>aero/qbar-area</property>
|
||||
<value>0.8</value>
|
||||
</product>
|
||||
</function>
|
||||
</axis>
|
||||
<axis name="SIDE"/>
|
||||
<axis name="ROLL"/>
|
||||
<axis name="PITCH"/>
|
||||
<axis name="YAW"/>
|
||||
</aerodynamics>
|
||||
|
||||
<external_reactions>
|
||||
<force name="engine" frame="BODY">
|
||||
<location unit="M">
|
||||
<x> 1.5</x>
|
||||
<y> 0</y>
|
||||
<z> 0</z>
|
||||
</location>
|
||||
<direction>
|
||||
<x>1</x>
|
||||
<y>0</y>
|
||||
<z>0</z>
|
||||
</direction>
|
||||
</force>
|
||||
</external_reactions>
|
||||
</fdm_config>
|
||||
|
After Width: | Height: | Size: 19 KiB |