Hi there
Unfortunately, I don't have DBP - I only have DBC but I think I might be of some help anyway.
Here is my code from DBC - you will need the media (which should be placed in the same folder as the .dba file containing this code:
`load object
load object "a.3ds",1
`load meshes for animation
load mesh "a.3ds",1
load mesh "b.3ds",2
load mesh "c.3ds",3
load mesh "d.3ds",4
load mesh "e.3ds",5
load mesh "f.3ds",6
`set counter
i=1
REM MAIN PROGRAM LOOP
sync on : do
`change the mesh to the counter's value
change mesh 1,1,i
`restrict counter so we don't get runtime error
if i>=6 and state=0 then state=1
if i<=1 and state=1 then state=0
if state=1 then dec i
if state=0 then inc i
sync : loop
Using the
APPEND OBJECT command is not going to work in this case since this command adds *animation* data on to the pre-existing object.
Instead I've used a command perfectly suited for what you need;
CHANGE MESH which basically changes one object to another.
You might want to consider getting a modeler/animator software tool such as 3dsMax. If you don't wish to spend so much try MilkShape 3D. If you want one for free I suggest getting TrueSpace3.2 - an excellent program that has many features, is easy to use and can import/export to various formats (including the DirectX file format .x)
Hope this helps
HelloWorld Tommorrow