glass-rain.xml 5.1 KB

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