AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved Maximum number of added entities? (https://forums.alliedmods.net/showthread.php?t=327178)

felhasznalo 09-04-2020 15:09

Maximum number of added entities?
 
What is the maximum number of entities with different models that can be added to a game?
What is the maximum number of entities with the same model that can be added to a game?

Does the selected model/sprite even matter in this context?

Shadows Adi 09-04-2020 18:18

Re: Maximum number of added entities?
 
Quote:

Originally Posted by felhasznalo (Post 2716655)
What is the maximum number of entities with the same model that can be added to a game?

Does the selected model/sprite even matter in this context?

1. 512
2. 512
3. Only models count in models precache. Sprites, sounds have a separated allocated space for precache.

fysiks 09-04-2020 23:09

Re: Maximum number of added entities?
 
You have to also take into account how many models are required by the map so the number of models that can be loaded by plugins is: 512 minus the number of models on the map.

Shadows Adi 09-05-2020 05:50

Re: Maximum number of added entities?
 
Yes, as fysiks said. If you are using rehlds, you can check amount of resources that are in precache slots using rescount.
And reslist <sound | model | decal | generic | event> Displays detailed information on each resource that are precached.

HamletEagle 09-05-2020 11:49

Re: Maximum number of added entities?
 
Quote:

Originally Posted by Shadows Adi (Post 2716730)
Yes, as fysiks said. If you are using rehlds, you can check amount of resources that are in precache slots using rescount.
And reslist <sound | model | decal | generic | event> Displays detailed information on each resource that are precached.

To expand on this:
If you use HLDS you can try plugins like "Precache Manager". Basically, anything that uses orpheu to count will work fine. Plugins using fakemeta will not.

felhasznalo 09-06-2020 02:16

Re: Maximum number of added entities?
 
Quote:

Originally Posted by fysiks (Post 2716710)
You have to also take into account how many models are required by the map so the number of models that can be loaded by plugins is: 512 minus the number of models on the map.

Do I also have to subtract the number of entities used by the map?

Shadows Adi 09-06-2020 06:23

Re: Maximum number of added entities?
 
Quote:

Originally Posted by felhasznalo (Post 2716855)
Do I also have to subtract the number of entities used by the map?

Yes


All times are GMT -4. The time now is 13:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.