1
0
Fork 0
fgdata/Aircraft/c172p/Systems/damage.xml
Stuart Buchanan 88b49b4259 Sync c172p with c172p-detailed master branch.
Sync with commit cab40a0af989bf08302836f98e91672920369fa3
2015-07-05 19:32:41 +01:00

94 lines
2.5 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 2 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>
<filter>
<name>Damage Left Wing Type</name>
<type>gain</type>
<!-- Normal -->
<input>
<condition>
<equals>
<property>/fdm/jsbsim/wing-damage/left-wing</property>
<value>0.0</value>
</equals>
</condition>
<value>0</value>
</input>
<!-- Broken -->
<input>
<condition>
<equals>
<property>/fdm/jsbsim/wing-damage/left-wing</property>
<value>1.0</value>
</equals>
</condition>
<value>1</value>
</input>
<!-- Damaged -->
<input>
<value>2</value>
</input>
<output>
<property>/sim/model/c172p/damage/left-wing</property>
</output>
</filter>
<filter>
<name>Damage Right Wing Type</name>
<type>gain</type>
<!-- Normal -->
<input>
<condition>
<equals>
<property>/fdm/jsbsim/wing-damage/right-wing</property>
<value>0.0</value>
</equals>
</condition>
<value>0</value>
</input>
<!-- Broken -->
<input>
<condition>
<equals>
<property>/fdm/jsbsim/wing-damage/right-wing</property>
<value>1.0</value>
</equals>
</condition>
<value>1</value>
</input>
<!-- Damaged -->
<input>
<value>2</value>
</input>
<output>
<property>/sim/model/c172p/damage/right-wing</property>
</output>
</filter>
</PropertyList>