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.

Code Snippets / Limb Animator

Author
Message
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Feb 2003 23:47 Edited at: 22nd Mar 2003 20:58
This is a program which uses all of the basic functions anyone needs to know to animate a model in DarkBasic. I'm still adding to all the time, so any suggestions are always welcome.

Edit:
Sadly, as the save object animation command was left out in DBPro, this is DBClassic only

*Uncomplete code cut out*

Whatever I did I didn't do it!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Feb 2003 23:52


Whatever I did I didn't do it!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 21st Feb 2003 23:53
Sorry, first post didnt work. Damn I wish that edit function would work...

Whatever I did I didn't do it!
BackBONE
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location:
Posted: 22nd Feb 2003 01:00
You should mention that it oly work with dbc
(cose the save comand exist any longer )
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 22nd Feb 2003 16:15
Yea,sorry. I was actually far into developing a version with DBPro, before I found that out, luckily I could convert most of the code into DB classic.

Whatever I did I didn't do it!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 25th Feb 2003 13:45
At the moment I'm also working on a GUI for it, its not entirely necessary but it does make it look good

Whatever I did I didn't do it!
yosepp
21
Years of Service
User Offline
Joined: 14th Dec 2002
Location:
Posted: 28th Feb 2003 15:14
hey, this is a real cool program, tried it out.btw, is there a way i could load the animation file it saves, so i could us them. [img][/img]

fire, fire, fire
-"Cornholio" alias Beavis
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 28th Feb 2003 22:04


where modelName$=the original model file used for animating
animFile$=your .nm8 file containing anim data
objectNo=the number of the object you want to append the
anim to
startingFrame=the frame number where it will start appending

Whatever I did I didn't do it!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 28th Feb 2003 22:07
So say you made a walk animation that is 10 frames long

append object animation "model.x","walk.nm8",1,1

will set frames 1-10 as walk animations. So when you add another animation you can append them from frame 11.
Good luck!

Whatever I did I didn't do it!
yosepp
21
Years of Service
User Offline
Joined: 14th Dec 2002
Location:
Posted: 4th Mar 2003 20:29
oh

fire, fire, fire
-"Cornholio" alias Beavis
Mr Underhill
21
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 11th May 2003 21:25
Geez, Kentaree this looks more like an entire program than a snippit.
Maybe you could post this on the Program Announcements board. I'd bet a ton of people would be interested. Just an idea
Underhill

"Not all that is gold does not glitter, not all those who wander are lost, not all that is old does not whither, deep roots are not reached by the frost..." - Aragorn (Strider)
Mr Underhill
21
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 11th May 2003 21:26
It's OK if you like it as a snippit, too.

"Not all that is gold does not glitter, not all those who wander are lost, not all that is old does not whither, deep roots are not reached by the frost..." - Aragorn (Strider)
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 11th May 2003 23:10
LOL, I had forgotten totally about this thread. Yeah, you're probably right. I might actually just adjust it a bit more, finish the GUI and release it as a program.

Whatever I did I didn't do it!

Login to post a reply

Server time is: 2024-04-25 16:38:07
Your offset time is: 2024-04-25 16:38:07