Age of War - Terrain Data Lay-outs - by Taichi San: |
|
|
|
|
This file will
give examples of Terrain Data lay-outs, remember this is in beta stage and
alot things can be changed. |
|
The purpose of
this style is to run the game with classic constants meaning Data Type +
Value's. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unit Data: |
|
|
|
|
|
Data Function: |
Data: |
Type: |
Points To: |
Explanation |
|
TERRAIN_ID |
[Value] |
Short |
Client, Gamedata |
Terrain ID |
|
INT_NAME_LENGTH |
[Value] |
Short |
|
Internal Game Name length |
|
INT_NAME |
[Text] |
Text |
|
Internal Game Name |
|
GAME_NAME_LENGTH |
[Value] |
Short |
|
Terrain Name Length |
|
GAME_NAME |
[Text] |
Text |
|
Unit Name, displayed in the game |
|
TERRAIN_GRAPHIC_ID |
[Value] |
Short |
Terrain Graphics |
Terrain Graphic ID |
|
TERRAIN_SOUND_ID |
[Value] |
Short |
Sound Slot ID |
Terrain Sound slot ID |
|
MINIMAP_COLOR |
[Value] |
Byte |
Palette Color Index ID |
Minimap Color |
|
MINIMAP_SHADE_FRONT_COLOR |
[Value] |
Byte |
Palette Color Index ID |
Minimap Color On front of hills (bright) |
|
MINIMAP_SHADE_BACK_COLOR |
[Value] |
Byte |
Palette Color Index ID |
Minimap Color On back of hills (darker) |
|
TERRAIN_UNITS_AMOUNT |
[Header] |
Short |
|
Amount of Terrain Units, 0=none |
|
TERRAIN_UNIT_ID |
[Value] |
Short |
Unit ID |
Terrain Unit ID, example 517: cactus |
|
TERRAIN_UNIT_DENSITY_% |
[Value] |
Byte |
|
How much % of the terrain type should be
covered with this terrain unit |
|
|
|
|
|
|
Required Game Files: |
|
|
|
|
|
Game Palette |
|
|
|
|
|
Sounds List |
|
|
|
|
|
Terrain List |
|
|
|
|
|
Graphics List |
|
|
|
|
|
|
|
|
|
|
|