| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
<PropertyList> |
| 31 |
|
| 32 |
<name>AP hotspots</name> |
| 33 |
<w-base>140</w-base> |
| 34 |
<h-base>64</h-base> |
| 35 |
<w>140</w> |
| 36 |
<h>64</h> |
| 37 |
|
| 38 |
<actions> |
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
<action> |
| 49 |
<name>Autopilot ON</name> |
| 50 |
<button>0</button> |
| 51 |
<x>-22</x> |
| 52 |
<y>-24</y> |
| 53 |
<w>16</w> |
| 54 |
<h>10</h> |
| 55 |
<condition> |
| 56 |
<and> |
| 57 |
<not> |
| 58 |
<property>gear/gear[1]/wow</property> |
| 59 |
</not> |
| 60 |
<not> |
| 61 |
<property>gear/gear[2]/wow</property> |
| 62 |
</not> |
| 63 |
</and> |
| 64 |
</condition> |
| 65 |
<binding> |
| 66 |
<command>nasal</command> |
| 67 |
<script> |
| 68 |
if(getprop("autopilot/locks/passive-mode")==1){ |
| 69 |
setprop("autopilot/locks/passive-mode",0); |
| 70 |
setprop("controls/flight/yaw-damper",1); |
| 71 |
}else{ |
| 72 |
setprop("autopilot/locks/passive-mode",1); |
| 73 |
} |
| 74 |
</script> |
| 75 |
</binding> |
| 76 |
</action> |
| 77 |
|
| 78 |
<action> |
| 79 |
<name>Low Bank</name> |
| 80 |
<button>0</button> |
| 81 |
<x>-24</x> |
| 82 |
<y>10</y> |
| 83 |
<w>18</w> |
| 84 |
<h>10</h> |
| 85 |
<binding> |
| 86 |
<command>nasal</command> |
| 87 |
<script> |
| 88 |
var LB =getprop("autopilot/settings/low-bank-deg"); |
| 89 |
if(LB ==27 or LB == nil){ |
| 90 |
setprop("autopilot/settings/low-bank-deg",14); |
| 91 |
}else{ |
| 92 |
setprop("autopilot/settings/low-bank-deg",27); |
| 93 |
} |
| 94 |
</script> |
| 95 |
</binding> |
| 96 |
</action> |
| 97 |
|
| 98 |
<action> |
| 99 |
<name>Yaw Damper ON</name> |
| 100 |
<button>0</button> |
| 101 |
<x>-2</x> |
| 102 |
<y>-24</y> |
| 103 |
<w>16</w> |
| 104 |
<h>10</h> |
| 105 |
<binding> |
| 106 |
<command>nasal</command> |
| 107 |
<script> |
| 108 |
var YD=getprop("controls/flight/yaw-damper"); |
| 109 |
if(YD==0 or YD == nil){ |
| 110 |
setprop("controls/flight/yaw-damper",1); |
| 111 |
}else{ |
| 112 |
setprop("autopilot/locks/passive-mode",1); |
| 113 |
setprop("controls/flight/yaw-damper",0); |
| 114 |
} |
| 115 |
</script> |
| 116 |
</binding> |
| 117 |
</action> |
| 118 |
|
| 119 |
<action> |
| 120 |
<name>Pitch Decrease</name> |
| 121 |
<button>0</button> |
| 122 |
<x>-49</x> |
| 123 |
<y>0</y> |
| 124 |
<w>18</w> |
| 125 |
<h>18</h> |
| 126 |
<condition> |
| 127 |
<equals> |
| 128 |
<property>autopilot/locks/altitude</property> |
| 129 |
<value>pitch-hold</value> |
| 130 |
</equals> |
| 131 |
</condition> |
| 132 |
<binding> |
| 133 |
<command>property-adjust</command> |
| 134 |
<property>autopilot/settings/target-pitch-deg</property> |
| 135 |
<step>-0.10000</step> |
| 136 |
<min>-15</min> |
| 137 |
<max>15</max> |
| 138 |
<wrap>0</wrap> |
| 139 |
</binding> |
| 140 |
</action> |
| 141 |
|
| 142 |
<action> |
| 143 |
<name>Pitch Increase</name> |
| 144 |
<button>0</button> |
| 145 |
<x>-49</x> |
| 146 |
<y>-18</y> |
| 147 |
<w>18</w> |
| 148 |
<h>18</h> |
| 149 |
<condition> |
| 150 |
<equals> |
| 151 |
<property>autopilot/locks/altitude</property> |
| 152 |
<value>pitch-hold</value> |
| 153 |
</equals> |
| 154 |
</condition> |
| 155 |
<binding> |
| 156 |
<command>property-adjust</command> |
| 157 |
<property>autopilot/settings/target-pitch-deg</property> |
| 158 |
<step>0.10000</step> |
| 159 |
<min>-15</min> |
| 160 |
<max>15</max> |
| 161 |
<wrap>0</wrap> |
| 162 |
</binding> |
| 163 |
</action> |
| 164 |
|
| 165 |
<action> |
| 166 |
<name>VS Decrease</name> |
| 167 |
<button>0</button> |
| 168 |
<x>-49</x> |
| 169 |
<y>0</y> |
| 170 |
<w>18</w> |
| 171 |
<h>18</h> |
| 172 |
<condition> |
| 173 |
<equals> |
| 174 |
<property>autopilot/locks/altitude</property> |
| 175 |
<value>vertical-speed-hold</value> |
| 176 |
</equals> |
| 177 |
</condition> |
| 178 |
<binding> |
| 179 |
<command>property-adjust</command> |
| 180 |
<property>autopilot/settings/vertical-speed-fpm</property> |
| 181 |
<step>-50</step> |
| 182 |
<min>-5000</min> |
| 183 |
<max>5000</max> |
| 184 |
<wrap>0</wrap> |
| 185 |
</binding> |
| 186 |
</action> |
| 187 |
|
| 188 |
<action> |
| 189 |
<name>VS Increase</name> |
| 190 |
<button>0</button> |
| 191 |
<x>-49</x> |
| 192 |
<y>-18</y> |
| 193 |
<w>18</w> |
| 194 |
<h>18</h> |
| 195 |
<condition> |
| 196 |
<equals> |
| 197 |
<property>autopilot/locks/altitude</property> |
| 198 |
<value>vertical-speed-hold</value> |
| 199 |
</equals> |
| 200 |
</condition> |
| 201 |
<binding> |
| 202 |
<command>property-adjust</command> |
| 203 |
<property>autopilot/settings/vertical-speed-fpm</property> |
| 204 |
<step>50</step> |
| 205 |
<min>-5000</min> |
| 206 |
<max>5000</max> |
| 207 |
<wrap>0</wrap> |
| 208 |
</binding> |
| 209 |
</action> |
| 210 |
|
| 211 |
<action> |
| 212 |
<name>Roll Decrease</name> |
| 213 |
<button>0</button> |
| 214 |
<x>20</x> |
| 215 |
<y>-22</y> |
| 216 |
<w>20</w> |
| 217 |
<h>40</h> |
| 218 |
<binding> |
| 219 |
<command>property-adjust</command> |
| 220 |
<property>autopilot/settings/target-roll-deg</property> |
| 221 |
<step>-0.10000</step> |
| 222 |
<min>-30</min> |
| 223 |
<max>30</max> |
| 224 |
<wrap>0</wrap> |
| 225 |
</binding> |
| 226 |
</action> |
| 227 |
|
| 228 |
<action> |
| 229 |
<name>Roll Increase</name> |
| 230 |
<button>0</button> |
| 231 |
<x>40</x> |
| 232 |
<y>-22</y> |
| 233 |
<w>20</w> |
| 234 |
<h>40</h> |
| 235 |
<binding> |
| 236 |
<command>property-adjust</command> |
| 237 |
<property>autopilot/settings/target-roll-deg</property> |
| 238 |
<step>0.10000</step> |
| 239 |
<min>-30</min> |
| 240 |
<max>30</max> |
| 241 |
<wrap>0</wrap> |
| 242 |
</binding> |
| 243 |
</action> |
| 244 |
|
| 245 |
</actions> |
| 246 |
|
| 247 |
</PropertyList> |