(info) Most of the information here is for Warzone 3.1 and above.

body.ini

The body.ini file describes the droid body components in Warzone 3.2 and above.

 

File Format

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.

Properties

Property nameData typeRequiredDescription
nameString(tick)

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.

armourKineticNumber(tick)How much kinetic armour does the body have before upgrades?
armourHeatNumber(tick)How much thermal armour does the body have before upgrades?
buildPowerNumber(tick)(question) How much power does the body cost to build?
buildPointsNumber(tick)(question) How long does the body take to build?
designableBoolean(tick)

Can this body appear in the in-game droid design tool?

  • true – yes (but the body must be available to the player)
  • false – no
droidTypeConstant(error)

What classification of droid is the model associated with?

  • CYBORG – a cyborg, only cyborg propulsion can be used
  • CYBORG_CONSTRUCT – a field engineer cyborg (limits turret to a construction system)
  • CYBORG_REPAIR – a mechanic cyborg (limits turret to a repair system)
  • CYBORG_SUPER – a super-cyborg (limits propulsion to super-cyborg legs)
  • PERSON – a person (limits propulsion to legs)
  • TRANSPORTER – airborne droid, unlimited weapon ammo, can carry other droids (see also: related discussion)
flameModelPIE filename(error)The 3D model (PIE) filename used for the jet effect (eg. on VTOLs).
hitPointsNumber(tick)

How many hit points does the body have?

This determines how much damage it can take before it is destroyed.

modelPIE filename(tick)The 3D model (PIE) filename associated with the body.
powerOutputNumber(tick)

What is the power of the engine in the body?

This will affect speed of droids using the body.

sizeConstant(tick)

How big is the body?

  • LIGHT
  • MEDIUM
  • HEAVY
  • SUPER_HEAVY – only used in campaigns (as normal factories can't have 3 modules)
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.
weaponSlotsNumber(tick)

How many turret slots does the body have?

A number between 0 (no slots) and 3.

weight (tick)

How heavy is the body?

This will affect speed of droids using the body.

Examples

  • The Ultimate Scavenger Mod contains a custom body.ini which defines a number of new Scavenger units including cranes, camper vans and helicopters!
On Warzone 3.1 and earlier, you need to use body.txt instead.

Contents

Assimilate:

File location

The "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

Availability

Warzone 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.