create and compile wmp-files at runtime?
Posted By: Anonymous
create and compile wmp-files at runtime? - 07/01/10 09:10
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...
Posted By: alibaba
Re: create and compile wmp-files at runtime? - 07/01/10 10:02
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.
Posted By: jcl
Re: create and compile wmp-files at runtime? - 07/01/10 10:07
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.
Posted By: fogman
Re: create and compile wmp-files at runtime? - 07/01/10 11:51
This leads automatically to another question:
Are we allowed to distribute the wmb-compiler with our products, without the need to include "WEDS" ?
Posted By: Anonymous
Re: create and compile wmp-files at runtime? - 07/01/10 12:41
With the pro version the Level editor is "distributable" (but what's part of the level editor?)
Posted By: jcl
Re: create and compile wmp-files at runtime? - 07/01/10 13:26
Yes, the distribution right of the Pro edition includes the map compiler.
Posted By: Anonymous
Re: create and compile wmp-files at runtime? - 07/01/10 14:06
"Yes, the distribution right of the Pro edition includes the map compiler."
...see next post...
Posted By: Anonymous
Re: create and compile wmp-files at runtime? - 07/02/10 06:28
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?)
Posted By: jcl
Re: create and compile wmp-files at runtime? - 07/02/10 08:06
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.
Posted By: Anonymous
Re: create and compile wmp-files at runtime? - 07/02/10 08:13
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.
Posted By: jcl
Re: create and compile wmp-files at runtime? - 07/02/10 08:16
We'll add an option to switch off the dialog when the map compiler is revamped the next time. I've just seen that this option is already on our list - apparently another user has requested this already.
Posted By: Anonymous
Re: create and compile wmp-files at runtime? - 07/02/10 08:18
thanx!
Posted By: FBL
Re: create and compile wmp-files at runtime? - 07/03/10 08:00
Are the WEDS issues fixed by now?
Did anyone try to create a WEDS executable, run it and build a level with it?
I reported some issues a while ago, but haven't heard about it since then.