followme_e-tron/followme_e-tron-set.xml

695 lines
21 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0"?>
<PropertyList>
<sim>
<description>Follow Me e-tron</description>
<author>Gijs de Rooy, 李维昊Weihao Li, 梁思地Sidi Liang, 罗启元Qiyuan LuoValKmjolnir</author>
<status>early production</status>
<long-description>
An electronic, High-Performance version of a follow me car with Chinese characteristics.
</long-description>
<gui><style><colors>
<splash-font>
<red>1.0</red>
<green>1.00</green>
<blue>1.00</blue>
</splash-font>
<splash-screen>
<red>0.117</red>
<green>0.19</green>
<blue>0.227</blue>
</splash-screen>
</colors></style></gui>
<previews>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/01.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/02.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/03.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/04.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/05.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/06.jpg</path>
</preview>
<preview>
<type>interior</type>
<splash type="bool">true</splash>
<path>Splash/07.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/08.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/09.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/10.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/11.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/12.png</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/13.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/14.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/15.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/16.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/17.jpg</path>
</preview>
<preview>
<type>interior</type>
<splash type="bool">true</splash>
<path>Splash/18.jpg</path>
</preview>
<preview>
<type>interior</type>
<splash type="bool">true</splash>
<path>Splash/19.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/20.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/0.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/1.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/2.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/3.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/4.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/5.jpg</path>
</preview>
<preview>
<type>exterior</type>
<splash type="bool">true</splash>
<path>Splash/G4_Tour/6.jpg</path>
</preview>
</previews>
<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/followmeEV.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.21</y-offset-m>
<z-offset-m archive="y" type="double">1.88</z-offset-m>
<pitch-offset-deg>-10.0</pitch-offset-deg>
<default-field-of-view-deg type="double">90</default-field-of-view-deg>
</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>
<view n="100">
<name>Copilot View</name>
<internal archive="y">true</internal>
<type>lookfrom</type>
<config>
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<dynamic-view type="bool">true</dynamic-view>
<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>
<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</desc>
</key>
<key>
<name>d</name>
<desc>Steer right</desc>
</key>
<key>
<name>space</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>
<key>
<name>c</name>
<desc>Toggle auto-pilot system</desc>
</key>
<text>
You can select the message to be displayed on the bar, through the "Follow Me E > Select message" menu.
</text>
<text>
For more options, see "Follow Me EV > Show Options" menu.
</text>
<text>
e-tron Brought to you by FGPRC.
</text>
</help>
<menubar>
<default>
<menu n="10">
<label>Follow Me EV</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>
<item>
<label>Select Passenger</label>
<binding>
<command>nasal</command>
<script>
dual_control_tools.copilot_dialog.show(aircraft_dual_control.copilot_type);
</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"/>
<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"/>
<float n="2" alias="/controls/doors/frontright/position-norm"/>
<float n="3" alias="/controls/doors/frontleft/position-norm"/>
<float n="4" alias="/gear/gear[0]/steering-norm"/>
<float n="5" alias="/gear/gear[0]/compression-norm"/>
<float n="6" alias="/gear/gear[0]/rollspeed-ms"/>
<float n="7" alias="/gear/gear[1]/steering-norm"/>
<float n="8" alias="/gear/gear[1]/compression-norm"/>
<float n="9" alias="/gear/gear[1]/rollspeed-ms"/>
<float n="10" alias="/gear/gear[2]/compression-norm"/>
<float n="11" alias="/gear/gear[2]/rollspeed-ms"/>
<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"/>
<float n="17" alias="/systems/electrical/e-tron/battery-remaining-percent-float"/>
<float n="18" alias="/controls/steering_wheel"/>
<string n="0" alias="/systems/plate"/>
<string n="1" alias="/systems/battery-gauge/type"/>
<string n="2" alias="/systems/speedometer/type"/>
</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>nasal</command>
<script>engine.engine_1.toggleDirection();</script>
</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>nasal</command>
<script>followme.steeringAssistance.inputLeft();</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>followme.steeringAssistance.neutral();</script>
</binding>
</mod-up>
</key>
<key n="99">
<name>c</name>
<desc>toggle_auto_pilot</desc>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>autopilot.toggle_auto_pilot();</script>
</binding>
</key>
<key n="100">
<name>d</name>
<desc>rudder-right</desc>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>followme.steeringAssistance.inputRight();</script>
</binding>
<mod-up>
<binding>
<command>nasal</command>
<script>followme.steeringAssistance.neutral();</script>
</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-als</property>
<value type="double">0</value>
<value type="double">1</value>
<value type="double">2</value>
</binding>
</key>
<key n="107">
<name>k</name>
<desc>high-beam</desc>
<repeatable>false</repeatable>
<binding>
<command>property-cycle</command>
<property>/controls/lighting/highBeam</property>
<value type="double">0</value>
<value type="double">1</value>
</binding>
<binding>
<command>property-cycle</command>
<property>/controls/lighting/headlight</property>
<value type="double">0</value>
<value type="double">1</value>
</binding>
</key>
<key n="106">
<name>j</name>
<desc>high-beam-flash</desc>
<repeatable>false</repeatable>
<binding>
<command>property-assign</command>
<property>/controls/lighting/highBeam</property>
<value type="double">1</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/lighting/headlight</property>
<value type="double">1</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/lighting/highBeam</property>
<value type="double">0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/lighting/headlight</property>
<value type="double">0</value>
</binding>
</mod-up>
</key>
</keyboard>
</input>
<nasal>
<followme>
<file>Aircraft/followme_e-tron/Nasal/electrical.nas</file>
<file>Aircraft/followme_e-tron/Nasal/systems.nas</file>
<file>Aircraft/followme_e-tron/Nasal/steering.nas</file>
</followme>
<!--<screen>
<file>Aircraft/followme_e-tron/Nasal/SmartScreen.nas</file>
</screen> -->
<engine>
<file>Aircraft/followme_e-tron/Nasal/engine.nas</file>
</engine>
<light>
<file>Aircraft/followme_e-tron/Nasal/light-manager.nas</file>
</light>
<dual_control_tools>
<file>Aircraft/followme_e-tron/Nasal/DualControl/dual-control-tools.nas</file>
</dual_control_tools>
<aircraft_dual_control>
<file>Aircraft/followme_e-tron/Nasal/DualControl/followme-dual-control.nas</file>
</aircraft_dual_control>
<dual_control>
<file>Aircraft/followme_e-tron/Nasal/DualControl/pilot-dual-control.nas</file>
</dual_control>
<autopilot>
<file>Aircraft/followme_e-tron/Nasal/auto_crash.nas</file>
</autopilot>
<musicplayer>
<file>Aircraft/followme_e-tron/MusicPlayer/musicplayer.nas</file>
</musicplayer>
<dialogs>
<file>Aircraft/followme_e-tron/gui/dialogs/config.nas</file>
</dialogs>
</nasal>
</PropertyList>