Skip to content

war3map.w3e: Tileset & terrain file

ChiefOfGxBxL edited this page Apr 22, 2017 · 1 revision

Header

type field description
char[4] File ID Fixed at "W3E!" [57 33 45 21]h
int File Version Fixed at 11 [0b 00 00 00]h
char Tileset Refer to table for tileset character enumeration
int Custom tilesets flag 1 = using custom tileset; 0 = not using custom tileset

Tiles

Header for tileset

type field description
int Number of tiles in tileset

Repeat for each tile in tileset

type field description
char[4] Tile E.g. 'LDrt' for Lordaeron Summer Dirt

Cliffs

Header for cliffs

type field description
int Number of cliff tile used

Repeat for each cliff tiles used

type field description
char[4] Cliff Tile

Map size data

type field description
int Width of map + 1
int Height of map + 1
float Center offset of map X
float Center offset of map Y

Tile points

Repeat for each tile in the map

type field description
short Ground height
short Water level
flag [4 bits] Flags
flag [4 bits] Ground texture
byte Texture details
flag [4 bits] Cliff texture type
flag [4 bits] Layer height

Translators

World entities

Place entities like units, doodads, etc. on the map

Units (unit or item)
Doodads
Terrain
Regions
Cameras
Sounds

Object definitions

Edit objects in the object editor

Units
Items
Destructables
Doodads
Abilities
Buffs
Upgrades

Other

Miscellaneous files like imports and strings

Imports
Strings
Info

Clone this wiki locally