Changes between Version 1 and Version 2 of XML:_Cliff


Ignore:
Timestamp:
Jul 10, 2009, 10:26:08 PM (15 years ago)
Author:
Erik Johansson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML:_Cliff

    v1 v2  
    1 XML: Cliff
     1A cliff is a special kind of object that distorts the land mesh into a certain raised shape, and paints texture objects onto various parts of the cliff area.[[BR]][[BR]][[BR]][[BR]]
     2||'''Icon'''||
    23
    3 A cliff is a special kind of object that distorts the land mesh into a certain raised shape, and paints texture objects onto various parts of the cliff area.
     4[[BR]]'''''BRIEF DESCRIPTION ::'''''The sprite name of the icon to display for this cliff.[[BR]][[BR]]
     5||'''Top'''||
    46
     7[[BR]]'''''BRIEF DESCRIPTION ::'''''Paints the surface (the area above the wall) of the cliff with this terrain object. Passability info determines whether units can walk over the top of the cliff.[[BR]][[BR]]
     8||'''Side'''||
    59
     10[[BR]]'''''BRIEF DESCRIPTION ::'''''Paints the wall (the typically impassable side) of the cliff with this terrain object. Passability info determines whether units can walk up the side of the cliff.[[BR]][[BR]]
     11||'''Edge'''||
    612
    7 Icon
     13[[BR]]'''''BRIEF DESCRIPTION ::'''''Paints the base (the bottom that touches the land's original terrain) of the cliff with this terrain object.[[BR]][[BR]]
     14||'''Height'''||
    815
    9 BRIEF DESCRIPTION ::The sprite name of the icon to display for this cliff.
     16[[BR]]'''''BRIEF DESCRIPTION ::'''''How tall the cliff is. Similar to water depth. The higher the number, the greater the terrain is raised when the cliff is placed.[[BR]][[BR]]
     17||'''Style'''||
    1018
    11 Top
     19[[BR]]'''''BRIEF DESCRIPTION ::'''''The shape of the cliff.[[BR]][[BR]]Determines the style in which the cliff area is distorted. Examples include "mesa" (shallow sides, flat top), "plateau" (similar to "mesa", but covering a wider area), "hill" (rounded top) and "mountain" (craggy).[[BR]][[BR]]'''Not sure how we're going to define these. Presumably this points to a style file which defines the x/y/z nodes of the cliff mesh. AoM just hardcoded its cliff shapes, so we're not sure.'''[[BR]][[BR]]
     20||'''Smoothness'''||
    1221
    13 BRIEF DESCRIPTION ::Paints the surface (the area above the wall) of the cliff with this terrain object. Passability info determines whether units can walk over the top of the cliff.
    14 
    15 Side
    16 
    17 BRIEF DESCRIPTION ::Paints the wall (the typically impassable side) of the cliff with this terrain object. Passability info determines whether units can walk up the side of the cliff.
    18 
    19 Edge
    20 
    21 BRIEF DESCRIPTION ::Paints the base (the bottom that touches the land's original terrain) of the cliff with this terrain object.
    22 
    23 Height
    24 
    25 BRIEF DESCRIPTION ::How tall the cliff is. Similar to water depth. The higher the number, the greater the terrain is raised when the cliff is placed.
    26 
    27 Style
    28 
    29 BRIEF DESCRIPTION ::The shape of the cliff.
    30 
    31 Determines the style in which the cliff area is distorted. Examples include "mesa" (shallow sides, flat top), "plateau" (similar to "mesa", but covering a wider area), "hill" (rounded top) and "mountain" (craggy).
    32 
    33 Not sure how we're going to define these. Presumably this points to a style file which defines the x/y/z nodes of the cliff mesh. AoM just hardcoded its cliff shapes, so we're not sure.
    34 
    35 Smoothness
    36 
    37 BRIEF DESCRIPTION ::The number of land tiles off the cliff edge to smooth when the cliff is placed (creates a more gradual incline from the surrounding terrain).
    38 
    39 Example:
    40 
    41 CODE
    42 
    43 <cliff Tag="Greek Cliff" Parent="Cliff"
    44        icon="GCliff64"
    45        top="grassdirt25"
    46        side="CliffGreekA"
    47        edge="grassdirt50"
    48        height="2.0"
    49        style="hill"
    50        smoothness=""
    51 ></cliff>
     22[[BR]]'''''BRIEF DESCRIPTION ::'''''The number of land tiles off the cliff edge to smooth when the cliff is placed (creates a more gradual incline from the surrounding terrain).[[BR]][[BR]]Example:[[BR]][[BR]]CODE[[BR]]<cliff Tag="Greek Cliff" Parent="Cliff"[[BR]]       icon="GCliff64" [[BR]]       top="grassdirt25"[[BR]]       side="CliffGreekA"[[BR]]       edge="grassdirt50"[[BR]]       height="2.0"[[BR]]       style="hill"[[BR]]       smoothness=""[[BR]]></cliff>