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

war3mapUnits.doo: Units

ChiefOfGxBxL edited this page Mar 3, 2017 · 1 revision

Units and items that are placed on the map. (Similar to war3map.doo)

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 units

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

General

Features

Community

  • Conduct
  • Contributing
  • Support
  • Hive

Extensions

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