Odd Skybox problem

Poisontrigger

L1: Registered
Feb 13, 2015
17
2
I was testing out different skys on my map to see whether a day time or night time setting would be better. So I went here to get the sky names:

https://developer.valvesoftware.com/wiki/Team_Fortress_2_Sky_List

When I compiled the map and tested it.The sky was there but water and reflective textures were reflecting black and purple textures, they still had their base textures though. I compiled again with Vrad off and testing out all of the sky names. looking at the compile log, only sky_hydro_01 and sky_badlands_01 works.

Is this some sort of sky discrimination?
 
Mar 23, 2013
1,013
347
Why do you think the missing reflections have something to do with the skybox texture?
You have to build cubemaps to make them work.
 

Poisontrigger

L1: Registered
Feb 13, 2015
17
2
Why do you think the missing reflections have something to do with the skybox texture?
You have to build cubemaps to make them work.

These are the logs I get:

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

This is the error I get.

Code:
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_hydro_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_hydro_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.

This is what it should look like.
If hydro and badlands can build the default cubemap why not everything else? I feel like there is a deeper underlying problem somewhere. Putting in cubemaps in the map doesn't help. Typing the buildcubemaps command crashes the game.
 
Mar 23, 2013
1,013
347
These are the logs I get:

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

This is the error I get.

Code:
Creating default LDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_hydro_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
   skybox/sky_hydro_01*.vmt
 ! Run buildcubemaps in the engine to get the correct cube maps.

This is what it should look like.
If hydro and badlands can build the default cubemap why not everything else? I feel like there is a deeper underlying problem somewhere. Putting in cubemaps in the map doesn't help. Typing the buildcubemaps command crashes the game.

ah you can compleetly ignore this compile errors, they are always there.
And the only reason I know that makes building cubemaps crash the game, is when you use a resolution which is smaller then the cubemap texture resolution, which is by default already very small actually. It's 512x512
 

Poisontrigger

L1: Registered
Feb 13, 2015
17
2
ah you can compleetly ignore this compile errors, they are always there.
And the only reason I know that makes building cubemaps crash the game, is when you use a resolution which is smaller then the cubemap texture resolution, which is by default already very small actually. It's 512x512

The black and purple textures are gone! Thanks! :)
Kinda sucks that if and when I have to do this I to set my game resolution to 800x600 then back to 640x480. I don't have that beefy of a computer.

Only thing that bother me now is why is it like this? Why does it give those errors when hydro and badlands skys don't.
 
Oct 6, 2008
1,948
446

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
The black and purple textures are gone! Thanks! :)
Kinda sucks that if and when I have to do this I to set my game resolution to 800x600 then back to 640x480. I don't have that beefy of a computer.

Only thing that bother me now is why is it like this? Why does it give those errors when hydro and badlands skys don't.

If you have to run your game at 640x480 then you should NOT be using Hammer for anything. If you plan to make serious maps and you have that little power compiling a half decent map can take waaaaaaaaay too long and even crash the VRAD portion for running out of memory. It's already limited because it's 32-bit but having even less RAM is not something you'd want.

Besides, what are your specs anyway?

It gives the errors because those two skyboxes have default cubemaps to give to reflective surfaces. All the other skyboxes don't and so you have to manually make cubemaps which is something that should be done anyway.
 

Poisontrigger

L1: Registered
Feb 13, 2015
17
2
If you have to run your game at 640x480 then you should NOT be using Hammer for anything. If you plan to make serious maps and you have that little power compiling a half decent map can take waaaaaaaaay too long and even crash the VRAD portion for running out of memory. It's already limited because it's 32-bit but having even less RAM is not something you'd want.

Besides, what are your specs anyway?

It gives the errors because those two skyboxes have default cubemaps to give to reflective surfaces. All the other skyboxes don't and so you have to manually make cubemaps which is something that should be done anyway.

I have a Samsung RV510-A09UK Laptop, WIndows 7 64 bit with 3 GB of RAM and Intel Dual Core at 2.1GHz. What really holds it back is poor graphics other than that it can load up things very fast. Hammer runs perfectly fine, though I do see compiling becoming a hassle, I re-compiled viaduct with just the BSP and VIS settings and that took 20 Minutes.

Thanks for the tip. The way the error presents itself through the log and thinking it was a serious problem that could break my map. :glare:
 

Freyja

aa
Jul 31, 2009
2,994
5,813
I have a Samsung RV510-A09UK Laptop, WIndows 7 64 bit with 3 GB of RAM and Intel Dual Core at 2.1GHz. What really holds it back is poor graphics other than that it can load up things very fast. Hammer runs perfectly fine, though I do see compiling becoming a hassle, I re-compiled viaduct with just the BSP and VIS settings and that took 20 Minutes.

Thanks for the tip. The way the error presents itself through the log and thinking it was a serious problem that could break my map. :glare:

That laptop has a 1366 x 768 screen, you shouldn't have to scale your resolution up to a 15 year old standard to build cubemaps.