mirror of
https://github.com/l0k1/oprf_assets.git
synced 2024-11-01 07:41:15 +08:00
Make sure targets are recognised as aircrafts
This commit is contained in:
parent
15d4134ac4
commit
4ef4fdbc58
34
hunter/Models/hunter.xml
Normal file
34
hunter/Models/hunter.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<model>
|
||||
<path>Axalp_HillTarget.ac</path>
|
||||
<name>hilltarget</name>
|
||||
</model>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>hilltarget</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>0</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
<model>
|
||||
<path>Axalp_CliffTarget.ac</path>
|
||||
<name>clifftarget</name>
|
||||
</model>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>clifftarget</object-name>
|
||||
<condition>
|
||||
<equals>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>1</value>
|
||||
</equals>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
75
hunter/gui/dialogs/type.xml
Normal file
75
hunter/gui/dialogs/type.xml
Normal file
@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2015 onox
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>type</name>
|
||||
<layout>vbox</layout>
|
||||
<width>250</width>
|
||||
<resizable>false</resizable>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
||||
<empty><stretch>true</stretch></empty>
|
||||
<text>
|
||||
<label>Type</label>
|
||||
</text>
|
||||
<empty><stretch>true</stretch></empty>
|
||||
|
||||
<button>
|
||||
<legend/>
|
||||
<keynum>27</keynum>
|
||||
<pref-width>16</pref-width>
|
||||
<pref-height>16</pref-height>
|
||||
<border>2</border>
|
||||
<binding>
|
||||
<command>dialog-close</command>
|
||||
</binding>
|
||||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
<default-padding>6</default-padding>
|
||||
|
||||
<empty><stretch>true</stretch></empty>
|
||||
|
||||
<button>
|
||||
<legend>Hill Target</legend>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</button>
|
||||
<button>
|
||||
<legend>Cliff Target</legend>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>sim/multiplay/generic/int[17]</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
</group>
|
||||
|
||||
</PropertyList>
|
124
hunter/hunter-set.xml
Normal file
124
hunter/hunter-set.xml
Normal file
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!--
|
||||
Copyright (c) 2015 onox
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<environment>
|
||||
<in-to-wind type="bool">false</in-to-wind>
|
||||
</environment>
|
||||
|
||||
<carrier>
|
||||
<fdm>
|
||||
<settings>
|
||||
<!-- The maximum bank angle during full rudder deflection -->
|
||||
<bank-limit type="double">15.0</bank-limit>
|
||||
|
||||
<!-- Frequency and overshoot of the oscillator used to
|
||||
simulate heeling (roll).
|
||||
-->
|
||||
<heel-frequency type="double">0.5</heel-frequency>
|
||||
<heel-overshoot type="double">4.0</heel-overshoot>
|
||||
|
||||
<!-- Frequency and overshoot of the oscillator used to
|
||||
simulate trimming (pitch).
|
||||
-->
|
||||
<trim-frequency type="double">0.32</trim-frequency>
|
||||
<trim-overshoot type="double">0.45</trim-overshoot>
|
||||
|
||||
<!-- The speed of the waves plus speed of the ship in knots
|
||||
which generates the maximum overshoot of the trim
|
||||
oscillation.
|
||||
-->
|
||||
<max-trim-oscillation-wave-kt type="double">30.0</max-trim-oscillation-wave-kt>
|
||||
|
||||
<!-- The speed of the waves in knots which generates the
|
||||
maximum overshoot of the heel oscillation.
|
||||
-->
|
||||
<max-heel-oscillation-wave-kt type="double">20.0</max-heel-oscillation-wave-kt>
|
||||
|
||||
<movement type="bool">true</movement>
|
||||
</settings>
|
||||
</fdm>
|
||||
</carrier>
|
||||
|
||||
<sim>
|
||||
<author>vanosten</author>
|
||||
<description>MP target models for the Hunter simulation. These models do not fly and are only meant to be displayed over MP. There is no damage or other logic.</description>
|
||||
<status>alpha</status>
|
||||
<aircraft-version>0.1</aircraft-version>
|
||||
|
||||
<flight-model>null</flight-model>
|
||||
|
||||
<aero>KPN-D</aero>
|
||||
<aircraft-operator>KPN</aircraft-operator>
|
||||
|
||||
<model>
|
||||
<path>Aircraft/hunter/Models/hunter.xml</path>
|
||||
|
||||
<!-- Uncloak weather balloons visiting Earth -->
|
||||
<always-show-in-MP type="bool">true</always-show-in-MP>
|
||||
</model>
|
||||
|
||||
<presets>
|
||||
<onground>true</onground>
|
||||
</presets>
|
||||
|
||||
<current-view>
|
||||
<deck-park type="bool">true</deck-park>
|
||||
|
||||
<z-offset-dec-step type="double">0.0</z-offset-dec-step>
|
||||
<z-offset-inc-step type="double">0.0</z-offset-inc-step>
|
||||
<can-change-z-offset type="bool">false</can-change-z-offset>
|
||||
|
||||
<z-offset-min-m type="float">100.0</z-offset-min-m>
|
||||
<z-offset-max-m type="float">2000.0</z-offset-max-m>
|
||||
</current-view>
|
||||
|
||||
<systems>
|
||||
</systems>
|
||||
<multiplay>
|
||||
<visibility-range-nm type="int">750</visibility-range-nm>
|
||||
<generic>
|
||||
<int n="0" type="int">0</int>
|
||||
<int n="2" type="int">1</int>
|
||||
<int n="17" type="int">0</int>
|
||||
</generic>
|
||||
</multiplay>
|
||||
|
||||
<menubar>
|
||||
<default>
|
||||
<menu n="100">
|
||||
<label>Hunter Targets</label>
|
||||
<enabled type="bool">true</enabled>
|
||||
<item>
|
||||
<label>Type</label>
|
||||
<binding>
|
||||
<command>dialog-show</command>
|
||||
<dialog-name>type</dialog-name>
|
||||
</binding>
|
||||
</item>
|
||||
</menu>
|
||||
</default>
|
||||
</menubar>
|
||||
|
||||
|
||||
<chase-distance-m type="double" archive="y">-250.0</chase-distance-m>
|
||||
</sim>
|
||||
|
||||
</PropertyList>
|
Loading…
Reference in New Issue
Block a user