Jump to content
  • Advertisement
Sign in to follow this  
Constantine

export to .x

This topic is 4505 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi evrerybody, I used milkshape v1.7.5. Decomplie Half Life model (mdl file from _http://www.planetquake.com/polycount/), get animation smd file... After getting (.smd) files, each .smd file (not reference) with .smd (reference file) (all decomplied from .mdl file) were imported to milkshape and exported to directX (by trying both DirectX v.8 and by JT). ( 1 REFERENCE (.smd) + another smd --> 1 .x file) The directX(.x file) work well when I have only one animaitonset per x file. Now I want to create more than one animation per .x file. So I copy and paste animationset from one .x file to another, the model is broken. ( All my works here) http://d.turboupload.com/d/437330/animation.rar.html I dont know why the model is broken? If you have any ideas from getting aniamation in .mdl and export to .x file (with multi animationsets), let me know, Thank, [Edited by - Constantine on March 18, 2006 11:00:20 AM]

Share this post


Link to post
Share on other sites
Advertisement
If they use the same bone names and all such, you should just be able to add animatieon sets, one after another, to a single .x file. In general that should work fine.

Share this post


Link to post
Share on other sites
thank RenderTarget,
I am sure both all have the same bones name
Here is the code for single .x animation file and the compound .x file

Here file one (1animate_walkwithhand.x):

EDIT: No need to do a complete "file dump" - Please post any relevant fragments of the file instead!

[Edited by - jollyjeffers on March 18, 2006 11:46:18 AM]

Share this post


Link to post
Share on other sites
Anyone know how to create .x file contains multi animationsets (using 3ds max, milkshape), plz show me,
thank,



[Edited by - Constantine on March 18, 2006 1:04:14 PM]

Share this post


Link to post
Share on other sites
Please don't dump the entire contents of such huge files into the forum - it's not going to help you get an answer as we now have to scroll past 100's of pages of useless information...

If you want people to examine parts of the raw data, post a link to the file for people to download and view if they want. Better yet, post any relevant fragments/summaries of the data...

Cheers,
Jack

Share this post


Link to post
Share on other sites
from the site: http://www.psionic3d.co.uk/cgi-bin/imageFolio.cgi?direct=Free%20Stuff/3D%20Models

i downloaded the zombie model (in .ms3d), load it to milkshape v1.7.5.

Based on his note:

"
FRAMES:-

2-20 Walk cycle 1
22-36 Walk Cycle 2
38-47 Zombie being Attacked 1
48-57 Zombie being Attacked 2
59-75 Blown away onto his back
78-88 Still lying down and twitching (OFFSET to where he landed)
91-103 Die and fall forwards
106-115 Kick Attack
117-128 Punch/Grab Attack
129-136 Head Butt :-)
137-169 Idle 1
170-200 Idle 2
"

in milkshape, i exported using JTDirectX plugin (on Retainted Mode with Right Handled checked)

from FRAME 2-20 --> exported to walk.x (the model broken)
...
and the same for others.

I'm really confuse, very need some explanations,

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!