Character Spec

From HEWIKI
Jump to: navigation, search

Contents

A character specification is a .dat file that consists of several properties for describing a type of character. For example, there may be one character specification for human females, one for human males, etc. All human female character nodes are then created from this single specification, and so share the things that the specification describes.

Note: "Spec" is short for "specification" and will be used interchangeably throughout this document.

Sample Specifications

Sample specification for a Static Character, The Manowar.

!
! Character Specification for Character\manowar\manowar.dat
!
!
Version=2
[PARTS]
  Model=manowar_skeleton.(file extension)
  AnimationSetFolder=Character\manowar\animation\
  Agent=Character\manowar\animation\manowar.aas
  Behavior=PlayerCharacter2
  Gender=Male

Sample specification for a Dynamic Character, a human male.

Note: The model of a Dynamic Character .dat file points to a .dyc file instead of an individual skeleton file.
!
! Character Specification for Character\Dynamic_2\Human\Male\Human_Male.dat
!
!
Version=2
[PARTS]
  Model=TestHuman_Female.dyc
  AnimationSetFolder=Character\animations\biped_vda\
  Agent=Character\Animations\biped_vda\bipedagent6.aas
  Behavior=PlayerCharacter2
  Gender=Female
  TextureLODSpeed=.2

Properties

Version

The version number should always be set to 2.

Parts Section Properties

Don't be confused about the section name; "parts" is just used to indicate that this section describes the things that make up the character spec, and has no relation to the parts system.

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox