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
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,655 guests, and 7 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
level_load doesn´t work #287207
08/30/09 17:16
08/30/09 17:16
Joined: Nov 2008
Posts: 15
Germany
R
rrv094055036862 Offline OP
Warez kiddie
rrv094055036862  Offline OP
Warez kiddie
R

Joined: Nov 2008
Posts: 15
Germany
Hey,

I have a problem, I only need an compiled .exe who only starts a level.

#include <acknex.h>
#include <default.c>
level_load("..\..\Maps\Castel Island\Map\Level.wmp");
wait(1);

Can I load this map when it is on other folder (even 2 folders back)

The quitter.txt says following:

< level_load("..>
TESTSCRIPT.WDL 3:0 (): Keyword unknown level_load

< wait(1);>
TESTSCRIPT.WDL 4:0 (): Keyword unknown wait


What could be wrong?

Re: level_load doesn´t work [Re: rrv094055036862] #287212
08/30/09 17:31
08/30/09 17:31
Joined: Aug 2005
Posts: 238
Caermundh Offline
Member
Caermundh  Offline
Member

Joined: Aug 2005
Posts: 238
I think you have to define a path to load a level from another folder like you want to do. Try this:

#define PRAGMA_PATH "<path to directory>"
#include <acknex.h>
#include <default.c>
level_load("..\..\Maps\Castel Island\Map\Level.wmp");
wait(1);

Re: level_load doesn´t work [Re: rrv094055036862] #287213
08/30/09 17:32
08/30/09 17:32
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
because you must put the load in tghe main wink and you must load the compiled wmb

#include <acknex.h>
#include <default.c>

function main()
{
level_load("level.wmb");
}

Re: level_load doesn´t work [Re: Rei_Ayanami] #287397
08/31/09 19:54
08/31/09 19:54
Joined: Nov 2008
Posts: 15
Germany
R
rrv094055036862 Offline OP
Warez kiddie
rrv094055036862  Offline OP
Warez kiddie
R

Joined: Nov 2008
Posts: 15
Germany
ummm I only have a .wmp date of the map

This is the code by now:
#include <acknex.h>
#include <default.c>
function_main()
{
level_load("Level.wmp");
wait(1);
}

I have put all level files into one folder and when I start the .exe I get following Error Message:

__________________________________________________________________

Compiling testscript.WDL - [Esc] to abort....
< function_main() {>
testscript.wdl 4:0 ():Parameter unknown function_main bad keyword in {}

Can´t run testscript.wdl
__________________________________________________________________

Something wrong at level_load???

Re: level_load doesn´t work [Re: rrv094055036862] #287402
08/31/09 20:10
08/31/09 20:10
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
du musst due "level.wmP" in WED auf machen und dann erstmal "Builden". Im script lädst du dann die "level.wmB"


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: level_load doesn´t work [Re: Michael_Schwarz] #287424
08/31/09 21:04
08/31/09 21:04
Joined: Aug 2005
Posts: 1,230
M
MichaelGale Offline
Serious User
MichaelGale  Offline
Serious User
M

Joined: Aug 2005
Posts: 1,230
Also, it should be "function main()" not "function_main()".


Your friendly mod is at your service.
Re: level_load doesn´t work [Re: MichaelGale] #287454
08/31/09 23:21
08/31/09 23:21
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Also, you should increase the "wait" value, to be sure that it'll work fine with other PCs.

Re: level_load doesn´t work [Re: Cowabanga] #287628
09/01/09 18:20
09/01/09 18:20
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline
Senior Member
sadsack  Offline
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
I didn't know you could load a level in lite C.


I have A7 Commercial .............. Now I just need to learn how to use it

Re: level_load doesn´t work [Re: sadsack] #287636
09/01/09 18:47
09/01/09 18:47
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
I hope that is a joke.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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