STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
370
I SPIL
2,181
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Bug Reports > Trådoplysninger
ZeqMacaw 1. dec. 2017 kl. 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.
Sidst redigeret af ZeqMacaw; 2. dec. 2017 kl. 9:15
< >
Viser 1-4 af 4 kommentarer
Artfunkel 2. dec. 2017 kl. 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 2. dec. 2017 kl. 6:22 
Sidst redigeret af ZeqMacaw; 2. dec. 2017 kl. 6:32
Artfunkel 2. dec. 2017 kl. 8:51 
You need to set the up axis to Y before importing. It's fine then.
ZeqMacaw 2. dec. 2017 kl. 9:09 
Oh, interesting. I've never needed to use that option before, so didn't think of that.
< >
Viser 1-4 af 4 kommentarer
Per side: 1530 50

Alle diskussioner > Bug Reports > Trådoplysninger