Tremulous Forum

Media => Mapping Center => Topic started by: ShadowNinjaDudeMan on October 26, 2007, 10:35:00 am

Title: Problems with making a skybox.
Post by: ShadowNinjaDudeMan on October 26, 2007, 10:35:00 am
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:
Code: [Select]

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.
Title: Problems with making a skybox.
Post by: Taiyo.uk on October 26, 2007, 12:20:52 pm
Hath thou tried using a known working skybox shader wih the images changed for yours?
Title: Problems with making a skybox.
Post by: Survivor on October 26, 2007, 04:22:27 pm
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.
Title: Problems with making a skybox.
Post by: ShadowNinjaDudeMan on October 28, 2007, 11:49:58 am
bugger I only have 5...
Title: Problems with making a skybox.
Post by: n.o.s.brain on October 30, 2007, 02:18:05 am
did u use terragen to make the skybox? cuz i did that, and then i copied atcs shader, renaming apropriatly, and voila! it worked!
Title: Problems with making a skybox.
Post by: ShadowNinjaDudeMan on November 01, 2007, 08:17:47 am
Na, Ive got terragen, but Im planing to use that later, meh, I dunno, Ill pobably try it now actually.