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 / Append object problem.

Author
Message
DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 16th Aug 2010 20:04
Hello, I am playing about with the animated ninja model off the original dark matter pack. So far I have used the basic animations that have come with it, by loading the first model and appending all the animation frames from the other models into it. It has worked well thus far. However as soon as I try an animation I have made it fails. I am using the same object, just with a new animation. If I load the object in separately it animates correctly.

I have included the media so you can try it. I have a feeling it is something to do with my model export, but any ideas would be helpful.

http://s6.bitefight.org/c.php?uid=103081
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 16th Aug 2010 21:52
The L-ninja-jump.x file seems to be the problem. If you rem it out, everything else loads okay. I was going to replace it with the model from my DarkMatter collection, but I didn't see a file with that name.

So many games to code.......so little time.
DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 17th Aug 2010 00:19 Edited at: 17th Aug 2010 00:20
You won't find the jump anim in the original dark matter because there isn't one.I have basically created my own animation using basic limb rotation (rather than boned). The original dark matter anims were just linked objects rotated around. All the original ones append correctly, therefore my edited object has some difference that I do not know of. I am just a little stumped as the object loads fine and plays fine if loaded as a unique object.
Edit - It's a rubbish anim but will do me for now lol.

http://s6.bitefight.org/c.php?uid=103081
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 17th Aug 2010 00:35
I see. You know, I took that model and rigged and animated it a long time ago. It has quite a few animations which use bones. If you are interested, I can upload it for you.

So many games to code.......so little time.
DVader
22
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 17th Aug 2010 01:55 Edited at: 17th Aug 2010 01:57
That would be useful. I really hate animating objects, especially when I get these sort of odd things occurring. I only dispensed with bones as they didn't seem to be used in the original animations and the fact I didn't fancy boning it either. I am basically playing with a Shinobi style game and the included anims don't have anywhere near enough variety for it.
I don't mind struggling with getting anims done, but if I can't append them to one object it is gonna be a pain in the engine, so to speak.
So if you have some animations that will work that would be great and truly appreciated! Can get back to the game then and not worry about fixing a new bug(albeit one that my object is causing somehow, love to know why). The only other thing I can think of is to try to add all the anims together in 3ds.
Edit - Odd though, I have edited dark matter's animations before and used append with no problems. That was possibly using 3ds models rather than .x though.

http://s6.bitefight.org/c.php?uid=103081
LBFN
19
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 17th Aug 2010 02:50 Edited at: 20th Aug 2010 17:28
All of the other animations with the ninja appended properly and it worked. It was only the jump animation that failed. I haven't really looked at how they made them, as creating boned animations is so much easier to me.


LB

So many games to code.......so little time.

Login to post a reply

Server time is: 2026-07-25 17:49:45
Your offset time is: 2026-07-25 17:49:45