MAX_MAP_ENTITIES...


(demoneye) #1

Ydnar…

My map has just crashed from a compile with a MAX_MAP_ENTITIES error, using 2.3.29 of Q3MAP2, compiling a map for RtCW.

Is this a compiler limit, or game engine limit?

I stripped out some lighjuniors and map now compiles OK, but will I keep coming up against this problem as I add more lights, let alone “standard” entities (target_speakers etc.)

DeMoNeye


(system) #2

How many Entiies are in your map??
I think 1024 for MP an 2048 for SP-Editing are the max.
But maybe I’m wrong.


(demoneye) #3

How can I count entities? It’s a MP map.

If I use the console command “/entitycount”, it reports 478. If I load the map into Radiant, it reports 2220 entities?

DeMoNeye


(demoneye) #4

How can I count entities? It’s a MP map.

If I use the console command “/entitycount”, it reports 478. If I load the map into Radiant, it reports 2220 entities?

DeMoNeye


(SCDS_reyalP) #5

There is a compile time limit (2048 if I remember right) and runtime limit (1024 ?) Many entities only impact the compile time count, e.g. fung_groups, info_nulls etc. Of the ones that impact the runtime count (script_movers, func_explosives etc) you should keep the number in the map quite a bit below the limit, because the game creates some entities at runtime.

Radiant displays a count of entities in the console or status bar at various times. It doesn’t know which ones are compiletime or runtime though.


(SCDS_reyalP) #6

edit: oops sorry for the double post.