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 Professional Discussion / 3D animation techniques

Author
Message
Derekioh
17
Years of Service
User Offline
Joined: 1st Feb 2009
Location:
Posted: 30th Jan 2011 21:08
Hello,
I was wondering since none of my systems for using 3d animations seemed to be working, if some one could give me some ideas/pointers on creating a successful 3d animation system. What I mean is:
- How do you call them? (I know you have to use play object, etc.)
- Do you place them all in one function and just call them when you need them?
- Does anyone have a successful FPS gun animation code that they wouldn't mind sharing? (I mean like how you got the reload code and the reload animation to connect smoothly, etc.)
- Is there some easy trick to animation that I simply don't understand?

Sorry if this sounds weird, but I have tried everything I know and I can't figure out how to get a successful system that I can call animations to play when some event happens and it will actually do what I tell it to do.

LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 31st Jan 2011 04:28
Quote: "- How do you call them? (I know you have to use play object, etc.)"

Quote: "- Do you place them all in one function and just call them when you need them?"


Nothing magical here, just play the object frames you want. What I do is setup the player using TYPE variables and assign values to the animations associated with using a particular gun. (Just so you know, I make a different HUD for each gun.) So the TYPE variables' setup is something like this:


The setup is something like this:


Some examples of in-game calls:


and this:


Anyway, it works well for me.

I rig / animate a HUD in Milkshape, put it into the game and plug in the values for the animations. I make adjustments as needed. I'm sure that others have their way of doing it, but this works for me.

Login to post a reply

Server time is: 2026-07-18 00:34:49
Your offset time is: 2026-07-18 00:34:49