Annoying cubemap problem when loading level....
Post Reply
Quote
Re: Annoying cubemap problem when loading level....
Posted by Mouse on Fri Dec 31st at 3:45am 2004


I'm more or less done with the map I'm working on, and I keep getting this one error when loading the map in HL2DM:

env_cubemap used on world geometry without rebuilding map. . ignoring: building_template/building_template003l


This texture being referred to is a gray stone building with a window that's broken. I have it on one small 2 story building. First I had no cubemaps around this texture, then I tried putting a couple around the building, then I tried making a cube map for each face and tying the cube map to that face. Still keep getting this error.

The buildcubemap command seems to work, it goes through each cubemap and does the thing where the camara checks out all the angles, etc etc, map looks better afterwards, as well. Everything looks fine, but I want to release this map without any red text coming up when it loads and I also want to be sure that the cubemap process is not being hindered.

Yes I closed HL2 after that and reopened it. I still get this error. If there is a thread about this, I would appreciate it if someone pointed me towards it.


I have also since removed any visible trace of this texture from my map and I am still encountering this error message referring specifically to this texture, which is no longer in the map so it's confusing me as to how it can be causing an error.




Quote
Re: Annoying cubemap problem when loading level....
Posted by Leperous on Fri Dec 31st at 12:21pm 2004


Every time you compile a map that contains an env_cubemap you must run buildcubemaps in the console- think of it as the 4th compile tool after RAD So basically you will always get this message when loading up a map fresh after compile.

After running this command, you said your map looks better, so it's obviously worked- I take it that it still looks great if you restart HL2 and load your map? If so, and you're getting this "error" again, then it's nothing to worry about!

BTW click the "replace" button on the texture application tool to remove all traces of a certain texture...





Quote
Re: Annoying cubemap problem when loading level....
Posted by Myrk- on Fri Dec 31st at 1:04pm 2004


You have a model texture I think... You can't use models textures on normal solids otherwise it messes up. Silleh eh? Also you don't need to select faces for cubemaps unless its just specifically that texture. You can place it just near a load of surfaces and you'll see it does the same thing. [addsig]



Quote
Re: Annoying cubemap problem when loading level....
Posted by satchmo on Fri Dec 31st at 6:40pm 2004


Initially, I was also quite disturbed by red text showing up at the console when my map loads. But then I noticed that there are red text showing up when the official game map loads as well, so I think most of them are actually quite innocuous.

When I load my map, I get this persistent message "VProf enabled / VProf disabled" over and over too (although they are not in red). But seeing no ill effect on the appearance of my map, I just ignore them now.

[addsig]




Quote
Re: Annoying cubemap problem when loading level....
Posted by Mouse on Fri Dec 31st at 6:44pm 2004


Ok. What's confusing is that I did the replace texture and got rid of the one that keeps popping up, and the error still comes up after a recompile and re-buildcubemaps, even though there is no trace of the texture "building_template/building_template003l" in the game.




Quote
Re: Annoying cubemap problem when loading level....
Posted by Guessmyname on Fri Dec 31st at 7:19pm 2004


Just out of intrest can you and the buildcubemaps command in the Expert compile, you know like console and developer?




Post Reply