[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.7.4 Creating the Cal3D model config file

Create a new text file that is the name of your character in the same directory as the 4 files you exported from 3D Studio MAX. Then place these four lines in the text file that specifies which parts of your character to load.

skeleton specifies which skeleton to use.

mesh specifies which meshes to load.

material specifies which material definition (texture) to use.

animation specifies what animations to allow the model to use.

 
skeleton=(your skeleton file .csf)
mesh=(your mesh file .cmf)
material=(your material file .crf)
animation=(your animation file .caf)

Sample Output of "test.cfg":

 
skeleton=test.csf
mesh=test.cmf
material=test.crf
animation=test.caf

Note: The mesh and animation lines can repeated multiple times if you want multiple animations or meshes to be in the final sprite.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html