Changes between Initial Version and Version 1 of XML:_Cliff


Ignore:
Timestamp:
Jun 16, 2009, 1:08:56 AM (15 years ago)
Author:
Erik Johansson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML:_Cliff

    v1 v1  
     1XML: Cliff
     2
     3A 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
     5
     6
     7Icon
     8
     9BRIEF DESCRIPTION ::The sprite name of the icon to display for this cliff.
     10
     11Top
     12
     13BRIEF 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
     15Side
     16
     17BRIEF 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
     19Edge
     20
     21BRIEF DESCRIPTION ::Paints the base (the bottom that touches the land's original terrain) of the cliff with this terrain object.
     22
     23Height
     24
     25BRIEF 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
     27Style
     28
     29BRIEF DESCRIPTION ::The shape of the cliff.
     30
     31Determines 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
     33Not 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
     35Smoothness
     36
     37BRIEF 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
     39Example:
     40
     41CODE
     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>