zonetool
zonetool copied to clipboard
Adjust IW4 xmodel bones for shield hits
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!
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.
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.