Skip to content

war3map.doo: Trees and special doodads

ChiefOfGxBxL edited this page Apr 21, 2017 · 1 revision

Header

type field description
char[4] File ID Fixed at "W3do"
int File Version Fixed at 8
int Subversion? Fixed at [0B 00 00 00]h
int Number of trees E.g. 125 - make sure this count matches the number of entries you place below

Trees

Repeat for each tree

type field description
char[4] Tree Type
int Variation
float Tree X
float Tree Y
float Tree Z
float Tree angle Measured in radians
float Tree X scale
float Tree Y scale
float Tree X scale
byte Flags
byte Life (%) Default HP for the tree, in one hex byte. 0x64 is 100%.
int Random item table pointer
int Number items dropped The number of items dropped on death
int ID Number

Special doodads header

Header for special doodad section

type field description
int Special doodad format number Fixed at [00 00 00 00]h
int Number of special doodads

Special doodads

Repeat for each special doodad

type field description
char[4] Doodad ID
int Position Z?
int Position X?
int Position Y?

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