Author Topic: Problems with making a skybox.  (Read 3828 times)

ShadowNinjaDudeMan

  • Posts: 1385
  • Turrets: +86/-58
    • Tremopolis
Problems with making a skybox.
« 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.
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!

Taiyo.uk

  • Posts: 2309
  • Turrets: +222/-191
    • Haos Redro
Problems with making a skybox.
« Reply #1 on: October 26, 2007, 12:20:52 pm »
Hath thou tried using a known working skybox shader wih the images changed for yours?

Survivor

  • Posts: 1660
  • Turrets: +164/-159
Problems with making a skybox.
« Reply #2 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.
I’m busy. I’ll ignore you later.

ShadowNinjaDudeMan

  • Posts: 1385
  • Turrets: +86/-58
    • Tremopolis
Problems with making a skybox.
« Reply #3 on: October 28, 2007, 11:49:58 am »
bugger I only have 5...
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!

n.o.s.brain

  • Posts: 339
  • Turrets: +1337/-24
    • youtube page
Problems with making a skybox.
« Reply #4 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!

ShadowNinjaDudeMan

  • Posts: 1385
  • Turrets: +86/-58
    • Tremopolis
Problems with making a skybox.
« Reply #5 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.
My favorite player is Jesus, because everything is forgiven when he respawns.

NOM!NOM!NOM!