PDA

View Full Version : loading CAF animations


vadrian
06-02-2005, 02:31 PM
is there a way to load CAF/CAX files from a local directory (instead of copying them to the Vizard program directory)? also, is there a way to set which animation goes to a given state? that is, how can i be sure that avatar.state(14) always does the same animation on different computers (which might have different animations)? is there a way to access animations by name?

-adrian

farshizzo
06-02-2005, 04:38 PM
Hi,

The cfg file contains a variable path. When animations are loaded the path variable will be prepended to the animation filename. If that path exists in the local directory then it should load fine.

The animation state is determined by the order in which it appears in the cfg file. The first animation file is state 1 and so on.

Currently there is no functionality to get an animation state by name. I can add this to the next release.