zonetool icon indicating copy to clipboard operation
zonetool copied to clipboard

Adjust IW4 xmodel bones for shield hits

Open Muhlex opened this issue 2 years ago • 2 comments

Credit to @K0bin, who helped me scriptkiddie my way through C++.

This might suck but what it does is modify xmodels that when they are built into a fastfile for IW4, bones are mapped to the correct hit locations for riot shield hits.

Thanks to @Laupetin!

Discord Log

Muhlex avatar Oct 18 '21 21:10 Muhlex

You put the code in the write code. I don't think this would be the correct place to apply this logic in. write stage is purely meant for writing data to the fastfile.

RektInator avatar Oct 19 '21 14:10 RektInator

You put the code in the write code. I don't think this would be the correct place to apply this logic in. write stage is purely meant for writing data to the fastfile.

I see what you mean, and just simply doing this there without telling the user is a shady side-effect imo. But I'm not sure where else to do it. Were I to do it on the export from a IW3 zone, that would mean the model might break when recompiled to IW3 I guess? Because only IW4 (probably IW5 uses the same bones but I don't know about that) needs this fix for models exported via CoD4 asset manager.

Or are you simply talking about where I put it in the code, and not in which stage it happens logically? In that case, I can check the repo in more detail if I ever have the time/skills to actually contribute.

Muhlex avatar Oct 25 '21 08:10 Muhlex