I know that the current limit is about 1024 entities.
What i'd like to know is, how much entities could a mod (entity+) handle?
Would it be possible to bump it up to 4096 or even 8192?
Quake3 Engine Entity Limit
-
- Posts: 384
- Joined: Fri Mar 05, 2010 5:29 pm
Re: Quake3 Engine Entity Limit
The limit is used both in the engine and the game logic:
With 1<<GENTITYNUM_BITS being equal to 2^10 = 1024. You'd have to make both a customized engine build along with its own game mod. So no, Ent+ wouldn't be able to do that.../qcommon/q_shared.h wrote: #define GENTITYNUM_BITS 10
#define MAX_GENTITIES (1<<GENTITYNUM_BITS)
Re: Quake3 Engine Entity Limit
Maybe I am a shmuck, but why did Carmack use bitwise ops there? Why not just #define MAX_GENTITIES 1024?
-
- Posts: 384
- Joined: Fri Mar 05, 2010 5:29 pm
Re: Quake3 Engine Entity Limit
Because GENTITYNUM_BITS is also used...
https://github.com/ioquake/ioq3/blob/ma ... mmon/msg.c
https://github.com/ioquake/ioq3/blob/ma ... mmon/msg.c
Re: Quake3 Engine Entity Limit
Alright, I'm a shmuck. Thanks