3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Don't Import Bone  (Read 257 times)

« on: February 20, 2014, 01:42:54 PM »
Hi.

I want rig a model in 3ds max then export it for 3drad. for this work I made a bone for my model and skinning it. even for export this model to .x format I enable Bone Option but when import it in 3drad and use below script, show 0 bone.

Code: [Select]
 
void Main()
{
 int BoneNum = iObjectBonesCount(OBJ_0);
 iPrint ("" + BoneNum, 0,0, OBJ_22);
}

I try it with FragMotion but don't work.

Please guide Me.
« Last Edit: February 20, 2014, 01:58:52 PM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #1 on: February 20, 2014, 08:26:38 PM »
Do you have the Bones option selected, and geometric and dummy options? That could be the problem

See my web:
« Reply #2 on: February 21, 2014, 01:50:48 AM »
Quote
Do you have the Bones option selected, and geometric and dummy options? That could be the problem

Yes, But don't show any bone. :(
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #3 on: February 21, 2014, 03:09:29 AM »
I try export with 3ds max 2010 and now show me bones in 3drad but there are another Problem.
when I import it in 3drad, only show Part of the have bone, while I group all mesh and bone together. and don't show it in (0,0,0) Position while in 3ds max I set it to (0,0,0) coordinate. and when I play the game, show the model very large.

where is the problem?
« Last Edit: February 21, 2014, 03:16:26 AM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #4 on: February 21, 2014, 12:24:23 PM »
I found the Problem about change size and Position but Whatever tried for export model with different setting that show all part of model after import it in 3drad, but I did not succeed. really Need Help for solve this Problem. :(

Thanks
« Last Edit: February 21, 2014, 02:54:21 PM by behdadsoft »
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
« Reply #5 on: February 21, 2014, 05:20:06 PM »
When i export a model with bones from 3ds max, i open it with fragmotion, i separete the animations (in case i have more than 1) and later export it again in .x on 3drad Folder. Here an example of one model i made:



Here you can see the Biped geometry, i use biped to rig the model.



Here is how i export from 3ds max



Here you can see the biped bones. If you can see the bones on fragmotion it should work without problems



And you can delete it to export it again on 3drad

It should work :-\
See my web:
« Reply #6 on: March 07, 2014, 04:49:23 AM »
I Find the Problem for show all part of gatling gun in 3drad with Facujk101 Help. but there is another Problem, that after attached below script to gun in 3drad, detach pipe gun from body and show it very large.

I try some way to fix it but the Problem still exist. can any one help me?

Code: [Select]
float z = 0, speed = 0;
Quaternion Pipe;

void Main()
{
   int BoneNum = iObjectBonesCount(OBJ_0);
   iPrint ("" + BoneNum, 0,0, OBJ_22);
   
   if (iKeyDown(iKeyCode("DIK_A")))
   {
     speed = 10;
   }
   else
   {
      if (speed > 0) speed -= 0.1;
      else speed = 0;
   }

   iObjectBoneOrientation(OBJ_0,0,Pipe,1);
   iQuaternionFromEulerAngles(Pipe,0,0,z,"xyz");
   iObjectBoneOrientationSet(OBJ_0,0,Pipe,2);
   
   z += speed;
}
My Game : Star Wars 1.0

http://behdadgame.com/index.php?topic=3.0

possible way, if we found will make a way.
Pages: [1]