The object is able to reveal areas of the map within his sight radius, revealing Shroud of Darkness and Fog of War.

Example:

  <Traits>
      <Vision>
            // This structure can see within a two-tile radius.
            <LOS>2</LOS>
            // When the object is re-covered with Fog of War, the viewer's last frame
            // of the object is retained until the object is again revealed
            // (typically used for buildings, since they aren't likely to move around).
            <Permanent />
            // It is visible to the player and his allies, but not to enemies. 
            <Stealthed>enemy</Stealthed>
            // Reveals stealthed units ... Units hiding in forests for an ambush within
            // range of this unit are made visible to the player.
            <Detector />
      </Vision>
  </Traits>

LOS

BRIEF DESCRIPTION :: Line of Sight ... The distance that the unit can see in any direction. Shroud of Darkness and Fog of War is lifted within range of a unit's LOS.

Only units and structures should have line of sight (with most structures having minimal vision radius, other than tall structures like towers and fortresses).

Permanent

BRIEF DESCRIPTION :: Boolean; If true, when the object is re-covered with Fog of War, the viewer's last image of the object is retained until the object is again revealed.

Typically used for enemy buildings, since they aren't likely to move around. Also for gaia objects (so the player can recall the location of trees, rocks, and so forth).

Stealthed

Not yet implemented. BRIEF DESCRIPTION :: The unit is invisible to certain kinds of units.

If an entity does not have this attribute, it is assumed that the entity is visible to any player, ally, enemy or even gaia. If we want to specify that it is only visible to certain allegiances, however, we can specify it here. Valid strings are:

  • player
  • ally
  • enemy
  • gaia
  • all

Detector

Not yet implemented. BRIEF DESCRIPTION :: Boolean; If true, any stealthed entities within LOS (for example, those concealed in forests) will be visible to the player.

If the player is sharing vision with his allies, then they will also be able to see the revealed units.

Last modified 9 years ago Last modified on Feb 23, 2008 3:18:58 AM