Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,227 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 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 | 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