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 Discussion / Animation Files

Author
Message
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 24th Dec 2002 01:32
How can you save animations of objects to files that can be loaded into DB? Also how do you make objects with limbs outside of DB?
Yum! Yum! Yum! Yum!
Dr DooMer
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: United Kingdom
Posted: 26th Dec 2002 05:25
Uhh, I think there are "save animation" and "load animation" commands.

If you save the animation of some kind of base object, you can then load that animation into any other object that contains exactly the same limb data.

"I am a living, thinking entity who was created in the sea of information."
John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 26th Dec 2002 05:41
What do you mean- objects with limbs outside db? Is limb defined as the different parts of an object? Like, left arm and right arm as groups in a modelling program? I dunno?!

RPGamer

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 26th Dec 2002 22:22
I'm busy developing a prog for DBv1 that animates .x files. This is my very first version, it is very disorganised and unoptimised, but it works, and explains most of the functions.



The man2.x file is included somewhere with Darkbasic V1.

Whatever I did I didn't do it!
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 26th Dec 2002 22:27
And this file shows how the animation is appended to man2.x



My current version is not yet up and running, however it is way better coded ,faster and more functional. Keep an eye on the forum, and I'll post soon.

Whatever I did I didn't do it!
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 29th Dec 2002 17:51
Thanks, kentaree. I just wondered if there were any programs that made animated db objects outside of db.

Yum! Yum! Yum! Yum!
Skyone
21
Years of Service
User Offline
Joined: 30th Dec 2002
Location: United States
Posted: 31st Dec 2002 05:22
man2.x is in media/models/people/

Code of the Week: Moving an object back.
If Downkey()=1 then Move object x,-10
x=Object Number
WebMonster
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location: Hungary
Posted: 1st Jan 2003 20:36
cooool

--==|| LAMAS RULZ! ||=--
The home of the Lama's Chat
Kentaree
21
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 2nd Jan 2003 14:59
Milkshape 3d can actually animate objects outside of DB, and using the Direct X JT exporter the anim will work in DB. There's a tutorial for this at


Whatever I did I didn't do it!
Juso
21
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: Finland
Posted: 2nd Jan 2003 16:45
Fine code! I learned much about limbs.

If you put

if inkey$()="n" then yrotate object 1,object angle y(1)+5
if inkey$()="m" then yrotate object 1,wrapvalue(object angle y(1)-5)

in code, you can rotate object with keys "m" and "n".

Login to post a reply

Server time is: 2024-04-16 21:44:31
Your offset time is: 2024-04-16 21:44:31