The body.ini file describes the droid body components in Warzone 3.2 and above. |
As it's name suggests, body.ini uses the same format as Windows .ini files.
An example is shown below:
[ScavengerChopper] name = "*Scavenger Chopper*" size = LIGHT buildPower = 29 buildPoints = 300 weight = 1500 hitpoints = 120 model = scavchop.PIE weaponSlots = 3 powerOutput = 2200 armourKinetic = 3 armourHeat = 1 designable = false flameModel = chblades.pie |
Each body has it's own section in the .ini file, denoted by the body ID in [square brackets]. The properties for that body are then listed as key=value pairs.
Property name | Data type | Required | Description |
---|---|---|---|
name | String | A short, human-readable name for the body. This string must be enclosed in quotes. If the name has *asterisks* around it, it means the name isn't seen by end-users so there's no point translating it in to different languages. | |
armourKinetic | Number | How much kinetic armour does the body have before upgrades? | |
armourHeat | Number | How much thermal armour does the body have before upgrades? | |
buildPower | Number | How much power does the body cost to build? | |
buildPoints | Number | How long does the body take to build? | |
designable | Boolean | Can this body appear in the in-game droid design tool?
| |
droidType | Constant | What classification of droid is the model associated with?
| |
flameModel | PIE filename | The 3D model (PIE) filename used for the jet effect (eg. on VTOLs). | |
hitPoints | Number | How many hit points does the body have? This determines how much damage it can take before it is destroyed. | |
model | PIE filename | The 3D model (PIE) filename associated with the body. | |
powerOutput | Number | What is the power of the engine in the body? This will affect speed of droids using the body. | |
size | Constant | How big is the body?
This determines what size of factory (number of modules) is required to build the droid (0 – 3 modules respectively). It also defines the size of the droid in the game's collision model. | |
weaponSlots | Number | How many turret slots does the body have? A number between 0 (no slots) and 3. | |
weight | How heavy is the body? This will affect speed of droids using the body. |
On Warzone 3.1 and earlier, you need to use body.txt instead. |
ContentsAssimilate: |
File locationThe "body.ini" that comes with Warzone can be found here: base.wz or base stats body.ini If you want a "body.ini" in your mod, it should be stored here: <your mod>.wz or <your mod> stats body.ini |
AvailabilityWarzone 3.2 and above. For Warzone 3.1 and earlier, use body.txt instead. Your mod can include both the body.txt and body.ini if you want it to work on all versions. |