oprf_assets/missile-frigate/missile-frigate-set.xml
2019-04-14 08:57:01 +02:00

426 lines
18 KiB
XML

<?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>
<mode type="string">manual</mode>
</carrier>
<sim include="Sim/views.xml">
<author>pinto and onox</author>
<description>Missile Frigate</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/missile-frigate/Models/missile_frigate.xml</path>
<!-- Uncloak weather balloons visiting Earth -->
<always-show-in-MP type="bool">true</always-show-in-MP>
</model>
<presets>
<onground>true</onground>
</presets>
<startup>
<splash-texture>Aircraft/missile-frigate/splash1.png</splash-texture>
</startup>
<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>
<hud>
<path n="1">Aircraft/missile-frigate/Hud/hud.xml</path>
<visibility n="1">true</visibility>
<font>
<size type="float">10.0</size>
</font>
</hud>
<systems>
<autopilot>
<path>Systems/fbw.xml</path>
</autopilot>
<autopilot>
<path>Systems/fdm.xml</path>
</autopilot>
<autopilot>
<path>Aircraft/missile-frigate/autopilot.xml</path>
</autopilot>
<property-rule n="100">
<path>Systems/views.xml</path>
</property-rule>
</systems>
<multiplay>
<generic>
<int n="0" alias="/carrier/sunk"/>
<int n="2" type="int">0</int>
</generic>
</multiplay>
<menubar>
<default>
<menu n="100">
<label>Missile-frigate</label>
<enabled type="bool">true</enabled>
<item>
<label>Reload</label>
<binding>
<command>nasal</command>
<script>
fire_control.reload();
</script>
</binding>
</item>
<item>
<label>Targets</label>
<name>enemies</name>
<binding>
<command>dialog-show</command>
<dialog-name>enemies</dialog-name>
</binding>
</item>
</menu>
</default>
</menubar>
<aircraft-data>
<!-- Properties that get saved to persist locally between FG sessions -->
<path>enemies/e1</path>
<path>enemies/e2</path>
<path>enemies/e3</path>
<path>enemies/e4</path>
<path>enemies/e5</path>
<path>enemies/e6</path>
<path>enemies/e7</path>
<path>enemies/e8</path>
<path>enemies/e9</path>
<path>enemies/e10</path>
<path>enemies/e11</path>
<path>enemies/e12</path>
</aircraft-data>
</sim>
<!-- need to adjust this (probably) -->
<controls>
<armament>
<station-select type="int">0</station-select>
<trigger type="bool">false</trigger>
<station n="1">
<offsets>
<x-m type="double"> 4.15986</x-m>
<y-m type="double"> -2.70311</y-m>
<z-m type="double"> -0.67645</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="2">
<offsets>
<x-m type="double"> -0.02697</x-m>
<y-m type="double"> -0.98148</y-m>
<z-m type="double"> -0.94307</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="3">
<offsets>
<x-m type="double"> 4.15986</x-m>
<y-m type="double"> 2.70311</y-m>
<z-m type="double"> -0.67645</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="4">
<offsets>
<x-m type="double"> -0.02697</x-m>
<y-m type="double"> 0.98148</y-m>
<z-m type="double"> -0.94307</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="5"><!-- left outer wing -->
<offsets>
<x-m type="double"> 4.05216</x-m>
<y-m type="double"> -3.94417</y-m>
<z-m type="double"> -0.73722</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="6"><!-- right outer wing -->
<offsets>
<x-m type="double"> 4.05216</x-m>
<y-m type="double"> 3.94417</y-m>
<z-m type="double"> -0.73722</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="7"><!-- right outer wing -->
<offsets>
<x-m type="double"> 4.05216</x-m>
<y-m type="double"> 3.94417</y-m>
<z-m type="double"> -0.73722</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
<station n="8"><!-- right outer wing -->
<offsets>
<x-m type="double"> 4.05216</x-m>
<y-m type="double"> 3.94417</y-m>
<z-m type="double"> -0.73722</z-m>
</offsets>
<trigger type="bool">false</trigger>
</station>
</armament>
</controls>
<payload>
<weight n="0">
<name>Main Store</name>
<weight-lb alias="/fdm/jsbsim/inertia/pointmass-weight-lbs[1]"/>
<selected>none</selected>
<opt>
<name>KN-06</name>
<lbs>50</lbs>
</opt>
</weight>
<armament>
<models type="string">Aircraft/missile-frigate/Models/Armament/Weapons/</models>
<modelsUseCase type="bool">true</modelsUseCase>
<modelsUpperCase type="bool">true</modelsUpperCase>
<MP-lat type="string">rotors/main/blade[0]/flap-deg</MP-lat>
<MP-lon type="string">rotors/main/blade[1]/flap-deg</MP-lon>
<MP-alt type="string">rotors/main/blade[2]/flap-deg</MP-alt>
<hit-interpolation type="bool">true</hit-interpolation>
<pylon-offset type="int">1</pylon-offset>
<pylon-stations>controls/armament</pylon-stations>
<station-name type="string">station</station-name>
<msg type="bool">true</msg>
<damage type="bool">true</damage>
<kn-06>
<vol-search type="double">0.00</vol-search>
<vol-track type="double">0.15</vol-track> <!-- -->
<vol-track-weak type="double">0.1</vol-track-weak> <!-- -->
<guidance type="string">radar</guidance>
<navigation type="string">APN</navigation> <!-- -->
<all-aspect type="bool">true</all-aspect>
<max-fire-range-nm type="int">85</max-fire-range-nm>
<FCS-field-deg type="int">360</FCS-field-deg>
<seeker-field-deg type="int">220</seeker-field-deg><!-- since launched vertical, it cannot be too small -->
<max-g type="int">22</max-g>
<thrust-lbf-stage-1 type="double">90000</thrust-lbf-stage-1>
<thrust-lbf-stage-2 type="double">77000</thrust-lbf-stage-2> <!-- max 2000 m/s speed, 93 NM range -->
<stage-1-duration-sec type="double">0.25</stage-1-duration-sec>
<stage-2-duration-sec type="double">8.0</stage-2-duration-sec>
<weight-launch-lbs>3920</weight-launch-lbs>
<weight-warhead-lbs>315</weight-warhead-lbs>
<weight-fuel-lbm>2800</weight-fuel-lbm> <!-- -->
<drag-coeff type="double">0.20</drag-coeff> <!-- max 2000 m/s speed, 93 NM range -->
<cross-section-sqft type="double">2.11349</cross-section-sqft>
<arming-time-sec type="double">2</arming-time-sec>
<min-speed-for-guiding-mach type="double">0.25</min-speed-for-guiding-mach>
<self-destruct-time-sec type="double">160</self-destruct-time-sec>
<self-destruct-at-lock-lost type="bool">true</self-destruct-at-lock-lost>
<seeker-angular-speed-dps type="double">3000</seeker-angular-speed-dps>
<loft-altitude type="int">75000</loft-altitude>
<min-fire-range-nm type="double">0.85</min-fire-range-nm>
<max-report-distance type="double">200</max-report-distance> <!-- -->
<rail type="bool">true</rail>
<rail-length-m type="double">7.5</rail-length-m>
<rail-point-forward type="bool">false</rail-point-forward>
<rail-pitch-deg type="double">90</rail-pitch-deg> <!-- new -->
<chaff-resistance type="double">0.95</chaff-resistance>
<proportionality-constant type="double">3</proportionality-constant>
<class type="string">A</class>
<fire-msg>Bird away</fire-msg>
</kn-06>
<!-- test: SAM -->
<test>
<sound-on-off type="bool">false</sound-on-off>
<sound-volume type="double">0.0</sound-volume>
<sound-fire-on-off type="bool">false</sound-fire-on-off>
<vol-search type="double">0.00</vol-search>
<guidance type="string">radar</guidance>
<all-aspect type="bool">true</all-aspect>
<max-fire-range-nm type="int">38.8</max-fire-range-nm>
<FCS-field-deg type="int">360</FCS-field-deg>
<seeker-field-deg type="int">360</seeker-field-deg>
<max-g type="int">30</max-g>
<thrust-lbf-stage-1 type="double">9000</thrust-lbf-stage-1>
<thrust-lbf-stage-2 type="double">1500</thrust-lbf-stage-2>
<stage-1-duration-sec type="double">4.0</stage-1-duration-sec>
<stage-2-duration-sec type="double">15.0</stage-2-duration-sec>
<weight-launch-lbs>291</weight-launch-lbs>
<weight-warhead-lbs>44</weight-warhead-lbs>
<drag-coeff type="double">0.5</drag-coeff>
<drag-area type="double">0.2739</drag-area>
<searcher-beam-width type="double">3.0</searcher-beam-width>
<arming-time-sec type="double">1.6</arming-time-sec>
<min-speed-for-guiding-mach type="double">0.9</min-speed-for-guiding-mach>
<self-destruct-time-sec type="double">90</self-destruct-time-sec>
<seeker-angular-speed-dps type="double">30</seeker-angular-speed-dps>
<loft-altitude>0</loft-altitude>
<min-fire-range-nm type="double">0.35</min-fire-range-nm>
<rail type="bool">true</rail>
<rail-length-m type="double">5</rail-length-m>
<rail-point-forward type="bool">false</rail-point-forward>
<class type="string">A/A</class>
<fire-msg>Chickenbeater</fire-msg>
</test>
<!--<test>
<sound-on-off type="bool">false</sound-on-off>
<sound-volume type="double">0.0</sound-volume>
<vol-search type="double">0.03</vol-search>
<guidance type="string">radar</guidance>
<all-aspect type="bool">true</all-aspect>
<max-fire-range-nm type="double">100</max-fire-range-nm>
<FCS-field-deg type="int">25</FCS-field-deg>
<seeker-field-deg type="int">180</seeker-field-deg>
<max-g type="int">20</max-g>
<max-launch-g type="int">7</max-launch-g>
<thrust-lbf-stage-1 type="double">150</thrust-lbf-stage-1>
<thrust-lbf-stage-2 type="double">0.0</thrust-lbf-stage-2>
<stage-1-duration-sec type="double">200.5</stage-1-duration-sec>
<stage-2-duration-sec type="double">1.0</stage-2-duration-sec>
<weight-launch-lbs type="double">179</weight-launch-lbs>
<weight-warhead-lbs type="double">20.8</weight-warhead-lbs>
<drag-coeff type="double">0.5</drag-coeff>
<drag-area type="double">0.143</drag-area>
<searcher-beam-width type="double">2.0</searcher-beam-width>
<arming-time-sec type="double">1.4</arming-time-sec>
<min-speed-for-guiding-mach type="double">0.4</min-speed-for-guiding-mach>
<self-destruct-time-sec type="double">250</self-destruct-time-sec>
<seeker-angular-speed-dps type="double">50</seeker-angular-speed-dps>
<loft-altitude>100</loft-altitude>
<min-fire-range-nm type="double">0.2</min-fire-range-nm>
<rail type="bool">false</rail>
<class type="string">A/G</class>
</test>-->
</armament>
</payload>
<rotors>
<main>
<blade n="0">
<flap-deg type="double">0</flap-deg>
</blade>
<blade n="1">
<flap-deg type="double">0</flap-deg>
</blade>
<blade n="2">
<flap-deg type="double">0</flap-deg>
</blade>
</main>
</rotors>
<enemies>
<e1 userarchive="y" type="string">Leto</e1>
<e2 userarchive="y" type="string">swamp</e2>
<e3 userarchive="y" type="string">pinto</e3>
<e4 userarchive="y" type="string">fb237</e4>
<e5 userarchive="y" type="string">Wilco-1</e5>
<e6 userarchive="y" type="string">Kokos</e6>
<e7 userarchive="y" type="string">J-Mav16</e7>
<e8 userarchive="y" type="string">S</e8>
<e9 userarchive="y" type="string">Raider1</e9>
<e10 userarchive="y" type="string">Slobb</e10>
<e11 userarchive="y" type="string">5H1N0B1</e11>
<e12 userarchive="y" type="string">SNOWY1</e12>
</enemies>
<nasal>
<carrier>
<file>Aircraft/missile-frigate/Nasal/fdm.nas</file>
</carrier>
<damage>
<file>Aircraft/missile-frigate/Nasal/damage.nas</file>
</damage>
<radar_logic>
<file>Aircraft/missile-frigate/Nasal/radar-logic.nas</file>
</radar_logic>
<vector>
<file>Aircraft/missile-frigate/Nasal/vector.nas</file>
</vector>
<armament>
<file>Aircraft/missile-frigate/Nasal/guided-missiles.nas</file>
</armament>
<fire_control>
<file>Aircraft/missile-frigate/Nasal/fire-control.nas</file>
</fire_control>
</nasal>
<input>
<mice include="Sim/mice.xml"/>
</input>
</PropertyList>