Skip to main content

bodyparts

Overview

The bodyparts ini type indexes all character bodies: bodies, heads, hands and accessories. All parts are listed independently.

Vanilla Examples

  • \DATA\CHARACTERSbodyparts.ini

Syntax

The bodyparts.ini file is arranged in a specific order: multiple Body sections, Head sections or Hand sections are defined after a DetailSwitchTable section, a PetalAnimations section and a Skeleton section. This means each body/head/hand defined by their respective section will also inherit the properties defined by the preceding DetailSwitchTable, PetalAnimations and Skeleton sections.

For instance, all bodies are defined in this way:

  • DetailSwitchTable
  • PetalAnimations
  • Skeleton
  • Body
  • Body
  • (...)

An Animations section MUST be located at the very beginning of the file.

Animations

[Animations]
anim = PATH ;repeatable
ParameterInformation
animRefers to a ANM file. There can be multiple anim parameters, as many as there are ANM files to list.

DetailSwitchTable

[DetailSwitchTable]
switch = INT, FLOAT ;repeatable
ParameterInformation
switchDefault: 100, 999999
No further details.

PetalAnimations

[PetalAnimations]
anim = PATH ;repeatable
ParameterInformation
animRefers to a ANM file. There can be multiple anim parameters, as many as there are ANM files needed for the following parts

Skeleton

[Skeleton]
sex = STRING
ParametersInformation
sexCan either be male or female, depending on the sex of the following parts.

Body | Head | RightHand | LeftHand

[Body|Head|RightHand|LeftHand]
nickname - STRING
mesh = PATH
ParametersInformation
nicknameSee nickname for more information.
meshPath to the DFM file holding the part's model and texture data.

Accessory

[Accessory]
nickname = STRING
mesh = PATH
hardpoint = STRING
body_hardpoint = STRING
ParameterInformation
nicknameSee nickname for more information.
meshPath to the DFM file holding the part's model and texture data.
hardpointHardpoint of the accessory model at which the accessory attaches to the parent model. See Hardpoint for more information.
body_hardpointHardpoint of the parent model to which the accessory is attached. See Hardpoint for more information.