Regional materials update:
- Re-factor common properties (including condition statements) into separate files. Note that using "index=0" attributes these can be over-ridden. - Add caribbean regional textures and building definitions - Add missing low-resolution rainforest-hawaii.png
This commit is contained in:
parent
2ddf719a82
commit
ba6f14c435
10 changed files with 844 additions and 884 deletions
14
Materials/regions/caribbean-farm-buildings.xml
Normal file
14
Materials/regions/caribbean-farm-buildings.xml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- Set of generic farm buildings, for inclusion in a materials file -->
|
||||||
|
<PropertyList>
|
||||||
|
<range-m>5000</range-m>
|
||||||
|
<object>
|
||||||
|
<path>Models/Buildings/red-barn.ac</path>
|
||||||
|
<path>Models/Buildings/cow-stable.ac</path>
|
||||||
|
<path>Models/Agriculture/farmhouse1.ac</path>
|
||||||
|
<path>Models/Agriculture/farmhouse2.ac</path>
|
||||||
|
<path>Models/Agriculture/farmhouse3.ac</path>
|
||||||
|
<coverage-m2>5000</coverage-m2>
|
||||||
|
<heading-type>mask</heading-type>
|
||||||
|
</object>
|
||||||
|
</PropertyList>
|
45
Materials/regions/caribbean.xml
Normal file
45
Materials/regions/caribbean.xml
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- General settings for all caribbean materials -->
|
||||||
|
<PropertyList>
|
||||||
|
<!-- Define the caribbean as a box with given latitude/longitude -->
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>-85.0</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>-40.0</value>
|
||||||
|
</less-than>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/latitude-deg</property>
|
||||||
|
<value>11.0</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>position/latitude-deg</property>
|
||||||
|
<value>25</value>
|
||||||
|
</less-than>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<!-- Caribbean buildings definitions. Notes that these will be used for -->
|
||||||
|
<!-- both towns and cities -->
|
||||||
|
<building-texture>Textures/buildings-caribbean.png</building-texture>
|
||||||
|
<building-lightmap>Textures/buildings-caribbean-lightmap.png</building-lightmap>
|
||||||
|
<building-small-min-floors>1</building-small-min-floors>
|
||||||
|
<building-small-max-floors>2</building-small-max-floors>
|
||||||
|
<building-small-max-width-m>20.0</building-small-max-width-m>
|
||||||
|
<building-small-min-depth-m>8.0</building-small-min-depth-m>
|
||||||
|
<building-small-max-depth-m>20.0</building-small-max-depth-m>
|
||||||
|
<building-medium-min-floors>1</building-medium-min-floors>
|
||||||
|
<building-medium-max-floors>3</building-medium-max-floors>
|
||||||
|
|
||||||
|
<!-- Appropriate tropical trees -->
|
||||||
|
<tree-texture>Trees/tropical-summer.png</tree-texture>
|
||||||
|
<tree-varieties>8</tree-varieties>
|
||||||
|
<tree-range-m alias="/params/forest/tree-range-m"/>
|
||||||
|
<tree-height-m>25.0</tree-height-m>
|
||||||
|
<tree-width-m>15.0</tree-width-m>
|
||||||
|
|
||||||
|
</PropertyList>
|
34
Materials/regions/european.xml
Normal file
34
Materials/regions/european.xml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- General settings for all European materials -->
|
||||||
|
<PropertyList>
|
||||||
|
<!-- Define Europe as a box with given latitude/longitude -->
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<equals>
|
||||||
|
<property>sim/startup/season</property>
|
||||||
|
<value>summer</value>
|
||||||
|
</equals>
|
||||||
|
<and>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>-20.0</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>40.0</value>
|
||||||
|
</less-than>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/latitude-deg</property>
|
||||||
|
<value>35.0</value>
|
||||||
|
</greater-than>
|
||||||
|
</and>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<!-- European buildings definitions. Notes that these will be used for -->
|
||||||
|
<!-- both towns and cities -->
|
||||||
|
<building-texture>Textures/buildings.png</building-texture>
|
||||||
|
<building-lightmap>Textures/buildings-lightmap.png</building-lightmap>
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyList>
|
38
Materials/regions/hawaii.xml
Normal file
38
Materials/regions/hawaii.xml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- General settings for all Hawaii materials -->
|
||||||
|
<PropertyList>
|
||||||
|
<!-- Define Hawaii as a box with given latitude/longitude -->
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>-179.0</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>position/longitude-deg</property>
|
||||||
|
<value>-154.0</value>
|
||||||
|
</less-than>
|
||||||
|
<greater-than>
|
||||||
|
<property>position/latitude-deg</property>
|
||||||
|
<value>18.8</value>
|
||||||
|
</greater-than>
|
||||||
|
<less-than>
|
||||||
|
<property>position/latitude-deg</property>
|
||||||
|
<value>28.5</value>
|
||||||
|
</less-than>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<!-- Hawaiian buildings definitions. Notes that these will be used for -->
|
||||||
|
<!-- both towns and cities -->
|
||||||
|
<building-texture>Textures/buildings-caribbean.png</building-texture>
|
||||||
|
<building-lightmap>Textures/buildings-caribbean-lightmap.png</building-lightmap>
|
||||||
|
<building-small-min-floors>1</building-small-min-floors>
|
||||||
|
<building-small-max-floors>2</building-small-max-floors>
|
||||||
|
<building-small-max-width-m>20.0</building-small-max-width-m>
|
||||||
|
<building-small-min-depth-m>8.0</building-small-min-depth-m>
|
||||||
|
<building-small-max-depth-m>20.0</building-small-max-depth-m>
|
||||||
|
<building-medium-min-floors>1</building-medium-min-floors>
|
||||||
|
<building-medium-max-floors>3</building-medium-max-floors>
|
||||||
|
|
||||||
|
</PropertyList>
|
File diff suppressed because it is too large
Load diff
BIN
Textures/Terrain/grass-caribbean.png
Normal file
BIN
Textures/Terrain/grass-caribbean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 139 KiB |
BIN
Textures/Terrain/mixedcrop-caribbean.png
Normal file
BIN
Textures/Terrain/mixedcrop-caribbean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
BIN
Textures/Terrain/rainforest-hawaii.png
Normal file
BIN
Textures/Terrain/rainforest-hawaii.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
BIN
Textures/buildings-caribbean-lightmap.png
Normal file
BIN
Textures/buildings-caribbean-lightmap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 702 KiB |
BIN
Textures/buildings-caribbean.png
Normal file
BIN
Textures/buildings-caribbean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 722 KiB |
Loading…
Reference in a new issue