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 / Are there known problems w/Milkshap3D exported .x Objects and Glue Object to Limb

Author
Message
darkVeNoM
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 10th May 2003 19:25
Sup all,

I'm having trouble with an object i have created in Milkshape3D. Anyhow, i exported my object in ".x" format. My object includes animation frames, Bones, and textures. well, when i load it to darkBASIC pro it works fine... even when i play the object animations.

here is the problem:
1) i LOAD Object 1 'which is the character made in milkshape3D

2) i LOAD Object 2 'which is a sword also made with milkshape3D
'with no bone structure nor animation frames.

When I use the "GLUE OBJECT 2,1,1" if glues the sword to my character but for some reason its z value is so far from my actual character.

its like the sword follows the character but it is in mid air in the distance instead of being glued to a LIMB on my character such as a hand.

Any help on this huge problem would really be appreciated because my game is coming out great looking w/great looking scenes and sounds. plus smooth movement which i finally got working. }:>

-VeNoM
Mr Underhill
23
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 10th May 2003 21:29 Edited at: 10th May 2003 21:41
I had a similar problem with that.
Still haven't figured it out, but you could position the sword in the character's hand before gluing it. Dunno if that will do anything, though. Glad to be of any help.
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
23
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 10th May 2003 21:43
Oh, and I was using 3DC, not Milkshape.

"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)
Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 10th May 2003 23:21
the global 0,0,0 point of the object being glued MUST be set to exactly the limb axis point of the target limb.

When you start Max and I assume the same for Milkshape there are two gridlines darker than all others, this is the 0,0,0 point. It is the centre which will get glued to the centre of the limb.

Pneumatic Dryll
The Cubist
23
Years of Service
User Offline
Joined: 26th Mar 2003
Location:
Posted: 11th May 2003 06:36
I have experienced this proplem however, not with Milkshape. I use 3D Canvas. In 3dc the position of the objects axis in reference to the object has no bearing on how it is positioned in DBPRO. In 3dc I have to position my objects at the point of origin (0,0,0) and then save them. I guess these 3d modeling softwares take the scene information not individual object information. This is what I do. I load both objects into 3dc and position the object in accordance with the position (0,0,0). You don't have to save your character in this position just the object you want to glue. Then in DBPRO add a limb and offset it to the position where you want the sword to be. Then hide the limb and use the invisible limb to glue the object to. Make sure when you save the object to be glued in milkshape that the handle of the sword is at (0.0.0) not the center of the sword itself.
I hope this will help. I took me about a week of fiddling with dbpro to figure out why thing weren't glued where I wanted them.

darkVeNoM
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 11th May 2003 18:40
I'm still can't figure this out. The thing is that the object glues somewhere in space in the distance. sucks.. and if I offset my character the the collision wont be correct.

...

darkVeNoM
23
Years of Service
User Offline
Joined: 10th May 2003
Location:
Posted: 11th May 2003 18:55
The Cubist i tryed what you said but it didn't work. The sword that i'm glueing to my object is so off that its not even near my character ... it just glues somewhere in 3d space and it moves with the screen though... its weird as hell...

Andy Igoe
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United Kingdom
Posted: 11th May 2003 20:51 Edited at: 11th May 2003 20:52
Set the axis of the limb you are gluing too.

Move the object you are gluing to 0,0,0.

Those two points will appear at the same point in space when you glue the limb.



In this example my Balrog [left image] is going to hold my Goblin [right image] by the top of his head.

Pneumatic Dryll
The Cubist
23
Years of Service
User Offline
Joined: 26th Mar 2003
Location:
Posted: 12th May 2003 08:46
What patch are you using? I know that before patch 4 I got very unpredictable results.

Login to post a reply

Server time is: 2026-07-12 16:42:55
Your offset time is: 2026-07-12 16:42:55