GRUP STEAM
Blender Source Tools BleST
GRUP STEAM
Blender Source Tools BleST
278
ÎN JOC
1,630
ONLINE
Creat la
8 noiembrie 2013
Toate discuțiile > Bug Reports > Detaliile subiectului
[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.
Editat ultima dată de ZeqMacaw; 2 dec. 2017 la 9:15
< >
Se afișează 1-4 din 4 comentarii
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.
Editat ultima dată de ZeqMacaw; 2 dec. 2017 la 6:32
You need to set the up axis to Y before importing. It's fine then.
Oh, interesting. I've never needed to use that option before, so didn't think of that.
< >
Se afișează 1-4 din 4 comentarii
Per pagină: 1530 50

Toate discuțiile > Bug Reports > Detaliile subiectului