max # of entities in a quake 3 map?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
themuffinman
Posts: 384
Joined: Fri Mar 05, 2010 5:29 pm

Re: max # of entities in a quake 3 map?

Post by themuffinman »

Eraser wrote:

Code: Select all

void SP_info_null( gentity_t *self ) {
	G_FreeEntity( self );
}
I doubt info_null counts towards that limit?
You speak the truth. I wasn't aware of that.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: max # of entities in a quake 3 map?

Post by ^misantropia^ »

dghost77 wrote:I'll have to leave more room for entities then, so I guess that all shots being fired in a map count as an entity? Even the machine gun shots?
No. Hitscan weapons use a different system. Only rockets and bolts (RL, GL, PG, BFG) take up entity slots.
dghost77
Posts: 174
Joined: Tue Aug 23, 2011 8:28 pm

Re: max # of entities in a quake 3 map?

Post by dghost77 »

ah ok, thx for the precision.
[b]DG[color=#0040FF]host[/color][/b]
[url]http://www.dghost.com[/url]
neoplan
Posts: 125
Joined: Thu Jun 05, 2008 9:47 pm

Re: max # of entities in a quake 3 map?

Post by neoplan »

Isn't there this 256 func_door limit too?
MrLego
Posts: 67
Joined: Tue Jul 21, 2009 11:00 pm

Re: max # of entities in a quake 3 map?

Post by MrLego »

I believe that dead bodies and gibs count as well - part of that goes toward the allocation of 64 for players - unless you had 64 players and then it would roll over into the remainder of the 1024 entities.
[color=#4040FF][b]www.mrlego.com[/b][/color]
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: max # of entities in a quake 3 map?

Post by Eraser »

MrLego wrote:I believe that dead bodies and gibs count as well - part of that goes toward the allocation of 64 for players - unless you had 64 players and then it would roll over into the remainder of the 1024 entities.
I'm not sure about dead bodies, but gibs certainly don't. They're client side things. The server doesn't even know there is such a thing as a gib.
MrLego
Posts: 67
Joined: Tue Jul 21, 2009 11:00 pm

Re: max # of entities in a quake 3 map?

Post by MrLego »

The server doesn't care about gibs or bodies but they still apply towards the entity count on the client side.

Once you hit the limit things start to randomly blink in and out or just disappear completely.

I have seen this more times on RTCW and Enemy Territory maps where there are more scripted events happening - Quake 3 maps are more run & gun and usually don't contain all of the extra eye-candy gamemodels.
[color=#4040FF][b]www.mrlego.com[/b][/color]
User avatar
Eraser
Posts: 19177
Joined: Fri Dec 01, 2000 8:00 am

Re: max # of entities in a quake 3 map?

Post by Eraser »

MrLego wrote:The server doesn't care about gibs or bodies but they still apply towards the entity count on the client side.
Yeah but this is not directly related to the number of entities in maps. The client will only hold a list of entities that are of relevance to the client, so if there's 1000 entities elsewhere in the map, those won't be present on the client and won't work towards the client's entity limit.
Post Reply