From Source Peek Wiki
The file contains the doodad units definitions and positions.
Header Structure
| Type
| Description
|
| char[4]: file ID = "W3do"
|
| int: file version = 7
|
| int: unknown (often set to [09 00 00 00]h)
|
| int: number of doodad units defined
|
Data Structure
Each doodad is defined by a block of bytes (vraiable length) organized like this:
| Type
| Description
|
| char[4]
| type ID
|
| int
| variation
|
| float
| coordinate X
|
| float
| coordinate Y
|
| float
| coordinate Z
|
| float
| rotation angle
|
| float
| scale X
|
| float
| scale Y
|
| float
| scale Z
|
| byte
| flags*
|
| int
| player number (owner) (player1 = 0, 16=neutral passive)
|
| byte
| unknown
|
| byte
| unknown
|
| int
| hit points (-1 = use default)
|
| int
| unknown (usually -1)
|
| int
| number "s" of dropped item sets
|
"s" times dropped item sets structures:
| Type
| Description
|
| int
| number "d" of dropable items
|
"d" times dropable items structures:
| Type
| Description
|
| char[4]
| item ID ([00 00 00 00]h = none) if item ID starts with "YYI" followed by a number "num", then random item of level = num
|
| int
| % chance to be dropped
|
| int
| gold amount (default = 12500)
|
| float
| unknown (often set to -1)
|
| int
| unknown (often set to 1)
|
| int
| unknown
|
| int
| unknown
|
| int
| random Unit
- 0 = Any neutral passive building
- 1 = random unit from random group
- 2 = random unit from custom table
|
| int
| random unit type any neutral passive building of level
|
| int
| custom color (-1 = none, 0 = red, 1=blue,...)
|
| int
| Waygate: active destination number (-1 = none)
|
| int
| creation number
|
| flags
| may be similar to the war3map.doo flags
|