ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "Adjacent"

From ModEnc
Jump to: navigation, search
m (changed link (Westwood needs a spellchecker, they named the tag Eligib'''i'''leForAllyBuilding ))
m (styleguide inconsistencies)
Line 10: Line 10:
 
}}
 
}}
  
After constructing a building in-game you are only allowed to place it near your existing {{TTL|Structures}}. There are two flags that control this.
+
After constructing a building in-game you are only allowed to place it near your existing [[Structures]].
One flag goes on the building you are placing and that flag is {{TTL|Adjacent}}<tt>=</tt>.
 
The other flag goes on all other {{TTL|BuildingTypes}} and that is <tt>BaseNormal=</tt>.
 
  
<tt>Adjacent=</tt> specifies the maximum number of cells away from one of your existing buildings (that does not have {{TTL|BaseNormal}}<tt>=no</tt> set) that you may place the new building.
+
{{TTL|Adjacent}} specifies the maximum number of cells away from one of your existing buildings (that does not have {{TTL|BaseNormal|no}} set) that you may place the new building.
 
An adjacency value of zero means the new building must be placed in contact with an existing building - there must be no gap. An adjacency value of 1 means there can be at most a 1 cell gap between an existing building and the new building.
 
An adjacency value of zero means the new building must be placed in contact with an existing building - there must be no gap. An adjacency value of 1 means there can be at most a 1 cell gap between an existing building and the new building.
  
Adjacency rules count North-East and North-West directions separately (a building with <tt>Adjacent=1</tt> set can be placed both 1 cell North-East away from an existing building and 1 cell North-West at the same time, i.e. diagonally).
+
A building with {{TTL|Adjacent|1}} set can be placed both 1 cell North-East and 1 cell North-West of an existing building at the same time (i.e. diagonally).
  
== See also ==
+
=See also=
 
*{{TTL|BaseNormal}}
 
*{{TTL|BaseNormal}}
 
*{{TTL|EligibileForAllyBuilding}}
 
*{{TTL|EligibileForAllyBuilding}}

Revision as of 20:07, 14 April 2008

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Adjacent
File(s): Rules(md).ini
Values: integer
Default: 3
Applicable to: BuildingTypes


After constructing a building in-game you are only allowed to place it near your existing Structures.

Template:TTL specifies the maximum number of cells away from one of your existing buildings (that does not have Template:TTL set) that you may place the new building. An adjacency value of zero means the new building must be placed in contact with an existing building - there must be no gap. An adjacency value of 1 means there can be at most a 1 cell gap between an existing building and the new building.

A building with Template:TTL set can be placed both 1 cell North-East and 1 cell North-West of an existing building at the same time (i.e. diagonally).

See also