Age Of Wonders 3 Wiki
Advertisement
Age Of Wonders 3 Wiki

This page contains a list of useful Resource IDs that you might need while creating levels. These IDs were taken from the official forum post. Note that these IDs may change, although the developers do not expect it to happen anytime soon.

Overlay[]

To change the overlay of a tile with LUA script, you need to use the following IDs. Note that not all overlays can simply be swapped. For instance, it is impossible to change a Fertile Plains tile to a Water tile.

Title ID
Fertile Plains #0000000105800069
Barrens #00000001058000DF
Wetlands #00000001058000E0
Dense Vegetation #000000010580006A
Mountains #0000000105800092
Coastal Mountains #00000001058000B1
Cavern Walls Impassable #0000011000000153
Cavern Walls Passable #0000011000000154
Water #0000013D000006AA
Frozen Water #0000013D000006BB
Blocked Water #0000013D000006DB
Mountains Impassable #0000012B0000058D
Lava #0000010600000055

Example: To change the terrain around a stack of units to Wetlands.

   local stackPosition = HexWorld:GetScriptingS():StackGetPosition("stackAlias")
   HexWorld:GetScriptingS():StrategicWorldChangeOverlay(stackPosition, 1, "#00000001058000E0")
  • Line 1: Get the HexPosition of the stack using the stack's Alias.
  • Line 2: Change the overlay around the stack, with a radius of 1, to the ID of Wetlands (as String). Radius of 1 means that the stack's tile plus all neighboring tiles get changed.

Theme[]

To change the Theme or Clime of a tile with LUA script, you need to use these IDs. Note that not all themes can simply be swapped. For instance, it is impossible to change a Temperate theme to a Water theme.

Title ID
Temperate #0000000105800062
Arctic #0000000105800063
Tropical #00000001058000DC
Blighted #00000001058000DD
Subterranean #00000001058000DE
Water #0000010400000195
Water Subterranean #0000010400000696
Volcanic #0000012F0000157C

Example: To change the terrain around a stack of units to Arctic.

   local stackPosition = HexWorld:GetScriptingS():StackGetPosition("stackAlias")
   HexWorld:GetScriptingS():StrategicWorldChangeOverlay(stackPosition, 1, "#0000000105800063")
  • Line 1: Get the HexPosition of the stack using the stack's Alias.
  • Line 2: Change the theme around the stack, with a radius of 1, to the ID of Arctic (as String). Radius of 1 means that the stack's tile plus all neighboring tiles get changed.
Advertisement