Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 509 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
create and compile wmp-files at runtime? #330959
07/01/10 09:10
07/01/10 09:10

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



Is ist possible (maybe just with the pro license) to compile a wmp-file to a wmb and load it at runtime?

I like the smooth lighting of block levels but want to create them at runtime (like with models) by script.
So it would be usefull to create a wmp at runtine (in ASCII mode), compile and load it...

Re: create and compile wmp-files at runtime? [Re: ] #330965
07/01/10 10:02
07/01/10 10:02
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I donīt know the command lines, but you can do it with command lines i think. you just have to use the wwmp2wmb.exe.
Maybe JCL will tell you the command lines.
And after the level is compiled, you can load it via level_load.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: create and compile wmp-files at runtime? [Re: alibaba] #330967
07/01/10 10:07
07/01/10 10:07
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
This is theoretically possible. GED works this way. You can either use a WED command line, or call wwmp2wmb.exe directly. The wwmp2wmb command line options are not dicumented, but you can see them when you compile a map with Log option enabled.

Re: create and compile wmp-files at runtime? [Re: jcl] #330976
07/01/10 11:51
07/01/10 11:51
Joined: Apr 2005
Posts: 4,506
Germany
F
fogman Offline
Expert
fogman  Offline
Expert
F

Joined: Apr 2005
Posts: 4,506
Germany
This leads automatically to another question:
Are we allowed to distribute the wmb-compiler with our products, without the need to include "WEDS" ?


no science involved
Re: create and compile wmp-files at runtime? [Re: fogman] #330982
07/01/10 12:41
07/01/10 12:41

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



With the pro version the Level editor is "distributable" (but what's part of the level editor?)

Re: create and compile wmp-files at runtime? [Re: ] #330987
07/01/10 13:26
07/01/10 13:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Yes, the distribution right of the Pro edition includes the map compiler.

Re: create and compile wmp-files at runtime? [Re: jcl] #330994
07/01/10 14:06
07/01/10 14:06

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



"Yes, the distribution right of the Pro edition includes the map compiler."

...see next post...

Last edited by mercuryus; 07/02/10 07:00.
Re: create and compile wmp-files at runtime? [Re: ] #331124
07/02/10 06:28
07/02/10 06:28

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



What paramter disables the final dialog?
I tried -quiet but the dialog still appears.




...and it looks like I need to know how to create the $$w file! (any documents?)

Re: create and compile wmp-files at runtime? [Re: ] #331143
07/02/10 08:06
07/02/10 08:06
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
You're right - you need the $$w file, so you can't call the map compiler directly. You must use the WED command line then.

WED -w level.wmp

resp. WEDS when you use the distributable level editor.

I believe the dialog can't be switched off. Level compiling needs a lot of CPU resources - without dialog the user would not know why his PC is suddenly so slow.

Re: create and compile wmp-files at runtime? [Re: jcl] #331147
07/02/10 08:13
07/02/10 08:13

M
mercuryus OP
Unregistered
mercuryus OP
Unregistered
M



I believe the dialog can't be switched off. - PLEASE!!!!!
In fullscreen the player can't access dialogs and it looks not pro if such a dialog pops up ingame.

Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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