1
0
Fork 0

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:
Stuart Buchanan 2012-07-19 22:16:24 +01:00
parent 2ddf719a82
commit ba6f14c435
10 changed files with 844 additions and 884 deletions

View 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>

View 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>

View 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>

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 KiB