Cubemaps cached???

Avatar
mcdaniels
50 Posts
Posted May 11, 2011
Hey!
I have a question: After i have Compiled my Map freshly (e.g. Because i changed something important) and override my Map in the valve-Maps Folder with the New, compiled One out of my Personal custom Maps Folder where Hammer stores the compiled in, Why the hell are my old cubemaps still loaded? Arent they written Inside the Bsp? Is there some Kind of cubemap-Cache or what? Only rename Removes cubemaps... How can i check if someone who downloaded my map doesnt have to Type in " "buildcubemaps" again, to See everything correctly?
Thanks!!!
Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 11, 2011
Replied 7 hours later
Have you restarted the map or restarted Portal between when you compile the map? The cubemaps are stored in the BSP after you build them, but if you compile a new BSP then those should get wiped out (since the BSP gets copied over).
Avatar
DaMaGepy
361 Posts
Posted May 11, 2011
Replied 2 hours later
I had bind a key the buildcubemaps, then after compuling (since portal runs in windows all the time) I jusr reload the map and build them again
But it f@cked up (and my friend) once when in coop I failed to hit T to chat and accidentally pressed the buildcubemap key :smile: rebuilded cubemap in the coop-hub for both of us and then we never could join coop again since the map is differs from the server, had to recheck cached data to fix it...
Anyway, just bind it to an unused functionkey, (and reload too)
Avatar
msleeper
4,136 Posts
Admin
Posted May 11, 2011
Replied 4 minutes later
I don't know why you would need to bind it to a key, when it is just 1 command to type.
Avatar
mcdaniels
50 Posts
Posted May 12, 2011
Replied 15 hours later
Hey
I think you got me wrong: if i compile my Map and dragdrop it into the valve maps folder, i replace the old one where i had built the cubemaps. The New One shouldnt show the cubemaps right As long as long As i don't Type in "buildcubemaps" into console! The problem: IT DOES! how the hell Is that possible if the cubemaps-Data Is written JUST into the BSP? How does the game Know how and where to Show the cubemaps?
Sorry, iPod Auto-correct shit
Greetings :cool:
Avatar
MrTwoVideoCards
584 Posts
Posted May 12, 2011
Replied 28 minutes later
The source engine automatically displays caches of cubemaps, if cubemaps currently exists within the bsp. This has been around since Episode 2 I think. Unless you really have to, I wouldn't worry about needing to compile the cubemaps everytime you compile a new bsp. You should wait until you finalize and ship your map for that or something.
Advertisement
Registered users don’t see ads! Register now!
Avatar
mcdaniels
50 Posts
Posted May 12, 2011
Replied 4 hours later
Okay, that means its possible that i see the cubemaps ingame because its cached by my portal 2 on my HDD, but if someone downloads my map, its not in his source cache and he would need to "buildcubemaps" himself? So at the end of the mapping process, i shouldnt forget to type in that special command and everything works fine for everybody, right? Cuse me, Im quite new to all this stuff :wink:
thank you!