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 / Milkshape Animation help

Author
Message
Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 12th Jan 2013 05:51
Hello.

I've looked up some help threads for milkshape, but I could not find one with a problem like mine with a fix that worked.

Basically I made an object, animated it, exported to x (not in animation mode) left the check boxes on. (I need all three), then when I try to load it in DBP I get run time error 7018, could not load 3D object.

one thread said to turn off material in the exporter. But wail it loads in DB I can't put textures on it even with "Texture object obj,img". Not to mention there is still no animation added.

I'm using enhanced animations. so I tried exporting the object as an animation then again without animations attached, but I get the same error of 3D object could not be loaded.

If you have any ideas please let me know,
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 12th Jan 2013 09:03
Hi. I use Milkshape 3D to do all my 3D modelling. I tried Blender but I literally had no idea where to start. I'll probably make another attempt to pick it up shortly.

Anyway, I'll explain how to solve your problem.


1. You are using the wrong exporter.
You are using the DirectX 8.0 Exporter and you should be using the DirectX (JT) exporter. You need to set it to "DirectX Skin and Bones" in the pulldown menu, and check the "S&B Templates" checkbox. All other check boxes should be empty. Set animation
timing to 1.

2. Test your model without Enhanced Animations.
You should test your model out in dark basic professional using the regular animation system. When you are confident of your exporting process, then begin using enhanced animations. This will simplify your workload, and allow you to identify problems easier. It's so easy for a tiny error to cause enhanced animations to crash the game. So you need to make sure to take small steps.


TLDR: You are using the wrong exporter. Use the other one.

Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 12th Jan 2013 18:00
oh ok. Thanks. it worked.though when I started milkshape the limbs were broken. I.E the foot was detached from the model. know why this happens?
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 13th Jan 2013 06:30 Edited at: 13th Jan 2013 06:32
No you should save your source work in MS3D format. Always Save first then attempt to export to X format, then do not save, simply reopen your previous save. Don't keep any changes that the Exporter makes to the model inside of Milkshape.

There's a few reasons for this. It can play with the smoothing groups. You need to delete any additional textures beyond 1 texture, otherwise texturing the object in DBP won't work, the object will remain white. Extra textures are common, for example you might have a model with an attack animation, and to make modelling easier you might add temporary prop weapon in to assist with creating animations. You cant easily revert these changes, so save then export and then reload the save.

Always before exporting turn on auto-smoothing select everything and do a full weld. This should correct any weird shading/smoothing seams, and any incorrect normals. Always turn back off Auto Smoothing before exporting or it will screw up the shading on your model. You will see seams in the final product. It's easy not to notice this at first.

If you create all your animations, then zero the joints outside of animation mode, the reference point for all your animations will be wrong and your model will garble and contort oddly when animating.

As far as your specific question is concerned, you might have zeroed the joints, or rotated them causing your animations to be ruined. It sounds like you said that the animations aren't animating properly in Milkshape.

Login to post a reply

Server time is: 2026-07-08 21:14:34
Your offset time is: 2026-07-08 21:14:34