| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
<name>environment-settings</name> |
| 5 |
<modal>false</modal> |
| 6 |
<resizable>false</resizable> |
| 7 |
<layout>vbox</layout> |
| 8 |
<default-padding>3</default-padding> |
| 9 |
|
| 10 |
|
| 11 |
<group> |
| 12 |
<layout>hbox</layout> |
| 13 |
<default-padding>1</default-padding> |
| 14 |
|
| 15 |
<text> |
| 16 |
<label>Environment Settings</label> |
| 17 |
</text> |
| 18 |
|
| 19 |
<empty> |
| 20 |
<stretch>true</stretch> |
| 21 |
</empty> |
| 22 |
|
| 23 |
<button> |
| 24 |
<legend>X</legend> |
| 25 |
<key>Esc</key> |
| 26 |
<pref-width>20</pref-width> |
| 27 |
<pref-height>20</pref-height> |
| 28 |
<binding> |
| 29 |
<command>dialog-close</command> |
| 30 |
</binding> |
| 31 |
</button> |
| 32 |
</group> |
| 33 |
|
| 34 |
<hrule/> |
| 35 |
|
| 36 |
<group> |
| 37 |
<layout>vbox</layout> |
| 38 |
<halign>left</halign> |
| 39 |
|
| 40 |
<text> |
| 41 |
<label> Ground conditions (require shader effects)</label> |
| 42 |
</text> |
| 43 |
|
| 44 |
<group> |
| 45 |
<layout>hbox</layout> |
| 46 |
<halign>left</halign> |
| 47 |
<text> |
| 48 |
<label> </label> |
| 49 |
<halign>left</halign> |
| 50 |
</text> |
| 51 |
|
| 52 |
<checkbox> |
| 53 |
<label> Climate updates environment</label> |
| 54 |
<name>climate-update</name> |
| 55 |
<property>/environment/climate/environment-update</property> |
| 56 |
<live>true</live> |
| 57 |
<binding> |
| 58 |
<command>dialog-apply</command> |
| 59 |
</binding> |
| 60 |
<binding> |
| 61 |
<command>property-toggle</command> |
| 62 |
</binding> |
| 63 |
</checkbox> |
| 64 |
|
| 65 |
<checkbox> |
| 66 |
<label> Set maximum snow level from weather</label> |
| 67 |
<name>metar-snow</name> |
| 68 |
<property>/environment/params/metar-updates-snow-level</property> |
| 69 |
<binding> |
| 70 |
<command>dialog-apply</command> |
| 71 |
<object-name>metar-snow</object-name> |
| 72 |
</binding> |
| 73 |
</checkbox> |
| 74 |
</group> |
| 75 |
</group> |
| 76 |
|
| 77 |
<group> |
| 78 |
<layout>table</layout> |
| 79 |
|
| 80 |
<text> |
| 81 |
<label> Snow line</label> |
| 82 |
<halign>left</halign> |
| 83 |
<row>2</row> |
| 84 |
<col>0</col> |
| 85 |
</text> |
| 86 |
|
| 87 |
<text> |
| 88 |
<label>-425m</label> |
| 89 |
<halign>right</halign> |
| 90 |
<row>2</row> |
| 91 |
<col>1</col> |
| 92 |
</text> |
| 93 |
|
| 94 |
<slider> |
| 95 |
<name>snow-level</name> |
| 96 |
<row>2</row> |
| 97 |
<col>2</col> |
| 98 |
<min>-425.0</min> |
| 99 |
<max>7500.0</max> |
| 100 |
<live>true</live> |
| 101 |
<property>/environment/snow-level-m</property> |
| 102 |
<binding> |
| 103 |
<command>dialog-apply</command> |
| 104 |
<object-name>snow-level</object-name> |
| 105 |
</binding> |
| 106 |
</slider> |
| 107 |
|
| 108 |
<text> |
| 109 |
<label>7500m</label> |
| 110 |
<halign>left</halign> |
| 111 |
<row>2</row> |
| 112 |
<col>3</col> |
| 113 |
</text> |
| 114 |
|
| 115 |
<text> |
| 116 |
<row>2</row> |
| 117 |
<col>4</col> |
| 118 |
<label>12345678</label> |
| 119 |
<format>%.fm</format> |
| 120 |
<live>true</live> |
| 121 |
<property>/environment/snow-level-m</property> |
| 122 |
</text> |
| 123 |
|
| 124 |
|
| 125 |
<text> |
| 126 |
<enable> |
| 127 |
<property>/sim/rendering/shaders/skydome</property> |
| 128 |
</enable> |
| 129 |
<label> Snow thickness</label> |
| 130 |
<halign>left</halign> |
| 131 |
<row>3</row> |
| 132 |
<col>0</col> |
| 133 |
</text> |
| 134 |
|
| 135 |
<text> |
| 136 |
<enable> |
| 137 |
<property>/sim/rendering/shaders/skydome</property> |
| 138 |
</enable> |
| 139 |
<label>thin</label> |
| 140 |
<halign>right</halign> |
| 141 |
<row>3</row> |
| 142 |
<col>1</col> |
| 143 |
</text> |
| 144 |
|
| 145 |
<slider> |
| 146 |
<enable> |
| 147 |
<property>/sim/rendering/shaders/skydome</property> |
| 148 |
</enable> |
| 149 |
<name>snow-thickness</name> |
| 150 |
<row>3</row> |
| 151 |
<col>2</col> |
| 152 |
<min>0.0</min> |
| 153 |
<max>0.6</max> |
| 154 |
<live>true</live> |
| 155 |
<property>/environment/surface/snow-thickness-factor</property> |
| 156 |
<binding> |
| 157 |
<command>dialog-apply</command> |
| 158 |
<object-name>snow-thickness</object-name> |
| 159 |
</binding> |
| 160 |
</slider> |
| 161 |
|
| 162 |
<text> |
| 163 |
<enable> |
| 164 |
<property>/sim/rendering/shaders/skydome</property> |
| 165 |
</enable> |
| 166 |
<label>thick</label> |
| 167 |
<halign>left</halign> |
| 168 |
<row>3</row> |
| 169 |
<col>3</col> |
| 170 |
</text> |
| 171 |
|
| 172 |
|
| 173 |
<text> |
| 174 |
<enable> |
| 175 |
<property>/sim/rendering/shaders/skydome</property> |
| 176 |
</enable> |
| 177 |
<label> Ice cover</label> |
| 178 |
<halign>left</halign> |
| 179 |
<row>4</row> |
| 180 |
<col>0</col> |
| 181 |
</text> |
| 182 |
|
| 183 |
<text> |
| 184 |
<enable> |
| 185 |
<property>/sim/rendering/shaders/skydome</property> |
| 186 |
</enable> |
| 187 |
<label>none</label> |
| 188 |
<halign>right</halign> |
| 189 |
<row>4</row> |
| 190 |
<col>1</col> |
| 191 |
</text> |
| 192 |
|
| 193 |
<slider> |
| 194 |
<enable> |
| 195 |
<property>/sim/rendering/shaders/skydome</property> |
| 196 |
</enable> |
| 197 |
<name>ice-cover</name> |
| 198 |
<row>4</row> |
| 199 |
<col>2</col> |
| 200 |
<min>0.0</min> |
| 201 |
<max>1.0</max> |
| 202 |
<step>0.05</step> |
| 203 |
<live>true</live> |
| 204 |
<property>/environment/sea/surface/ice-cover</property> |
| 205 |
<binding> |
| 206 |
<command>dialog-apply</command> |
| 207 |
<object-name>ice-cover</object-name> |
| 208 |
</binding> |
| 209 |
<binding> |
| 210 |
<command>nasal</command> |
| 211 |
<script> |
| 212 |
<![CDATA[ |
| 213 |
if (getprop( "/environment/sea/surface/ice-cover" ) < 0.05 ) { |
| 214 |
setprop( "/environment/surface/ice-cover", 0 ); |
| 215 |
} else { |
| 216 |
setprop( "/environment/surface/ice-cover", 1 ); |
| 217 |
} |
| 218 |
]]> |
| 219 |
</script> |
| 220 |
</binding> |
| 221 |
</slider> |
| 222 |
|
| 223 |
<text> |
| 224 |
<enable> |
| 225 |
<property>/sim/rendering/shaders/skydome</property> |
| 226 |
</enable> |
| 227 |
<label>thick</label> |
| 228 |
<halign>left</halign> |
| 229 |
<row>4</row> |
| 230 |
<col>3</col> |
| 231 |
</text> |
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
<text> |
| 236 |
<enable> |
| 237 |
<property>/sim/rendering/shaders/skydome</property> |
| 238 |
</enable> |
| 239 |
<label> Dust cover</label> |
| 240 |
<halign>left</halign> |
| 241 |
<row>5</row> |
| 242 |
<col>0</col> |
| 243 |
</text> |
| 244 |
|
| 245 |
<text> |
| 246 |
<enable> |
| 247 |
<property>/sim/rendering/shaders/skydome</property> |
| 248 |
</enable> |
| 249 |
<label>none</label> |
| 250 |
<halign>right</halign> |
| 251 |
<row>5</row> |
| 252 |
<col>1</col> |
| 253 |
</text> |
| 254 |
|
| 255 |
<slider> |
| 256 |
<enable> |
| 257 |
<property>/sim/rendering/shaders/skydome</property> |
| 258 |
</enable> |
| 259 |
<name>dust-level</name> |
| 260 |
<row>5</row> |
| 261 |
<col>2</col> |
| 262 |
<min>0.0</min> |
| 263 |
<max>0.7</max> |
| 264 |
<live>true</live> |
| 265 |
<property>/environment/surface/dust-cover-factor</property> |
| 266 |
<binding> |
| 267 |
<command>dialog-apply</command> |
| 268 |
<object-name>dust-level</object-name> |
| 269 |
</binding> |
| 270 |
</slider> |
| 271 |
|
| 272 |
<text> |
| 273 |
<enable> |
| 274 |
<property>/sim/rendering/shaders/skydome</property> |
| 275 |
</enable> |
| 276 |
<label>dusty</label> |
| 277 |
<halign>left</halign> |
| 278 |
<row>5</row> |
| 279 |
<col>3</col> |
| 280 |
</text> |
| 281 |
|
| 282 |
<text> |
| 283 |
<enable> |
| 284 |
<property>/sim/rendering/shaders/skydome</property> |
| 285 |
</enable> |
| 286 |
<label> Wetness</label> |
| 287 |
<halign>left</halign> |
| 288 |
<row>6</row> |
| 289 |
<col>0</col> |
| 290 |
</text> |
| 291 |
|
| 292 |
<text> |
| 293 |
<enable> |
| 294 |
<property>/sim/rendering/shaders/skydome</property> |
| 295 |
</enable> |
| 296 |
<label>dry</label> |
| 297 |
<halign>right</halign> |
| 298 |
<row>6</row> |
| 299 |
<col>1</col> |
| 300 |
</text> |
| 301 |
|
| 302 |
<slider> |
| 303 |
<enable> |
| 304 |
<property>/sim/rendering/shaders/skydome</property> |
| 305 |
</enable> |
| 306 |
<name>wetness</name> |
| 307 |
<row>6</row> |
| 308 |
<col>2</col> |
| 309 |
<min>0.0</min> |
| 310 |
<max>0.7</max> |
| 311 |
<live>true</live> |
| 312 |
<property>/environment/surface/wetness-set</property> |
| 313 |
<binding> |
| 314 |
<command>dialog-apply</command> |
| 315 |
<object-name>wetness</object-name> |
| 316 |
</binding> |
| 317 |
</slider> |
| 318 |
|
| 319 |
<text> |
| 320 |
<enable> |
| 321 |
<property>/sim/rendering/shaders/skydome</property> |
| 322 |
</enable> |
| 323 |
<label>wet</label> |
| 324 |
<halign>left</halign> |
| 325 |
<row>6</row> |
| 326 |
<col>3</col> |
| 327 |
</text> |
| 328 |
|
| 329 |
|
| 330 |
<text> |
| 331 |
<enable> |
| 332 |
<property>/sim/rendering/shaders/skydome</property> |
| 333 |
</enable> |
| 334 |
<label> Vegetation</label> |
| 335 |
<halign>left</halign> |
| 336 |
<row>7</row> |
| 337 |
<col>0</col> |
| 338 |
</text> |
| 339 |
|
| 340 |
<text> |
| 341 |
<enable> |
| 342 |
<property>/sim/rendering/shaders/skydome</property> |
| 343 |
</enable> |
| 344 |
<label>none</label> |
| 345 |
<halign>right</halign> |
| 346 |
<row>7</row> |
| 347 |
<col>1</col> |
| 348 |
</text> |
| 349 |
|
| 350 |
<slider> |
| 351 |
<enable> |
| 352 |
<property>/sim/rendering/shaders/skydome</property> |
| 353 |
</enable> |
| 354 |
<name>lichen-level</name> |
| 355 |
<row>7</row> |
| 356 |
<col>2</col> |
| 357 |
<min>0.0</min> |
| 358 |
<max>0.7</max> |
| 359 |
<live>true</live> |
| 360 |
<property>/environment/surface/lichen-cover-factor</property> |
| 361 |
<binding> |
| 362 |
<command>dialog-apply</command> |
| 363 |
<object-name>lichen-level</object-name> |
| 364 |
</binding> |
| 365 |
</slider> |
| 366 |
|
| 367 |
<text> |
| 368 |
<enable> |
| 369 |
<property>/sim/rendering/shaders/skydome</property> |
| 370 |
</enable> |
| 371 |
<label>mossy</label> |
| 372 |
<halign>left</halign> |
| 373 |
<row>7</row> |
| 374 |
<col>3</col> |
| 375 |
</text> |
| 376 |
|
| 377 |
|
| 378 |
<text> |
| 379 |
<enable> |
| 380 |
<property>/sim/rendering/shaders/skydome</property> |
| 381 |
</enable> |
| 382 |
<label> Season (experimental)</label> |
| 383 |
<halign>left</halign> |
| 384 |
<row>8</row> |
| 385 |
<col>0</col> |
| 386 |
</text> |
| 387 |
|
| 388 |
<text> |
| 389 |
<enable> |
| 390 |
<property>/sim/rendering/shaders/skydome</property> |
| 391 |
</enable> |
| 392 |
<label>summer</label> |
| 393 |
<halign>right</halign> |
| 394 |
<row>8</row> |
| 395 |
<col>1</col> |
| 396 |
</text> |
| 397 |
|
| 398 |
<slider> |
| 399 |
<enable> |
| 400 |
<property>/sim/rendering/shaders/skydome</property> |
| 401 |
</enable> |
| 402 |
<name>season</name> |
| 403 |
<row>8</row> |
| 404 |
<col>2</col> |
| 405 |
<min>0.0</min> |
| 406 |
<max>2.0</max> |
| 407 |
<live>true</live> |
| 408 |
<property>/environment/season</property> |
| 409 |
<binding> |
| 410 |
<command>dialog-apply</command> |
| 411 |
<object-name>season</object-name> |
| 412 |
</binding> |
| 413 |
</slider> |
| 414 |
|
| 415 |
<text> |
| 416 |
<enable> |
| 417 |
<property>/sim/rendering/shaders/skydome</property> |
| 418 |
</enable> |
| 419 |
<label>late autumn</label> |
| 420 |
<halign>left</halign> |
| 421 |
<row>8</row> |
| 422 |
<col>3</col> |
| 423 |
</text> |
| 424 |
|
| 425 |
<text> |
| 426 |
<enable> |
| 427 |
<property>/sim/rendering/shaders/skydome</property> |
| 428 |
</enable> |
| 429 |
<label> Aurora Borealis</label> |
| 430 |
<halign>left</halign> |
| 431 |
<row>10</row> |
| 432 |
<col>0</col> |
| 433 |
</text> |
| 434 |
|
| 435 |
<text> |
| 436 |
<enable> |
| 437 |
<property>/sim/rendering/shaders/skydome</property> |
| 438 |
</enable> |
| 439 |
<label>weak</label> |
| 440 |
<halign>right</halign> |
| 441 |
<row>10</row> |
| 442 |
<col>1</col> |
| 443 |
</text> |
| 444 |
|
| 445 |
<slider> |
| 446 |
<enable> |
| 447 |
<property>/sim/rendering/shaders/skydome</property> |
| 448 |
</enable> |
| 449 |
<name>aurora</name> |
| 450 |
<row>10</row> |
| 451 |
<col>2</col> |
| 452 |
<min>0.0</min> |
| 453 |
<max>1.0</max> |
| 454 |
<live>true</live> |
| 455 |
<property>/environment/aurora/set-strength</property> |
| 456 |
<binding> |
| 457 |
<command>dialog-apply</command> |
| 458 |
<object-name>aurora</object-name> |
| 459 |
</binding> |
| 460 |
</slider> |
| 461 |
|
| 462 |
<text> |
| 463 |
<enable> |
| 464 |
<property>/sim/rendering/shaders/skydome</property> |
| 465 |
</enable> |
| 466 |
<label>strong</label> |
| 467 |
<halign>left</halign> |
| 468 |
<row>10</row> |
| 469 |
<col>3</col> |
| 470 |
</text> |
| 471 |
|
| 472 |
|
| 473 |
</group> |
| 474 |
|
| 475 |
<hrule/> |
| 476 |
|
| 477 |
<group> |
| 478 |
<empty> |
| 479 |
<stretch>true</stretch> |
| 480 |
</empty> |
| 481 |
<layout>hbox</layout> |
| 482 |
|
| 483 |
<button> |
| 484 |
<legend>Close</legend> |
| 485 |
<default>true</default> |
| 486 |
<key>Esc</key> |
| 487 |
<binding> |
| 488 |
<command>dialog-close</command> |
| 489 |
</binding> |
| 490 |
</button> |
| 491 |
<empty> |
| 492 |
<stretch>true</stretch> |
| 493 |
</empty> |
| 494 |
</group> |
| 495 |
|
| 496 |
</PropertyList> |