Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

war3map.e: Tileset & terrain file

ChiefOfGxBxL edited this page Mar 3, 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

General

Features

Community

  • Conduct
  • Contributing
  • Support
  • Hive

Extensions

  • Getting Started
  • References
  • Checklist
  • NPM/Publishing
Clone this wiki locally