Age of War - Terrain Restrictions - 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  
RESTRICTION_ID [Value] Short Client, Gamedata Restriction ID  
AMOUNT_OF_TERRAINS [Header] Short Terrain List WARNING: Must be the same as amount of terrains on the terrains list!
TERRAIN_ALLOW_ACCESS [Value] Byte   0=Unaccessable, 1=Accessable Info, Decides whether the terrain type can be acessed or not
TERRAIN_ALLOW_BUILD [Value] Byte   0=Unbuildable, 1=Buildable Info, denied building doesnt mean it can't be accessed
TRAIL_GRAPHICS_AMOUNT [Header] Short   Amount of Unit Trail Graphic types on the terrain restriction slot
TRAIL_GRAPHIC_UNIT_ID [Value] Short Unit ID Unit ID on which to apply the trail graphic to  
TRAIL_GRAPHIC_ID [Value] Short Graphics Graphic Used for the Trail  
           
Important Info:          
Each Restriction ID is made up of a list with all excisting terrains telling which they can be accessed or not.    
The amount of sub terrain slots in the restriction id must always match the terrains list    
Each terrain ID has another possible sub ID of which graphics to apply on the choosen unit classes that cause wheeltracks in snow for example