Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,203 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Build levels via command line #46695
05/26/05 07:33
05/26/05 07:33
Joined: May 2005
Posts: 17
Z
Zothen Offline OP
Newbie
Zothen  Offline OP
Newbie
Z

Joined: May 2005
Posts: 17
Hello!

I would like to create randomized levels in my game, but unfortunetely I havent found a way to build them during runtime yet. I tried to use wwmp2wmb, but unfortunetely it pops up a dialog-box and waits for confimation after the create process.

Any ideas?

Re: Build levels via command line [Re: Zothen] #46696
05/26/05 20:27
05/26/05 20:27
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
This shouldn't be a problem...you should already be able to program ent_create and ent_removes on the fly.
More information about your issues is needed.

Re: Build levels via command line [Re: fastlane69] #46697
05/27/05 06:09
05/27/05 06:09
Joined: May 2005
Posts: 17
Z
Zothen Offline OP
Newbie
Zothen  Offline OP
Newbie
Z

Joined: May 2005
Posts: 17
Hi Fastlane!

Thanks for your answer.

What I need to do is to create labyrinth-like geometry during runtime. For that, I want to use 3D-segments like rooms, stairs, corridors and so on. The important thing is that these segments arent entities, but geometry.

My idea was to use a DLL to create random WMP files and convert them to WMB with wwmp2wmb.exe, but like I said, its useless as long as theres always a confirmation dialog popping up.

Re: Build levels via command line [Re: Zothen] #46698
05/27/05 06:38
05/27/05 06:38
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline
Senior Expert
fastlane69  Offline
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Without entities, good luck on you DLL...maybe there is some other way to convert or import...

Re: Build levels via command line [Re: fastlane69] #46699
05/27/05 08:32
05/27/05 08:32
Joined: May 2005
Posts: 17
Z
Zothen Offline OP
Newbie
Zothen  Offline OP
Newbie
Z

Joined: May 2005
Posts: 17
Entities are going to be added too, randomly, but the problem is the geometry. Don't you got any ideas on how to randomize geometry? I am completely lost in this matter.

Re: Build levels via command line [Re: Zothen] #46700
05/31/05 01:19
05/31/05 01:19
Joined: Oct 2003
Posts: 174
Lima - Peru
E
ex Offline
Member
ex  Offline
Member
E

Joined: Oct 2003
Posts: 174
Lima - Peru
What insane and brilliant idea!!

creating wmp in a dll-> not so difficult because wmp are text files not binary

using free wed to compile this levels in runtime -> interesting... but possible?
Conitec says this free compiler only lets modify wmps of the project generated by the pro version, furthermore there the problem with the time that this takes (even in basic levels), and forget big levels... about the Dialog... it seems conitec must to add a "-silent" command line parameter.

But maybe they'll say Why don't create your maze of simple cube predef and load
with create_ent?

Re: Build levels via command line [Re: ex] #46701
05/31/05 07:17
05/31/05 07:17
Joined: May 2005
Posts: 17
Z
Zothen Offline OP
Newbie
Zothen  Offline OP
Newbie
Z

Joined: May 2005
Posts: 17
A "-silent" parameter would be great. The levels dont have to be that big, but it would be interesting to know how long the compiler needs to build a level, lets say, the size of a large quake map.

Can whole rooms be entities? Wouldnt it decrease performance dramatically to build a level out of entities?

Re: Build levels via command line [Re: Zothen] #46702
05/31/05 07:45
05/31/05 07:45
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
not at all, all my levels are created by models, no blocks get used in there.


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Build levels via command line [Re: Helghast] #46703
05/31/05 08:07
05/31/05 08:07
Joined: May 2005
Posts: 17
Z
Zothen Offline OP
Newbie
Zothen  Offline OP
Newbie
Z

Joined: May 2005
Posts: 17
Hi Dennis!

Can you give an example? What kind of levels do you use? What kind of game do you create?

Re: Build levels via command line [Re: Zothen] #46704
05/31/05 19:26
05/31/05 19:26
Joined: Sep 2003
Posts: 3,236
San Diego, CA
M
Marco_Grubert Offline
Expert
Marco_Grubert  Offline
Expert
M

Joined: Sep 2003
Posts: 3,236
San Diego, CA
You can get rid of the confirmation by appending "-close" to the wwmp2wmb command line.
The map compiler expects $$M files by the way, not WMPs. Just look at one of the $$M (or do a forum search) to figure out the format.

Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

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