KatsBits Community

Game Editing => Q3Map / Q3Map2 Compile Errors => Topic started by: kat on June 26, 2015, 01:10:08 AM

Title: MAX_SUBMODELS exceeded
Post by: kat on June 26, 2015, 01:10:08 AM
Problem
I got this message while i was loading up my map "MAX_SUBMODELS exceeded" can u help me plz! [darkalan]

Solution
Believe it or not, the error is more related to entities, not models. Correct me if I'm wrong, but I think you're limited to 255 brush entities. If you exceed that amount, you'll get the 'MAX_SUBMODLES exceeded' error. Keep in mind that you can make ONE brush entity out of SEVERAL brushes, and it only counts as one. [Grand Nagus]



[Addendum] The Q3Map and Q3Map2 compilers considers both models AND those made from brush-based Entities as valid game entities so the "Max_Submodels Exceeded" error can occur when the total entity count (allowance) is exceeded; although it's more likely to occur when using brush-based entities because they are much easier to construct, use and proliferate around a level. Where possible combine brush-based entities together per location, e.g. group a series of "func_static" entities together if they're in the same room. Or join models together for re-export as a larger entity (http://www.katsbits.com/tutorials/blender/map-extras.php#detailsmodels), e.g. a set of lamp models belonging to a single room could be joined, reducing the number of entities whilst controlling the models visibility (only visible when the player in that given room/area). [kat]

(https://www.katsbits.com/images/tutorials/blender-make-maps-levels/map-optimise-models-group-editor_sml.jpg) (http://www.katsbits.com/tutorials/blender/map-extras.php#detailsmodels)