Difference between revisions of "Level XML reference"

From Wolfire Games Wiki
Jump to: navigation, search
(Created page with "<Terrain> <Heightmap>[path here]</Heightmap> //image is a 16-bit grayscale png <ColorMap>[path here]</ColorMap> //image is a tga <WeightMap>[path here]</WeightMap> //...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<pre>
 
<Terrain>
 
<Terrain>
     <Heightmap>[path here]</Heightmap> //image is a 16-bit grayscale png
+
     <Heightmap>[path here]</Heightmap>
     <ColorMap>[path here]</ColorMap> //image is a tga
+
          //image is a 16-bit grayscale png
     <WeightMap>[path here]</WeightMap> //image is a tga that uses RBG and Black values to blend detailmaps
+
     <ColorMap>[path here]</ColorMap>
 +
          //image is a tga
 +
     <WeightMap>[path here]</WeightMap>
 +
          //image is a tga that uses RBG and Black values to blend detailmaps
 
     <DetailMaps> //used for tiling detail on the ground
 
     <DetailMaps> //used for tiling detail on the ground
 
         <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
 
         <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
Line 14: Line 18:
 
</Terrain>
 
</Terrain>
  
<Objectives>[objective here]</Objectives> //possible objectives: reach_a_trigger, Reach the goal, reach_a_trigger_with_no_pursuers, Reach the goal without any pursuers, collect
+
<Objectives>[objective here]</Objectives>
 +
          //possible objectives: reach_a_trigger, reach_a_trigger_with_no_pursuers, collect
 +
</pre>

Latest revision as of 20:04, 4 August 2012

<Terrain>
    <Heightmap>[path here]</Heightmap>
           //image is a 16-bit grayscale png
    <ColorMap>[path here]</ColorMap>
           //image is a tga
    <WeightMap>[path here]</WeightMap>
           //image is a tga that uses RBG and Black values to blend detailmaps
    <DetailMaps> //used for tiling detail on the ground
        <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
        <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
        <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
        <DetailMap colorpath="[path here to image with color info]" normalpath="[path here to image with normal info]" materialpath="[path here -- to something in the material.xml format]" />
    </DetailMaps>
    <DetailObjects> //for grass and stuff
        <DetailObject obj_path="Data/Objects/Plants/Groundcover/Grass/WildGrass.xml" weight_path="Data/Textures/Terrain/scrubby_hills/scrubby_hills_grass.png" normal_conform="0.900000" density="20.000000" min_embed="0.000000" max_embed="0.400000" min_scale="1.000000" max_scale="2.000000" view_distance="20.000000" jitter_degrees="10.000000" overbright="0.000000" />
    </DetailObjects>
</Terrain>

<Objectives>[objective here]</Objectives>
          //possible objectives: reach_a_trigger, reach_a_trigger_with_no_pursuers, collect