Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to implent "max_entities" #138350
06/27/07 06:30
06/27/07 06:30
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
hi
i have over 1000 models in my level (trees ect. ) and the engine comes up with the error "Error E1340: Not enough entities reserved". so I want to implent the max_entities code. but in the manual it doesn't say how and where i have to put this code :

max_entities = 1000; // erlaube bis zu 1000 Entities unabhängig vom Nexus.
level_load("test.wmb");
wait(1);

could somebody say me where and how i have to put this code in my scripts.
thanx
sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: how to implent "max_entities" [Re: Sam_Be] #138351
06/27/07 07:38
06/27/07 07:38
Joined: Apr 2005
Posts: 3,076
Germany, NRW
rvL_eXile Offline

3D Artist
rvL_eXile  Offline

3D Artist

Joined: Apr 2005
Posts: 3,076
Germany, NRW
Put the line in ure Main Function...

cYa Sebastian


Tutorials:
[Blender]Terrain creation ENG/GER
[Blender]Low Poly Tree Modeling
[GIMP]Create a Texture for Terrains
CLICK HERE


Re: how to implent "max_entities" [Re: rvL_eXile] #138352
06/27/07 17:10
06/27/07 17:10
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
ok, but in which script?? the main script??
thx
sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: how to implent "max_entities" [Re: Sam_Be] #138353
06/27/07 17:18
06/27/07 17:18
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Into the function which loads the level.
Just as in the example put the line:
max_entities = your_number_here;
before your level_load instruction, wether its in the main function or somewhere else does not matter.

edit:
by the way:
I assume that you only have one main function which I assume is in the main script. So where is the sense in asking?

Last edited by Xarthor; 06/27/07 17:20.
Re: how to implent "max_entities" [Re: Xarthor] #138354
06/27/07 18:12
06/27/07 18:12
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
or change this value in display00.wdl - if included


Never say never.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1