Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, Grant, AndrewAMD), 3,498 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 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 | 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