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.

Newcomers DBPro Corner / append object

Author
Message
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 16th Apr 2004 17:39
append object "models\H-USA-Move.x",1,
what am i meant to type next in this command im not sure

sj
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 16th Apr 2004 17:46 Edited at: 16th Apr 2004 17:50
You could have written this in the last thread that i answered, to save space, and to acknowledge that i may have helped you.

To answer your question, look in the help files.
Quote: "APPEND OBJECT Filename, Object Number, Start Frame"


Quote: "The new animation data will begin from the start frame specified up to the length of the files animation data"


Answer your question?

Athlon 2500+, Asus A7V600-X, 512Mb DDRRAM, GeForce 4 MX 440
http://www.jellystudios.tk <-- Yay! I have web content
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 16th Apr 2004 19:44
actually no how do you speciefy the start frame

sj
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 16th Apr 2004 19:45
and how do you find out the animation data

sj
Sparda
20
Years of Service
User Offline
Joined: 13th Jan 2004
Location: Pacifica
Posted: 17th Apr 2004 06:44
you can you "total object frames" to find the number of frames in one object's animation. You append objects together so you don't have to load a bunch of objects on top of each other.

There 10 kinds of people, those who understand binary and those who don't
Night Giant
21
Years of Service
User Offline
Joined: 26th Jul 2003
Location:
Posted: 17th Apr 2004 07:29
the problem is, i don't believe the append object command works correctly. if you look at the example file they give you to look at, it doesn't use that command anywhere . and i've attempted to use it multiple times and to no avail, i think its one of those magical bugs in db that never got and never will be fixed. shame really, as it would make giving a model many animations easier by many degrees.

oh, wow. insignificantpunks.cjb.net. we like orange treble clef notes, just for future reference.

no: website for progs yet.
flibX0r
21
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 17th Apr 2004 09:47
Apparently it works in DBPro 5.2

Athlon 2500+, Asus A7V600-X, 512Mb DDRRAM, GeForce 4 MX 440
http://www.jellystudios.tk <-- Yay! I have web content
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 17th Apr 2004 14:37
Quote: "the problem is, i don't believe the append object command works correctly"


it works a charm if used correctly.


fall down seven times, stand up eight
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 17th Apr 2004 15:25
so what would be an alternate way to give a model multiple animations?

sj
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 17th Apr 2004 15:36
append object "models\H-USA-Move.x",1,total object frames (1)+1
ok is with this i still get an error saying object already exists at line 15 why does this happen
and is there another way i could give an object multiple animations

sj
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 17th Apr 2004 17:33
calculate the first models animation frame maximum.
eg: model 1 media 1 location. eg: 1 to 59

the appended model will be attached to model 1
at frame 59 and is say 30 frames of animation

hopefully this makes sense if I pose it like this.

append object "filename",prior_models_media_number,last_frame.

if that doesnt make sense then try this small snippet example.
two model media required tho.




fall down seven times, stand up eight
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 17th Apr 2004 18:11
i know that but how could i find out how many animation keyframes an object has?

sj
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 17th Apr 2004 18:15
it still doesnt work i still get the old object already exists at line 15

sj
No budget games
20
Years of Service
User Offline
Joined: 26th Feb 2004
Location:
Posted: 17th Apr 2004 18:16
here is all the code can anyone see the problem

sj
nrasool
21
Years of Service
User Offline
Joined: 22nd Sep 2003
Location: Surrey Area
Posted: 17th Apr 2004 19:03
Hi there

Easiest way is to load up one object first, then print to screen
something like



This will tell you how many frames the object has, then you write down the frame number, then change the filename for the other object and run it, to see how many frames that object has and so forth.

Easiest way

A Good Programmer never blames his tools
Night Giant
21
Years of Service
User Offline
Joined: 26th Jul 2003
Location:
Posted: 18th Apr 2004 08:38
Quote: "it works a charm if used correctly."


i don't believe it does in DB 1.13.

oh, wow. insignificantpunks.cjb.net. we like orange treble clef notes, just for future reference.

no: website for progs yet.

Login to post a reply

Server time is: 2024-11-26 14:18:09
Your offset time is: 2024-11-26 14:18:09