Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / TIP: Incoporating the object with a DBC animation data file

Author
Message
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 24th Nov 2005 23:49 Edited at: 24th Nov 2005 23:54
Incoporating the object with a DBC animation data file

Hi there

This is regarding how to put a DB animation together with an object's data so as to be able to play the animation as an .x or .3ds object.

1) Make your animation in DB - use this program I made if you want to (just change the name of the object to whatever you choose):


2) Copy all the data in your object file ONLY UNTIL WHERE THE ANIMATION DATA STARTS which is usually something like "AnimationSet xdb_animset_0" into your animation file (which is saved as myanim.dat as default).

To do this, you must rename your model file and myanim.dat as a Text files and then open them in WordPad or Notepad.

Remember to keep the copied data on TOP of the animation data from myanim.dat

Now you can play the animation and load the object in DB editor as a normal .x object - though maybe not in other applications because the syntax is not standard.

Hope this helps anyone

HelloWorld Tommorrow

Login to post a reply

Server time is: 2025-05-22 20:24:38
Your offset time is: 2025-05-22 20:24:38