- 
                Notifications
    You must be signed in to change notification settings 
- Fork 35
war3map.doo: Trees and special doodads
        ChiefOfGxBxL edited this page Apr 21, 2017 
        ·
        1 revision
      
    | 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 | 
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 | 
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 | 
Repeat for each special doodad
| type | field | description | 
|---|---|---|
| char[4] | Doodad ID | |
| int | Position Z? | |
| int | Position X? | |
| int | Position Y? | 
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue