STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
243
游戏中
1,675
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
ZeqMacaw 2017 年 12 月 1 日 上午 7:17
[INVALID] Importing of L4D2's C130 mesh and its idle animation shows warped mesh
Steps to show the error:
- Unpack "models\props_vehicles\c130.*" from "Steam\steamapps\common\Left 4 Dead 2\left4dead2_dlc3\pak01_dir.vpk".
- Decompile "c130.mdl" with Crowbar 0.51.
- Import "c130.smd" into Blender.
- Import "idle.smd" into Blender.

This is what I saw (which is incorrect because the re-compiled model shows the idle animation correctly in L4D2's HLMV and in L4D2's Dead Air finale map):
https://drive.google.com/file/d/15nbaBzHyYRshK6y36JAurgCiEUYAgqH8/view

What I expect to see (screenshot using same steps as above but importing into 3ds Max instead):
https://drive.google.com/file/d/1izI4VHryf9UOJodvIwCEOudSr2VtvwRP/view


I tested and checked several versions of Crowbar and tested by changing various values in the SMD files before concluding that somehow BST is messing this up.

I discovered if I changed the y-rotation value to 3.141593 (i.e. 180 degrees) of several bones in the skeleton section of the c130.smd file, then the mesh+anim would show correctly. Here are the changed lines:
7 99.163139 105.591690 0.000000 0.000000 3.141593 0.000000 8 99.163139 105.591690 0.000000 0.000000 3.141593 0.000000 9 99.163139 105.591690 0.000000 0.000000 3.141593 0.000000 10 -88.635094 105.591690 0.000000 0.000000 3.141593 0.000000 11 -88.635094 105.591690 0.000000 0.000000 3.141593 0.000000 12 -88.635094 105.591690 0.000000 0.000000 3.141593 0.000000 13 0.045967 148.733414 -455.006958 0.000000 0.000000 0.000000 14 0.045967 33.260914 -171.011078 0.000000 0.000000 0.000000 15 83.194641 29.050341 58.206032 0.000000 0.000000 0.000000 16 83.194641 29.050341 -2.755451 0.000000 3.141593 0.000000 17 -83.170639 29.050341 -2.755451 0.000000 3.141593 0.000000 18 -83.170639 29.050341 58.206032 0.000000 0.000000 0.000000 19 0.000000 54.301315 451.810547 0.000000 0.000000 0.000000 20 0.000000 -35.986824 0.000000 0.000000 0.000000 0.000000 21 0.000000 179.346634 0.000000 0.000000 3.141593 0.000000 22 -88.635094 105.591690 0.000000 0.000000 3.141593 0.000000 23 99.163139 105.591690 0.000000 0.000000 3.141593 0.000000 24 5.793194 40.672806 0.000000 0.000000 3.141593 0.000000

I can provide the C130 model files if needed.
最后由 ZeqMacaw 编辑于; 2017 年 12 月 2 日 上午 9:15
< >
正在显示第 1 - 4 条,共 4 条留言
Artfunkel 2017 年 12 月 2 日 上午 4:40 
Uh oh, polar coordinates! Please upload the SMDs.

This may be an issue related to the order in which Blender applies the rotation axes. If that's the case then DMX will be immune.
ZeqMacaw 2017 年 12 月 2 日 上午 6:22 
最后由 ZeqMacaw 编辑于; 2017 年 12 月 2 日 上午 6:32
Artfunkel 2017 年 12 月 2 日 上午 8:51 
You need to set the up axis to Y before importing. It's fine then.
ZeqMacaw 2017 年 12 月 2 日 上午 9:09 
Oh, interesting. I've never needed to use that option before, so didn't think of that.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50

所有讨论 > Bug Reports > 主题详情