Raised This Month: $248 Target: $400
 62% 

Solved Maximum number of added entities?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
felhasznalo
AlliedModders Donor
Join Date: Aug 2015
Location: Hungary
Old 09-04-2020 , 15:09   Maximum number of added entities?
Reply With Quote #1

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?

Last edited by felhasznalo; 09-07-2020 at 09:09.
felhasznalo is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-04-2020 , 18:18   Re: Maximum number of added entities?
Reply With Quote #2

Quote:
Originally Posted by felhasznalo View Post
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.
__________________
Shadows Adi is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-04-2020 , 23:09   Re: Maximum number of added entities?
Reply With Quote #3

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.
__________________
fysiks is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-05-2020 , 05:50   Re: Maximum number of added entities?
Reply With Quote #4

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.
__________________

Last edited by Shadows Adi; 09-05-2020 at 09:47.
Shadows Adi is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-05-2020 , 11:49   Re: Maximum number of added entities?
Reply With Quote #5

Quote:
Originally Posted by Shadows Adi View Post
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.
__________________
HamletEagle is offline
felhasznalo
AlliedModders Donor
Join Date: Aug 2015
Location: Hungary
Old 09-06-2020 , 02:16   Re: Maximum number of added entities?
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
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?
felhasznalo is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 09-06-2020 , 06:23   Re: Maximum number of added entities?
Reply With Quote #7

Quote:
Originally Posted by felhasznalo View Post
Do I also have to subtract the number of entities used by the map?
Yes
__________________
Shadows Adi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:44.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode