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

war3map.doo: Trees and special doodads

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

General

Features

Community

  • Conduct
  • Contributing
  • Support
  • Hive

Extensions

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