Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

Adding structures in setups

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
m (format)
 
Line 4: Line 4:
'''1. Global and most recent method'''
'''1. Global and most recent method'''
-
In setups files, it is possible to distinguish between adding a structure with a level above 1 and adding several structures of the same type.  
+
In setup files, it is possible to distinguish between adding a structure with a level above 1 and adding several structures of the same type.  
The syntax to add several structures of the same type is:
The syntax to add several structures of the same type is:
 +
:'''Structure_XXX''' where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the number of structures to add.
-
Structure_XXX where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the number of structures to add.
 
To add a single, multi-level structure use instead
To add a single, multi-level structure use instead
-
 
+
:'''Site_XXX''' where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the level of the structure to add.
-
 
+
-
Site_XXX where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the level of the structure to add.
+
'''2. Old Method for older games'''
'''2. Old Method for older games'''
-
Please note that in games made before VGN, there was 4 structures possible which had all their dedicated, hard coded alias: Fort, Depot, Harbor, City. From VGN and later, the new syntax to use is either structure_XXX or site_XXX (although the old aliases are still working).
+
Please note that in games made before VGN, there were 4 structures possible which had all their dedicated, hard coded alias: Fort, Depot, Harbor, City. From VGN and later, the new syntax to use is either structure_XXX or site_XXX (although the old aliases are still working).
'''3. Adding with Regions.xls'''
'''3. Adding with Regions.xls'''
-
Also, as a conveniency, the Regions.XLS file contains also columns for Cities, Forts and harbors which will automatically be converted into the appropriate syntax. This is useful to mass-add cities on the world map.
+
Also, as a convenience, the Regions.XLS file contains columns for Cities, Forts and harbors which will automatically be converted into the appropriate syntax ''for single, multilevel structures''. This is useful to mass-add cities on the world map.
  '''Note:''' In BoA and WIA, entering value = -1 in the "City" column will create an "Indian Village"
  '''Note:''' In BoA and WIA, entering value = -1 in the "City" column will create an "Indian Village"
[[Category:Definitions]]
[[Category:Definitions]]

Latest revision as of 11:50, 3 December 2012

There are several ways to add structures in setups (campaigns and scenarios).


1. Global and most recent method

In setup files, it is possible to distinguish between adding a structure with a level above 1 and adding several structures of the same type.

The syntax to add several structures of the same type is:

Structure_XXX where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the number of structures to add.


To add a single, multi-level structure use instead

Site_XXX where XXX is the alias to the structure (without $) in the command column, followed in the Param0 column by the level of the structure to add.


2. Old Method for older games

Please note that in games made before VGN, there were 4 structures possible which had all their dedicated, hard coded alias: Fort, Depot, Harbor, City. From VGN and later, the new syntax to use is either structure_XXX or site_XXX (although the old aliases are still working).


3. Adding with Regions.xls

Also, as a convenience, the Regions.XLS file contains columns for Cities, Forts and harbors which will automatically be converted into the appropriate syntax for single, multilevel structures. This is useful to mass-add cities on the world map.

Note: In BoA and WIA, entering value = -1 in the "City" column will create an "Indian Village"
Forums