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), 718 guests, and 4 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
Sky Cube Cscript Tutorial New (Workshop 13 ) #98937
11/16/06 16:55
11/16/06 16:55
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
I can't properly compile this level. When I do, I receive the following message:

"This map requires one or more textures that can't be found. Replace with default textures?"

If I select "Yes", my sky is filled with stone tiles.
When I attempt to make the sky brighter or darker by pressing 1 or 2 the following error message pops up:

Malfunction W1501
Empty pointer in bright_lights: sky_cube_level.blue+=10

There seems to be something missing in this workshop level.
could somebody please help me?

Here's the example code for the workshop 13 level
////////////////////////////////////////////////////////////////////

var video_mode = 7; // 800x600 pixels

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

function bright_lights()
{
sky_cube_level.blue += 10;
sky_cube_level.green += 10;
sky_cube_level.red += 10;
}

function dim_lights()
{
sky_cube_level.blue -= 10;
sky_cube_level.green -= 10;
sky_cube_level.red -= 10;
}

function main()
{
on_1 = bright_lights;
on_2 = dim_lights;

level_load ("work13.wmb");
while (1)
{
if (key_w == ON)
{
camera.tilt += 1;
}
if (key_s == ON)
{
camera.tilt -= 1;
}
if (key_a == ON)
{
camera.pan += 1;
}
if (key_d == ON)
{
camera.pan -= 1;
}
if (key_lastpressed == 19) // if [R] is pressed
{
camera.pan = 0;
camera.tilt = 0;
sky_cube_level.blue = 128; // medium brightness
sky_cube_level.green = 128;
sky_cube_level.red = 128;
}
wait (1);
}
}

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #98938
11/16/06 17:07
11/16/06 17:07
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
You're missed the standard.wad. Which version you're using?
I'm asking this because different version has different way
to add this wad file. Also make sure you already have this
file in your HDD.

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: vlau] #98939
11/16/06 17:55
11/16/06 17:55
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
I'm using version 6.40.5

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: vlau] #98940
11/16/06 18:02
11/16/06 18:02
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
It's looking for some texture called "sky_gorge", which isn't available in the standard wad file.

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: vlau] #98941
11/16/06 18:11
11/16/06 18:11
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
If I replace the "Sky_gorge" texture with "Skywhite" texture from the standard wad file, I still get the pointer error message below:

Malfunction W1501
Empty pointer in bright_lights: sky_cube_level.blue+=10

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #98942
11/16/06 19:35
11/16/06 19:35
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Well, when I load work13.wmp in WED, I got this texture
in the standard.wad. Maybe download the workshop files
and reload this level again.

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: vlau] #98943
11/17/06 17:26
11/17/06 17:26
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
No, still doesn't work. Same problems.

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #98944
11/17/06 17:41
11/17/06 17:41
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
I try to reproduce your problem, delete the standard.wad
apply brick texture, save, compile and run, same error as
you did pressing key 1, then I add back the standard.wad,
the "Sky_gorge" texture appeared again.

Probably the problem is your standard.wad, try to update
to 6.40.5 once again, before doing that, save the old
standard.wad to another place and delete it.

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: vlau] #98945
11/23/06 16:47
11/23/06 16:47
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
Sorry, same failure.
I downloaded and installed the trial version 6.40, from which I copied standard.wad to my wad directory. (Running the update to 6.40.5 again over an existing installation of 6.40.5 doesn't seem to update standard.wad.)

Are you sure you were using the new c-script tutorial for version 6.40?

Re: Sky Cube Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #98946
11/23/06 17:10
11/23/06 17:10
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Quote:


Are you sure you were using the new c-script tutorial for version 6.40?





This is not the question about old or new version of the tutorial.

It's so strange that I don't have this problem as I can run the level
with my standard.wad smoothly.

The last try (I don't hope so) is make a new directory say C:\..\GStudio65,
copy all the files from the GStudio64 to that directory, then update
it with the public beta A6.50.2 and try again.

As usual, to make sure you've update the newest "standard.wad", delete the
old one before proceeding. If the problem still exists, you should ask Conitec.

Page 1 of 2 1 2

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