News:

Come Chat with us live! Learn how HERE!

Main Menu

Problems with making a skybox.

Started by ShadowNinjaDudeMan, October 26, 2007, 10:35:00 AM

ShadowNinjaDudeMan

Im trying to make a skybox for my map, I have 5 jpgs of the skybox, which I opened in PHShop and converted to targas.

These are in a directory of: base/env/citysb

In the base/scripts folder I have citysb.shader:

textures/citysb/city_skybox
{
qer_editorimage textures/citysb/city_22.jpg
surfaceparm noimpact
surfaceparm nolightmap
q3map_surfacelight 40
q3map_sunExt 0.9 0.95 1 40 45 60 1.5 8
skyParms env/citysb/city - -
}


In the shaderlist.txt I have added citysb to the list.

In base/textures/citysb I have city_22.jpg

In the GTKRadient Textures and Shaders list citysb does come up as a directory, and inside it is the textures city_22, once just as a regular image, and once more as a city_skybox shader (white outline).

However when I build the map ((Single) BSP -meta) it only shows up as the strange layering thing, sorted with /r_clear 1 to provide solid pink background.

What have I done wrong?
Any suggestions will help, thanks.
Quote from: Colynn' on August 13, 2009, 05:21:09 PM
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!

Taiyo.uk

Hath thou tried using a known working skybox shader wih the images changed for yours?

Survivor

Shouldn't it be base/citysb/env

And the 6 textures should be named "sky_xx.tga" where for the corresponding sides it has to have xx replaced with ;bk ; dn; ft; lf; rt; up.
I'm busy. I'll ignore you later.

ShadowNinjaDudeMan

Quote from: Colynn' on August 13, 2009, 05:21:09 PM
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!

n.o.s.brain

did u use terragen to make the skybox? cuz i did that, and then i copied atcs shader, renaming apropriatly, and voila! it worked!

ShadowNinjaDudeMan

Na, Ive got terragen, but Im planing to use that later, meh, I dunno, Ill pobably try it now actually.
Quote from: Colynn' on August 13, 2009, 05:21:09 PM
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!