STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
276
游戏中
1,725
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
44 Colt 2018 年 2 月 14 日 上午 9:36
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

引用自 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.
< >
正在显示第 1 - 9 条,共 9 条留言
Artfunkel 2018 年 2 月 14 日 下午 12:02 
Please upload your blend file.
44 Colt 2018 年 2 月 14 日 下午 2:07 
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 2018 年 2 月 22 日 上午 9:43 
Has anyone ready this?
:)

该讨论串的作者已表示此帖子解答了原先的主题。
Artfunkel 2018 年 2 月 23 日 下午 12:27 
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 2018 年 2 月 23 日 下午 2:25 
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 2018 年 2 月 24 日 上午 2:10 
Alt+S is all you need to do. Did you export the mesh after clearing the scale or just the animation?
44 Colt 2018 年 2 月 24 日 下午 2:40 
I exported both the reference mesh and the walk animation, but it's still happening.
Artfunkel 2018 年 2 月 25 日 上午 3:39 
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 2018 年 2 月 25 日 下午 1:21 
Ah, I was clearing the armature scale in pose mode silly me.

Yes that fixed it, thanks :)
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2018 年 2 月 14 日 上午 9:36
回复数: 9