Skip to content

Doodads

ChiefOfGxBxL edited this page Apr 22, 2017 · 7 revisions

Translator

Translator.Doodads

Usage

var doodadsTranslator = new Translator.Doodads(doodadData[, outDir]);
doodadsTranslator.write();

Specification

doodadData: [<Doodad>]; // Array of doodads

Where <Doodad> is a doodad structure defined by:

{
  id: <Int>,
  type: <String>,                         // type of tree - see lookup
  variation: <Int = 0>,                   // (optional) variation number
  position: [<Float>, <Float>, <Float>],  // x,y,z coords
  angle: <Float = 0>,                     // (optional) in radians
  scale: [<Float>, <Float>, <Float>],     // x,y,z scaling factor - 1 is normal size
  life: <Int>                             // % health
}

Translators

World entities

Place entities like units, doodads, etc. on the map

Units (unit or item)
Doodads
Terrain
Regions
Cameras
Sounds

Object definitions

Edit objects in the object editor

Units
Items
Destructables
Doodads
Abilities
Buffs
Upgrades

Other

Miscellaneous files like imports and strings

Imports
Strings
Info

Clone this wiki locally