Raised This Month: $51 Target: $400
 12% 

Entities on map


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vliket
Junior Member
Join Date: Feb 2017
Old 02-23-2017 , 21:34   Entities on map
Reply With Quote #1

Greetings i have problem on server, iam using Blockmaker from Al3x and on some maps i can place lower amount blocks like :
c21_gurka = 200 blocks
de_dust = 600+ blocks
hns_proworld = 120 blocks

Is there any possible way to increase amount of those entities on some c21 maps to be able build more blocks? Thanks for help.
Vliket is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-23-2017 , 23:24   Re: Entities on map
Reply With Quote #2

I think the max number of entities is 2048 and that max is an immutable constant at runtime.
__________________
WildCard65 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 02-23-2017 , 23:48   Re: Entities on map
Reply With Quote #3

Quote:
Originally Posted by WildCard65 View Post
I think the max number of entities is 2048 and that max is an immutable constant at runtime.
That's partially correct. The max amount of edicts (and thus, networked entities) for all supported games is 2048. The full max amount of entities for supported games is 4096 or 8192 (Edit: or 16,384), depending on the game.

Last edited by psychonic; 02-24-2017 at 09:51.
psychonic is offline
Vliket
Junior Member
Join Date: Feb 2017
Old 02-24-2017 , 08:08   Re: Entities on map
Reply With Quote #4

Quote:
Originally Posted by psychonic View Post
That's partially correct. The max amount of edicts (and thus, networked entities) for all supported games is 2048. The full max amount of entities for supported games is 4096 or 8192, depending on the game.
Its from Counter strike 1.6, thanks for help guys but, how i can change number of entities?
There is like 500-1000 on Gurka and you said max is 2048 so how i can change the value of them, to be able build more blocks ?

Last edited by Vliket; 02-24-2017 at 08:08.
Vliket is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 02-24-2017 , 09:03   Re: Entities on map
Reply With Quote #5

Quote:
Originally Posted by Vliket View Post
Its from Counter strike 1.6, thanks for help guys but, how i can change number of entities?
There is like 500-1000 on Gurka and you said max is 2048 so how i can change the value of them, to be able build more blocks ?
CS1.6 as in gold source CS? That could potentially have a smaller max number of entities (or not, idk), not only that, but the max number of entities is a compile time constant number
__________________
WildCard65 is offline
Vliket
Junior Member
Join Date: Feb 2017
Old 02-24-2017 , 09:16   Re: Entities on map
Reply With Quote #6

Quote:
Originally Posted by WildCard65 View Post
CS1.6 as in gold source CS? That could potentially have a smaller max number of entities (or not, idk), not only that, but the max number of entities is a compile time constant number
So they cant be changed or increased on some maps?

Last edited by Vliket; 02-24-2017 at 09:27.
Vliket is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 02-24-2017 , 11:31   Re: Entities on map
Reply With Quote #7

It is hard coded limit in the engine. You can't change it with sm.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Vliket
Junior Member
Join Date: Feb 2017
Old 02-24-2017 , 11:58   Re: Entities on map
Reply With Quote #8

Oh thats bad okay then thanks for your help guys

Btw i have last ask, where i can check how much entities have each map ? Because i dont wanna add some maps that handle only 100 blocks or 200.

Last edited by Vliket; 02-24-2017 at 12:16.
Vliket is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-25-2017 , 01:10   Re: Entities on map
Reply With Quote #9

From memory, CS 1.6 has a max of 512 edicts.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-25-2017 , 05:19   Re: Entities on map
Reply With Quote #10

Quote:
Originally Posted by Powerlord View Post
From memory, CS 1.6 has a max of 512 edicts.
That's a maximum amount of precached models I think.

https://github.com/dreamstalker/rehl...mmon.cpp#L2432
This is how max_edicts is calculated. IIRC num_edicts is 900 by default.

EDIT:
Looks like the maximum amount of edicts is hardcoded 2048 (because 11 bits are used to transfer entity indexes over network), but nothing stops you from breaking that limit by setting big num_edicts. I'd consider that a bug.
__________________

Last edited by klippy; 02-25-2017 at 07:08.
klippy is offline
Reply



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 03:59.


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