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), 1,248 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Sky Cube: Cscript Tutorial New (Workshop 13 ) #99986
11/26/06 10:57
11/26/06 10:57
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 tutorial 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] #99987
11/27/06 10:21
11/27/06 10:21
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
This tutorial requires version 6.40 or above.

What is the size and date of your standard.wad file? It could be from an old version and does not contain the required sky_gorge texture.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: jcl] #99988
11/27/06 14:14
11/27/06 14:14
Joined: Aug 2005
Posts: 1,558
HK
V
vlau Offline
Serious User
vlau  Offline
Serious User
V

Joined: Aug 2005
Posts: 1,558
HK
Same here, even update to A6.50.2, some textures are
missed in the standard.wad. In my case, workshop19,
the "floor001" texture is missed.

My standard.wad size = 9,734KB, date = 29/04/2004.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: vlau] #99989
11/27/06 15:13
11/27/06 15:13
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
There seems to be a big urge to post "me too" posts no matter the topic. But don't worry, in your case the standard.wad size and date are absolutely fine. There is no "floor001" texture in the standard WAD. You can just compile Workshop 19 with replacing the missing texture by the default texture. But you're right, we'll add an existing texture.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: jcl] #99990
11/28/06 15:56
11/28/06 15:56
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.50.2.
The script should work for let's say the texture "skywhite" too, shouldn't it? I just have to texture the sky cube with it and set the "sky" flag and compile the level.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #99991
11/29/06 11:18
11/29/06 11:18
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
No. "Skywhite" is not a sky cube. You need to use the very texture mentioned in the tutorial, and not something else.

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

Joined: Jul 2005
Posts: 34
Well, the texture mentioned in the tutorial is not supplied with the tutorial.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #99993
11/30/06 09:53
11/30/06 09:53
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Well, read my first response.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: jcl] #99994
11/30/06 15:27
11/30/06 15:27
Joined: Jul 2005
Posts: 34
F
fifoulein Offline OP
Newbie
fifoulein  Offline OP
Newbie
F

Joined: Jul 2005
Posts: 34
Sorry. My standard.wad file is 9734kb in size and dates from 29.04.2004 11:31.

Re: Sky Cube: Cscript Tutorial New (Workshop 13 ) [Re: fifoulein] #99995
12/01/06 09:33
12/01/06 09:33
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Yes, that's the right one, so you have that sky texture.

Check that this file is available to your Workshop 13 project - "Standard.wad" must be visible on a bar in the WED texture view, and must contain the sky_gorge texture. You can activate displaying the texture names by right clicking into the folder window. If it's not there, you've probably accidentally removed it from the project, or have copied an older standard.wad file into your workshop location, or are using another, older Gamestudio version somewhere on your PC.


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