- Aug 2, 2008
- 80
- 12
Recently, when working on my map, I noticed this error:
I ran buildcubemaps in tf2's console and low and behold, I get this:
I did a search and read that some of the TF2 skybox textures are misshaped or don't line up or something and can cause this error without any real effect on the map. Fine. So I found an earlier copy I saved, that I clearly remember had no errors, and loaded it up, the same problem occurs; I get a skybox error and an in game buildcubemap error, with any skybox.
So I make a test map to see if it's all across the board. I make a 640x640x256 concrete textured brush, make it hollow at 2 thickness. Then I make a 768x768x384 brush with the skybox, hollowed out at 2 units thick. I place an info_player_teamspawn and an env_cubemap and compile the map. I get the "run buildcubemaps in engine" error, run the map, run buildcubemaps and it works.
I'm really stuck, and I don't want to start over. Any help would be appreciate it! Oh, and I'm not using any model textures.
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_hyrdo_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
I ran buildcubemaps in tf2's console and low and behold, I get this:
] buildcubemaps
Current mod isn't in a subdirectory of "game"!
*** Error: Skybox vtf files for sky_hydro_01 weren't compiled with the same size texture and/or same flags!
Can't load skybox file sky_hydro_01 to build the default cubemap!
I did a search and read that some of the TF2 skybox textures are misshaped or don't line up or something and can cause this error without any real effect on the map. Fine. So I found an earlier copy I saved, that I clearly remember had no errors, and loaded it up, the same problem occurs; I get a skybox error and an in game buildcubemap error, with any skybox.
So I make a test map to see if it's all across the board. I make a 640x640x256 concrete textured brush, make it hollow at 2 thickness. Then I make a 768x768x384 brush with the skybox, hollowed out at 2 units thick. I place an info_player_teamspawn and an env_cubemap and compile the map. I get the "run buildcubemaps in engine" error, run the map, run buildcubemaps and it works.
I'm really stuck, and I don't want to start over. Any help would be appreciate it! Oh, and I'm not using any model textures.