ZeqMacaw / Crowbar

Crowbar - GoldSource and Source Engine Modding Tool
https://steamcommunity.com/groups/CrowbarTool
Other
654 stars 65 forks source link

Compiling messes up weights on bullets #64

Closed DRAG4YOU closed 7 months ago

DRAG4YOU commented 10 months ago

I been trying to fix the reload animation of the Short Stop LODs and i seem to to have an issue with your compiler, this issue only appears on LOD1 bullets and bullet casings when you reload:

SJqTB4X

This bug only seems to appear on LOD1 but its odd that even I when export the model and import the new models on blender the weights seem to be fine but once i compile the bug appears.

This is how the bullets and casings weights look on blender before compiling:

Bullets and Bullet Casings before compiling and importing them back just to check that they are correct: screen1 screen2

And this is how they look once i compile and decompile them, then import them on blender: screen3 screen4

The odd thing is that LOD0, LOD2 and LOD3 seem to be working fine but only LOD1 seems to have this issue.

I changed the bullets and bullets casing of LOD1 to LOD0 and this issue disappears but if i modify the polygonal number of the bullets and bullets casing of LOD0 to be the same as the ones from LOD1 the issue comes back.

The compiler seems to add weights on both vm_weapon_bone_1 and vm_weapon_bone_2 of both bullets and bullets casings of LOD1 for some reason. Can you please fix this? because i dont know what to do.

Also, here's my blender file and decompile file: Short Stop Fix WIP.zip

Just compile it and decompile it and you'll see what's going on.

ZeqMacaw commented 7 months ago

Based on your wording, this is a model compiler issue, not a Crowbar issue. Crowbar does not do any model compiling, but calls a game's model compiler.