Milkshape compile crashes, is there a model complexity limit? Created 5 years ago2018-06-17 15:12:57 UTC by snark567 snark567

Created 5 years ago2018-06-17 15:12:57 UTC by snark567 snark567

Posted 5 years ago2018-06-17 15:12:57 UTC Post #339930
I have a Hgrunt model with 29 head variations (bodygroups), it works perfectly, as soon as I try to add one more head model and try to compile it, Milkshape crashes. It's not an issue with the head model itself because as long as there are 29 head bodygroups referenced in the Hgrunt.qc the model compiles.

Is this a Milkshape issue or does the HL model format have a limit on vertexes or something? If so, I would like to know what the limit is so that I can be more careful in the future.
Posted 5 years ago2018-06-17 15:25:37 UTC Post #339931
There's a limit of 32 bodygroups, but both bodies and bodygroups count for it. HGrunts have multiple (heads, weapons, etc) so the total is probably exceeding that limit.
I don't think it's a hard limit, so you could use a modified compiler to increase the limit, but i'm not 100% sure about that.
Posted 5 years ago2018-06-17 15:41:07 UTC Post #339933
Makes sense, the 29 heads plus the 2 weapons and one torso that I made into a bodygroup definitely adds up to 32. I'll search around for other compilers to see if I can bypass this, if not I'll just be more careful next time. Thanks!

Edit: In case someone finds this thread searching for a solution, Xash has a compiler that bypasses the limit, just tested it and it works fine.
You must be logged in to post a response.