Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Chat › changing max entities.. is this real???
10 posts, 6 people · 4,607 views Thread Rating: ★★★★★
closedchanging max entities.. is this real???
Started by diamond-optic on 04-23-2007, 11:39 AM
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
04-23-2007, 11:39 AM #1

from THIS thread on the amxx forumsnn

Alrighty, I have added a "-num_edicts <x>" command line option to the HL1 engine. Run the game with "-num_edicts 2048" to get more entities into a level. The maximum possible value depends on your specific mod code and memory constraints so feel free to play around with various values, just don't drop below 900. ... .n
H Hell Phoenix
posted here
Posts: 201
Threads: 17
Joined: Jan 2005
04-23-2007, 11:41 AM #2

Holy sweetness....Try it and find out! hehe.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
04-23-2007, 11:49 AM #3

i dont really think its doing anything.. i tried setting it to 10. which shouldnt even let the server boot up right? and it didnt seem to do anything.. everything seems to work exactly the same..nnncant seem to find anything on google about it at all either..

M MBosta
posted here
Posts: 208
Threads: 30
Joined: Sep 2006
04-23-2007, 12:29 PM #4

it says not to drop it below 900, maybe thats why nothing changed?

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
04-23-2007, 01:08 PM #5

Forget a low end....download Pallets w/bags and remove the limit built in and just keep on adding them and see if it crashes!rnrnIf this is true man....holy hell the possibilities!

{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
04-23-2007, 02:04 PM #6

Would this help game play? Or would it lag more?

O orbit
posted here
Posts: 39
Threads: 2
Joined: Jan 2005
04-23-2007, 10:28 PM #7

I tried this on a map I've been working on, but it doesn't seem to help. Here is the error:nnL 04/23/2007 - 18:23:17: FATAL ERROR (shutting down): Host_Error: PF_precache_model_I: Model 'models/p_webley.mdl' failed to precache because the item count is over the 512 limit.nReduce the number of brush models and/or regular models in the map to correct this.nnHere is my command line:nnhlds_run -port 27015 -game dod +maxplayers 20 +map dod_warpath -restart +exec server.cfg -zone 4096 +ip 192.168.1.20 -autoupdate -num_edicts 2047nnAnyone have any luck with this or is my issue something different?nnThanks,nn-O-

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
04-24-2007, 02:04 AM #8

The precache limit is something totally different than the entity limit.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
04-24-2007, 11:12 AM #9

probably need to make a plugin to test this..nni believe theres a native that returns how many total entites there are (maybe it was a stock... cant remember.. i used to have it but i just checked the plugin and i guess i overwrote the code with some other plugin by mistake lol).. so maybe use that and make something that will easily create entites.. and see how high you can go with and without using the cmd line argumentnn*edit*nnok maybe this from fakemeta: engfunc(EngFunc_NumberOfEntities)

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
04-24-2007, 11:21 AM #10

also incase your not watching the thread on the amxx forums:nn

Just tried setting it to 1.nIt seems to reset to the safety limit so in CS's case is MAXPLAYERS * 15 + 900
Archive › Old Forum Threads › General › Chat › changing max entities.. is this real???
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC