STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
262
IN-GAME
1,638
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
44 Colt 14 Feb, 2018 @ 9:36am
export from blender to smd, animation looks different
Hi,

I've read previous discussions about this issue and haven't found a solution yet.

I have a super mario running animation which looks normal in blender, but looks screwed up in the mdl file after i compile the exported smd.

blender animation: https://makeagif.com/gif/mario2-gif-G-KXFI
valve mdl file after compiling the smd: https://makeagif.com/gif/mario1-gif-KTBMxO


The gifs are a bit bad quality, but you can see two things:
- the upper and lower arms in the mdl animation break apart and rotate about different points
-the knees/legs in the mdl bulge outwards left and right nstead of being straight forward like in blender.

I didn't want a continuously joined up mesh so i didn't do CTRL+J join mesh in blender (I didn't think it was necessary).


Thanks

Originally posted by Artfunkel:
Sorry, I forgot about this. The problem is that you've scaled the armature. If you reset its scale to 1,1,1 and instead use the $scale command in your QC everything will be fine.
< >
Showing 1-9 of 9 comments
Artfunkel 14 Feb, 2018 @ 12:02pm 
Please upload your blend file.
44 Colt 14 Feb, 2018 @ 2:07pm 
Ok. https://www.dropbox.com/s/ssjx0f7ur9cyeg8/super_mario.blend?dl=0
This is the dropbox link for it.

mario_walk is the animation I was exporting.
44 Colt 22 Feb, 2018 @ 9:43am 
Has anyone ready this?
:)

The author of this thread has indicated that this post answers the original topic.
Artfunkel 23 Feb, 2018 @ 12:27pm 
Sorry, I forgot about this. The problem is that you've scaled the armature. If you reset its scale to 1,1,1 and instead use the $scale command in your QC everything will be fine.
44 Colt 23 Feb, 2018 @ 2:25pm 
I've tried doing alt-s to reset the armature scales, but that didn't work.
Do I have to unparent the mesh and then do it and reparent the mesh?
Artfunkel 24 Feb, 2018 @ 2:10am 
Alt+S is all you need to do. Did you export the mesh after clearing the scale or just the animation?
44 Colt 24 Feb, 2018 @ 2:40pm 
I exported both the reference mesh and the walk animation, but it's still happening.
Artfunkel 25 Feb, 2018 @ 3:39am 
Here are the steps:

  • Open the file you uploaded.
  • Switch to object mode
  • Alt+S to clear armature scale
  • Select all
  • Export selection (2 objects)
  • Compile with this QC:

$modelname Mario $scale 16 $model body "super_mario.smd" $sequence idle "anims/mario_walk.smd"
44 Colt 25 Feb, 2018 @ 1:21pm 
Ah, I was clearing the armature scale in pose mode silly me.

Yes that fixed it, thanks :)
< >
Showing 1-9 of 9 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 14 Feb, 2018 @ 9:36am
Posts: 9