Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Create Blocks via Script ? #130016
05/15/07 12:35
05/15/07 12:35
Joined: Mar 2007
Posts: 112
MikeS Offline OP
Member
MikeS  Offline OP
Member

Joined: Mar 2007
Posts: 112
Is it possible to create blocks via script?

I wanna create a level which is based on blocks in a size of 100 * 100 blocks.
I want this level to be createt randomly through a sript.
I did it with map entities, and it worked. But now my question is , is it possible
to do the same with blocks, maybe there is a command simmilar to ent_create?

Thx

Re: Create Blocks via Script ? [Re: MikeS] #130017
05/15/07 12:48
05/15/07 12:48
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Not at runtime with engine functions. But you could use the WMPIO.dll to create a WMP. If you own pro, you could use the distributable leveleditor to compile these WMP's. Though, this is a very complicated solution: why don't you stay on MDL's and WMB's created at runtime?

Re: Create Blocks via Script ? [Re: HeelX] #130018
05/15/07 12:53
05/15/07 12:53
Joined: Mar 2007
Posts: 112
MikeS Offline OP
Member
MikeS  Offline OP
Member

Joined: Mar 2007
Posts: 112
Cause with a size 0f 100*100 after 10 lines with 100 entities i reach the limit of 1000 ents :-(

Re: Create Blocks via Script ? [Re: MikeS] #130019
05/15/07 14:01
05/15/07 14:01
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
Take a look at "max_entities" and increase it (or increase the nexus in the map properties).


no science involved

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