Targetware: 3D Dev Guide


Reference: .ANM file Specs and Defaults

As of the current version, these are the valid lines in an .ANM file, and what they default to if not present:

Main Parent Object (header section):

  name = <no name>
geometry = <no default - no geometry is a load failure>
offset = 0, 0, 0
rotation = 0, 0, 0
num_path = 0
num_child = 0

Child Objects:

  name = <no name>
geometry = <can be left blank if nothing is to show>
offset = 0, 0, 0
rotation = 0, 0, 0
num_path = 0

Paths:

  [Child n Path n]
link = 0
auto_time = 0
num_anim = 0

Animation Entry/Offset Type:

  [Child n Path n Anim n]
type = offset
time = 0.0
offset = 0, 0, 0

Animation Entry/Rotation Type:

  [Child n Path n Anim n]
type = rotate
time = 0.0
rotate = 0, 0, 0
origin = 0, 0, 0

Animation Entry/Geometry Type:

  [Child n Path n Anim n]
type = geometry
time = 0.0
geometry: <no default - no geometry is a load failure>

Animation Entry/Visibility Type:

  [Child n Path n Anim n]
type = visibility
time = 0.0
visible = 1

Animation Entry/Texture Type:

  [Child n Path n Anim n]
type = skin
time = 0.0
orig = oldtexture.tga <no default - no texture is a load failure>
skin = newtexture.tga <no default - no texture is a load failure>
overlay = 0