Skybox problem

Pocok

L1: Registered
Jun 24, 2008
30
0
Hi! I'm making an Alpine style map, and when I added the skybox, and ran the game somehow it didnt work. On the side of my map I saw my map from outside:
35915723.jpg

35915722.jpg

35915721.jpg


In the complie it told that there is a problem with the skybox, with the size, but i dont know how shoul i fix it:

Code:
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_trainyard_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_trainyard_01 to build the default cubemap!

How could i fix it?

Thanks
Pocok
 

Laz

L420: High Member
Jul 5, 2008
461
35
those compile errors are normal :)

what you want to do, is move the sky_camera out of your map and into your 3d skybox.

how I do it:
create the sky camera on my origin(0,0,0) and add it to a skybox visgroup.
Then I hide all the skybrushes, and add on my 3d skybox to my level itself(for reference), while adding all that I add to the 3d skybox visgroup.

then I select the entire 3d skybox visgroup, and move it next to my map,
I make sure my texture locks are on, then scale it down to 1/16th.
Add a skybox around that.

make sure you unhide all before you compile.


what happens to you here is that your sky camera is still inside your normal level, so it takes the normal level as a skybox for itself.

If it is just a normal 2d skybox you want, delete the sky camera entity.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Also make sure you compiled vis properly and that there are no leaks, both a lack of vis and leaks will cause this to happen.
 

Tom EA

L1: Registered
Sep 27, 2008
1
0
I had the same problem but only when i compiled with no VIS information. With Fast or Normal on VIS there was no problem.
 

I Darkstar X

L3: Member
Oct 19, 2017
115
10
My skybox is outside of my level in a big ol' cube of skybox texture, but I still get this error when I'm using the " buildcubemaps " command in-game.