glass-rain.xml 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2015 Wayne Bragg
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. <PropertyList>
  16. <filter>
  17. <name>splash-xa</name>
  18. <update-interval-secs type="double">0.1</update-interval-secs>
  19. <type>gain</type>
  20. <gain>1.0</gain>
  21. <input>
  22. <expression>
  23. <table>
  24. <property>/velocities/airspeed-kt</property>
  25. <entry><ind> 0 </ind><dep> -0.33 </dep></entry>
  26. <entry><ind> 4 </ind><dep> -0.33 </dep></entry>
  27. <entry><ind> 15 </ind><dep> -1.7 </dep></entry>
  28. <entry><ind> 50 </ind><dep> -2.1 </dep></entry>
  29. </table>
  30. </expression>
  31. </input>
  32. <output>
  33. <property>/environment/aircraft-effects/splash-xa</property>
  34. </output>
  35. </filter>
  36. <filter>
  37. <name>splash-za</name>
  38. <update-interval-secs type="double">0.1</update-interval-secs>
  39. <type>gain</type>
  40. <gain>1.0</gain>
  41. <input>
  42. <expression>
  43. <table>
  44. <property>/velocities/airspeed-kt</property>
  45. <entry><ind> 0 </ind><dep> 0.82 </dep></entry>
  46. <entry><ind> 4 </ind><dep> 0.82 </dep></entry>
  47. <entry><ind> 15 </ind><dep> -0.17 </dep></entry>
  48. <entry><ind> 50 </ind><dep> -0.35 </dep></entry>
  49. </table>
  50. </expression>
  51. </input>
  52. <output>
  53. <property>/environment/aircraft-effects/splash-za</property>
  54. </output>
  55. </filter>
  56. <filter>
  57. <name>splash-xr</name>
  58. <update-interval-secs type="double">0.1</update-interval-secs>
  59. <type>gain</type>
  60. <gain>1.0</gain>
  61. <input>
  62. <expression>
  63. <table>
  64. <property>/engines/active-engine/rpm</property>
  65. <entry><ind> 0 </ind><dep> -0.33 </dep></entry>
  66. <entry><ind> 600 </ind><dep> -0.33 </dep></entry>
  67. <entry><ind> 601 </ind><dep> -1.3 </dep></entry>
  68. <entry><ind> 1500 </ind><dep> -1.9 </dep></entry>
  69. </table>
  70. </expression>
  71. </input>
  72. <output>
  73. <property>/environment/aircraft-effects/splash-xr</property>
  74. </output>
  75. </filter>
  76. <filter>
  77. <name>splash-zr</name>
  78. <update-interval-secs type="double">0.1</update-interval-secs>
  79. <type>gain</type>
  80. <gain>1.0</gain>
  81. <input>
  82. <expression>
  83. <table>
  84. <property>/engines/active-engine/rpm</property>
  85. <entry><ind> 0 </ind><dep> 0.82 </dep></entry>
  86. <entry><ind> 600 </ind><dep> 0.82 </dep></entry>
  87. <entry><ind> 601 </ind><dep> 0.127 </dep></entry>
  88. <entry><ind> 1500 </ind><dep> -0.29 </dep></entry>
  89. </table>0
  90. </expression>
  91. </input>
  92. <output>
  93. <property>/environment/aircraft-effects/splash-zr</property>
  94. </output>
  95. </filter>
  96. <filter>
  97. <name>splash-x</name>
  98. <update-interval-secs type="double">0.1</update-interval-secs>
  99. <type>gain</type>
  100. <gain>-1.0</gain>
  101. <input>
  102. <condition>
  103. <greater-than-equals>
  104. <property>/velocities/airspeed-kt</property>
  105. <value>5</value>
  106. </greater-than-equals>
  107. </condition>
  108. <property>/environment/aircraft-effects/splash-xa</property>
  109. </input>
  110. <input>
  111. <condition>
  112. <less-than>
  113. <property>/velocities/airspeed-kt</property>
  114. <value>5</value>
  115. </less-than>
  116. </condition>
  117. <property>/environment/aircraft-effects/splash-xr</property>
  118. </input>
  119. <output>
  120. <property>/environment/aircraft-effects/splash-vector-x</property>
  121. </output>
  122. </filter>
  123. <filter>
  124. <name>splash-y</name>
  125. <update-interval-secs type="double">0.1</update-interval-secs>
  126. <type>gain</type>
  127. <gain>-1.0</gain>
  128. <input>
  129. <value>0.0</value>
  130. </input>
  131. <output>
  132. <property>/environment/aircraft-effects/splash-vector-y</property>
  133. </output>
  134. </filter>
  135. <filter>
  136. <name>splash-z</name>
  137. <update-interval-secs type="double">0.1</update-interval-secs>
  138. <type>gain</type>
  139. <gain>-1.0</gain>
  140. <input>
  141. <condition>
  142. <greater-than-equals>
  143. <property>/velocities/airspeed-kt</property>
  144. <value>5</value>
  145. </greater-than-equals>
  146. </condition>
  147. <property>/environment/aircraft-effects/splash-za</property>
  148. </input>
  149. <input>
  150. <condition>
  151. <less-than>
  152. <property>/velocities/airspeed-kt</property>
  153. <value>5</value>
  154. </less-than>
  155. </condition>
  156. <property>/environment/aircraft-effects/splash-zr</property>
  157. </input>
  158. <output>
  159. <property>/environment/aircraft-effects/splash-vector-z</property>
  160. </output>
  161. </filter>
  162. </PropertyList>