War3map.wpm
From Source Peek Wiki
Contents |
[edit]
Header Structure
| Type | Description |
|---|---|
| char[4] | file ID = 'MP3W' |
| int | file version = 0 |
| int | path map width (=map_width*4) |
| int | path map height (=map_height*4) |
[edit]
Data Structure
Each byte of the data part is a part of a tileset exactly like for the TGA. Data size: (map_height*4)*(map_with*4) bytes
[edit]
Flags
- 0x01: 0 (unused)
- 0x02: 1=no walk, 0=walk ok
- 0x04: 1=no fly, 0=fly ok
- 0x08: 1=no build, 0=build ok
- 0x10: 0 (unused)
- 0x20: 1=blight, 0=normal
- 0x40: 1=no water, 0=water
- 0x80: 1=unknown, 0=normal
[edit]
Example
| Value | Description |
|---|---|
| 00 | bridge doodad |
| 08 | shallow water |
| 0A | deep water |
| 40 | normal ground |
| 48 | water ramp, unbuildable grounds, unbuildable parts of doodads |
| CA | cliff edges, solid parts of doodads (no build and no walk) |
| CE | edges of the map (boundaries) |
