1
0
Fork 0

Icebergs in arctic regions - based on work by AndersG

This commit is contained in:
Thorsten Renk 2013-02-25 14:57:46 +02:00
parent 37205368d1
commit 1fbbe40102
2 changed files with 123 additions and 0 deletions

View file

@ -0,0 +1,116 @@
<?xml version="1.0"?>
<!-- General settings for icebergs in the ocean -->
<PropertyList>
<!-- Define the boxes with given latitude/longitude -->
<condition>
<and>
<equals>
<property>sim/startup/season</property>
<value>summer</value>
</equals>
<or>
<!-- Arctic -->
<and>
<greater-than>
<property>position/longitude-deg</property>
<value>-180.0</value>
</greater-than>
<less-than>
<property>position/longitude-deg</property>
<value>180.0</value>
</less-than>
<greater-than>
<property>position/latitude-deg</property>
<value>68.0</value>
</greater-than>
<less-than>
<property>position/latitude-deg</property>
<value>90.0</value>
</less-than>
</and>
<!-- Greenland -->
<and>
<greater-than>
<property>position/longitude-deg</property>
<value>-60.0</value>
</greater-than>
<less-than>
<property>position/longitude-deg</property>
<value>-30.0</value>
</less-than>
<greater-than>
<property>position/latitude-deg</property>
<value>60.0</value>
</greater-than>
<less-than>
<property>position/latitude-deg</property>
<value>90.0</value>
</less-than>
</and>
<!-- Antarctica -->
<and>
<greater-than>
<property>position/longitude-deg</property>
<value>-180.0</value>
</greater-than>
<less-than>
<property>position/longitude-deg</property>
<value>180.0</value>
</less-than>
<greater-than>
<property>position/latitude-deg</property>
<value>-90.0</value>
</greater-than>
<less-than>
<property>position/latitude-deg</property>
<value>-68.0</value>
</less-than>
</and>
</or>
</and>
</condition>
<xsize>400</xsize>
<ysize>400</ysize>
<object-group>
<range-m>40000</range-m>
<object>
<path>Models/Geometry/container_carrier.ac</path>
<coverage-m2>500000000</coverage-m2>
<heading-type>random</heading-type>
</object>
</object-group>
<object-group>
<range-m>40000</range-m>
<object>
<path>Models/Maritime/Ice/iceberg1.xml</path>
<path>Models/Maritime/Ice/iceberg2.xml</path>
<path>Models/Maritime/Ice/iceberg3.xml</path>
<coverage-m2>5000000</coverage-m2>
<heading-type>random</heading-type>
</object>
</object-group>
<ambient>
<r>0.0</r>
<g>0.0</g>
<b>0.0</b>
<a>1.0</a>
</ambient>
<diffuse>
<r>0.4</r>
<g>0.4</g>
<b>0.4</b>
<a>1.0</a>
</diffuse>
<specular>
<r>0.0</r>
<g>0.0</g>
<b>0.2</b>
<a>1.0</a>
</specular>
<shininess>0</shininess>
<solid>0</solid>
<rolling-friction>2</rolling-friction>
<bumpiness>0.8</bumpiness>
</PropertyList>

View file

@ -2618,7 +2618,14 @@
<load-resistance>1e30</load-resistance>
</material>
<!-- ICEBERGS IN THE ARCTIC SEA REGIONS -->
<material include="Materials/regions/arctic_sea.xml">
<name>Ocean</name>
<effect>Effects/water</effect>
<texture>Terrain/water.png</texture>
</material>
<!-- DEFAULT SUMMER DEFINITIONS -->