Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error2.. #171498
12/06/07 18:19
12/06/07 18:19
Joined: Dec 2007
Posts: 4
J
jaa Offline OP
Guest
jaa  Offline OP
Guest
J

Joined: Dec 2007
Posts: 4
This is what i'm doing..open a new level in wed..add a large hollow cube..and add a small cube in that hollow cube..add one light above the small cube and add a position(camera) somewhere in hollow cube..save it as "test" at new folder at desktop.then go to map properties and add a new script.this is what i write in the script :-

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

////////////////////////////////////////////////////////////////////////////////////

function main()
{
video_mode = 7;
level_load ("test.wmb");
}

then i build a map..when i run it came error..this script i copied from workshop08 and just change wmb files name..so, can someone please tell me why this happen or i make a teribble mistake in that step.cannot find the problem even i've read all the workshop and some AUM siries..

Re: Error2.. [Re: jaa] #171499
12/06/07 19:48
12/06/07 19:48
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
can you give the exact error message?

Re: Error2.. [Re: Shadow969] #171500
12/07/07 00:02
12/07/07 00:02
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi Jaa!

Is the name of the file test.c or test.wdl?

Ottawa

Re: Error2.. [Re: Ottawa] #171501
12/07/07 07:20
12/07/07 07:20
Joined: Dec 2007
Posts: 4
J
jaa Offline OP
Guest
jaa  Offline OP
Guest
J

Joined: Dec 2007
Posts: 4
the error on window say:-

compiling test.wdl - esc to abort...
<video_mode = 7>
test.wdl 9.0(): read only video_mode

Script error
Engine shutdown
Startup failure-anykey to abort

...
the name of the file is test.wdl..

please help me..
i'm very appreciate to all..

Re: Error2.. [Re: jaa] #171502
12/07/07 08:55
12/07/07 08:55
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
Rename it to "test.c" and it should work

Re: Error2.. [Re: Lukas] #171503
12/08/07 11:08
12/08/07 11:08
Joined: Dec 2007
Posts: 4
J
jaa Offline OP
Guest
jaa  Offline OP
Guest
J

Joined: Dec 2007
Posts: 4
thank for all..it realy work when i named it test.c..
thank again..


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

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