followme_e-tron/followme_e-tron-set.xml

380 lines
9.6 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<sim>
<description>Follow Me e-tron</description>
<author>Gijs de Rooy, Weihao Li, Sidi Liang</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_e-tron</aero>
<model>
<path>Aircraft/followme_e-tron/Models/followme.xml</path>
<livery>
<file type="string"/>
</livery>
</model>
<sound>
<path>Aircraft/followme_e-tron/followme-sound.xml</path>
<switch type = "bool"></switch>
</sound>
<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>
<key>
<name>w</name>
<desc>Full pedal</desc>
</key>
<key>
<name>s</name>
<desc>Full brake</desc>
</key>
<key>
<name>a</name>
<desc>Steer left 50%</desc>
</key>
<key>
<name>d</name>
<desc>Steer right 50%</desc>
</key>
<key>
<name>h</name>
<desc>Horn</desc>
</key>
<key>
<name>f</name>
<desc>Toggle false indicator light</desc>
</key>
<key>
<name>[</name>
<desc>Toggle left indicator light</desc>
</key>
<key>
<name>]</name>
<desc>Toggle right indicator light</desc>
</key>
<text>
You can select the message to be displayed on the bar, through the "Follow Me > Select message" menu.
</text>
<text>
e-tron Brought to you by FGPRC.
</text>
</help>
<menubar>
<default>
<menu n="10">
<label>Follow me</label>
<enabled type="bool">true</enabled>
<item>
<label>Show Options</label>
<binding>
<command>dialog-show</command>
<dialog-name>vehicle-dialog</dialog-name>
</binding>
</item>
<item>
<label>Battery Management</label>
<binding>
<command>dialog-show</command>
<dialog-name>battery-management</dialog-name>
</binding>
</item>
<item>
<label>Select Livery</label>
<binding>
<command>nasal</command>
<script>followme.liveryFuse.dialog.toggle()</script>
</binding>
</item>
<item>
<label>Select Message</label>
<binding>
<command>nasal</command>
<script>aircraft.livery.dialog.toggle()</script>
</binding>
</item>
<item>
<label>Start Engine</label>
<binding>
<command>nasal</command>
<script>engine.startEngine()</script>
</binding>
</item>
<item>
<label>Stop Engine</label>
<binding>
<command>nasal</command>
<script>engine.stopEngine()</script>
</binding>
</item>
</menu>
</default>
</menubar>
<multiplay>
<generic>
<int n="0" alias="/sim/model/lights/indicator-left/state"/>
<int n="1" alias="/sim/model/lights/indicator-right/state"/>
<int n="2" alias="/systems/horn"/>
</generic>
</multiplay>
</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>nasal</command>
<script>followme.indicatorController.left_indicator_toggle();</script>
</binding>
</key>
<key n="93">
<name>]</name>
<desc>Toggle right indicator lights</desc>
<binding>
<command>nasal</command>
<script>followme.indicatorController.right_indicator_toggle();</script>
</binding>
</key>
<key n="102">
<name>f</name>
<desc>false-light</desc>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.indicatorController.false_light_toggle();</script>
</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>-0.5</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>0.5</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/flight/rudder</property>
<value>0</value>
</binding>
</mod-up>
</key>
<key n="32">
<name>SPACE</name>
<desc>horn</desc>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/systems/horn</property>
<value>1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/systems/horn</property>
<value>0</value>
</binding>
</mod-up>
</key>
<key n="108">
<name>l</name>
<desc>head-light</desc>
<repeatable>false</repeatable>
<binding>
<command>property-cycle</command>
<property>/controls/lighting/headlight</property>
<value type="double">1</value>
<value type="double">0</value>
</binding>
</key>
</keyboard>
</input>
<nasal>
<followme>
<file>Aircraft/followme_e-tron/Nasal/systems.nas</file>
</followme>
<engine>
<file>Aircraft/followme_e-tron/Nasal/engine.nas</file>
</engine>
<electrical>
<file>Aircraft/followme_e-tron/Nasal/electrical.nas</file>
</electrical>
</nasal>
</PropertyList>