PDA

View Full Version : Problem getting custom sky to work (and a picture)


SubL
06-30-2002, 06:29 AM
Well, I made a folder (textures/sub/env) with the 6 parts of the custom sky.

I created a sub.shader in both the scripts and shader folders with the following:

textures/sub/sea
{
qer_editorimage textures/sub/env/sea_rt.tga
surfaceparm noimpact
surfaceparm nolightmap
surfaceparm nomarks
surfaceparm sky
q3map_sun .9 .9 1 50 245 78
q3map_surfacelight 25
skyparms textures/sub/env/sea --
}

Then, I added sub to the shaderlist. Ingame, this:

http://www.massassi.net/ec/images/5217.jpg

Errors in the console:

1) shader textures/sub/sea has lightmap but no lightmap stage

2) sky parms missing parameter in shader textures/sub/sea

I'm out of ideas :(

Xcom
06-30-2002, 06:37 AM
Try changing to this:

textures/sub/sea
{
qer_editorimage textures/sub/env/sea_rt
surfaceparm noimpact
q3map_nolightmap
surfaceparm nomarks
surfaceparm sky
sun .9 .9 1 50 245 78
q3map_surfacelight 25
skyParms textures/sub/env/sea 512 -
}

SubL
06-30-2002, 09:20 AM
Thanks!!