-
Notifications
You must be signed in to change notification settings - Fork 31
war3mapUnits.doo: Units
ChiefOfGxBxL edited this page Apr 21, 2017
·
1 revision
Units and items that are placed on the map. (Similar to war3map.doo)
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 units |
Repeat for each unit
type | field | description |
---|---|---|
char[4] | Type Id | iDNR = random item, uDNR = random unit |
int | Variation | |
float | Position X | |
float | Position Y | |
float | Position Z | |
float | Rotation angle | |
float | Scaling X | |
float | Scaling Y | |
float | Scaling Z | |
byte | Flags* | Set to 2 |
int | Player / Owner | red = 0, neutral passive = 16 |
byte | Unknown (0) | Fixed at 0 |
byte | Unknown (0) | Fixed at 0 |
int | Hitpoints (%) | -1 = use default |
int | Mana | Flat #, not a percent |
int | Number of dropped item sets | Not supported by Ice Sickle |
int | Gold amount | Default = 12,500 [00 00 80 bf]h |
float | Target acquisition | -1 = normal, -2 = camp |
int | Hero level | Set to 1 for non hero units/items |
int | Strength | 0 = default |
int | Agility | 0 = default |
int | Intelligence | 0 = default |
int | Number of items in inventory | |
int | Inventory item structures | (TODO: set to 0 if no items, otherwise repeat an inventory item stucture) |
int | Number of modified abilities | |
int | Ability modification structures | (TODO: set to 1 if no modifications, otherwise repeat an ability modification structure) |
int | Custom color | none = -1 |
int | Waygate default = -1; | (TODO: more details later) |
int | Unit ID |
Made with ❤️ for ⚔️ WarCraft III
Need help: Check the Wiki
Found bug: Create an issue