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.

Author
Message
Dragonslayer
21
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 25th Feb 2005 01:14
This is something I was just thinking about I'm not to this point in anything I'm doing yet.

Doors that rise or open to the side and go into the wall I assume are opened by a trigger close to the door. Is the animation of the door opening done in DBP or is it done in an outside animation program.
G Man
20
Years of Service
User Offline
Joined: 17th Nov 2004
Location:
Posted: 25th Feb 2005 01:23
Quote: "DBP or is it done in an outside animation program"


Could be done either way depending on how you wish to accomplish it.

Intel Pentium 4, 3.4GHz, 1280MB RAM, NVidia Quadro FX3000/256MB, 240GB HD, XP Pro
Dragonslayer
21
Years of Service
User Offline
Joined: 4th Nov 2003
Location: New Lenox Illinois U.S.A.
Posted: 25th Feb 2005 01:42
So if it is done in your animation program(I use Lightwave) you set a trigger point that will set off the animation but how does DBP know that there is an animation to play? Do you have to save the object differently? There is a play animation command but how do you get DBP to recognize an outside animation and play it correctly?

I hope I asked this clearly!
Dragonslayer
G Man
20
Years of Service
User Offline
Joined: 17th Nov 2004
Location:
Posted: 25th Feb 2005 02:29 Edited at: 25th Feb 2005 02:31
Quote: "how does DBP know that there is an animation to play?"


Because your program knows which switch the character threw, so you simply play the appropriate animation frames that move the door limb. I think it would be easier to simply model the doors as limbs and programatically move the appropriate limb though...

Quote: "is a play animation command but how do you get DBP to recognize an outside animation and play it correctly?"


Maybe I'm missing something... the animations are contained in the .X file

Intel Pentium 4, 3.4GHz, 1280MB RAM, NVidia Quadro FX3000/256MB, 240GB HD, XP Pro
Clueless
21
Years of Service
User Offline
Joined: 16th Feb 2004
Location: Corbin, KY, USA
Posted: 25th Feb 2005 08:01
Quote: "point that will set off the animation but how does DBP know that there is an animation to play?"


More importantly, you (the programmer) knows that there's an animation to play. If it's the only animation for the object you can just PLAY OBJECT. If there are many, you'll want to pass a beginning and ending frame number to the PLAY OBJECT command, else you'll cycle through all the animations.

Login to post a reply

Server time is: 2025-06-06 17:22:36
Your offset time is: 2025-06-06 17:22:36