HammerAddons icon indicating copy to clipboard operation
HammerAddons copied to clipboard

[TF2] Propcombine fails to combine

Open kamuixmod opened this issue 3 years ago • 7 comments

Due to lack of documentation, it could be probable that the Issue might be due to wrongful setup of comp_propcombine_set.

Following Error is output when trying to combine a multiple of props with the same model:

[INFO] mdl_compiler.enter(): Found 0 existing models/maps/first_room30halfmethod_smallersize_backup/propcombine/* [WARNING] propcombine.group_props_ent(): Unused comp_propcombine_set at -2731 -3168.97 888.021 [INFO] propcombine.combine(): Combined 531 props into 531 groups (0 this compile): | - 0 grouped models | - 0 ineligible | - 531 failed to combine |___ first_room30halfmethod_smallersize_backup.log Untitled

Untitled

kamuixmod avatar Aug 25 '22 03:08 kamuixmod

That looks wrong, yeah. What you need to do is change the mins/maxes to surround the props you want to combine together. It'd be easier though to use comp_propcombine_volume, so you can just use a brush, or enable the auto combine range option so it's automatic. The model filter isn't required also, that's there in case you want the set to apply to only some models.

TeamSpen210 avatar Aug 25 '22 04:08 TeamSpen210

Yeah would've loved to but it does not seem to be an option for some reason Untitled

kamuixmod avatar Aug 25 '22 05:08 kamuixmod

It's a brush entity.

TeamSpen210 avatar Aug 25 '22 05:08 TeamSpen210

Alright, tried it with the method you mentioned above Untitled

i am getting this error message however Untitled

kamuixmod avatar Aug 25 '22 05:08 kamuixmod

The issue there is actually from studiomdl, check the log file to see the full error. Since your box is pretty big, it might have hit a vertex limit or something - you want to do smaller sections. Also, use tools/toolspropcombine, it's designed to not produce collisions or the like.

TeamSpen210 avatar Aug 25 '22 07:08 TeamSpen210

Yeah i think the main issue could've been that i didn't use the toolspropcombine texture, though what's the best method of checking visually if it properly combined those props?

kamuixmod avatar Aug 25 '22 16:08 kamuixmod

Turn on r_colorstaticprops, and each prop will be tinted a different colour. You could also browse models/maps/yourmapname/propcombine/ and inspect the results.

TeamSpen210 avatar Aug 25 '22 22:08 TeamSpen210

This seems to be resolved.

TeamSpen210 avatar Dec 25 '22 06:12 TeamSpen210