Annoying cubemap problem when loading level....

Annoying cubemap problem when loading level....

Re: Annoying cubemap problem when loading level.... Posted by Mouse on Fri Dec 31st 2004 at 3:45am
Mouse
117 posts
Posted 2004-12-31 3:45am
Mouse
member
117 posts 32 snarkmarks Registered: Dec 17th 2004 Occupation: Punk Location: USA
<span class="postbody">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.</span>
Re: Annoying cubemap problem when loading level.... Posted by Leperous on Fri Dec 31st 2004 at 12:21pm
Leperous
3382 posts
Posted 2004-12-31 12:21pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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 :smile: 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...
Re: Annoying cubemap problem when loading level.... Posted by Myrk- on Fri Dec 31st 2004 at 1:04pm
Myrk-
2299 posts
Posted 2004-12-31 1:04pm
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
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.
Re: Annoying cubemap problem when loading level.... Posted by satchmo on Fri Dec 31st 2004 at 6:40pm
satchmo
2077 posts
Posted 2004-12-31 6:40pm
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
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.
Re: Annoying cubemap problem when loading level.... Posted by Mouse on Fri Dec 31st 2004 at 6:44pm
Mouse
117 posts
Posted 2004-12-31 6:44pm
Mouse
member
117 posts 32 snarkmarks Registered: Dec 17th 2004 Occupation: Punk Location: USA
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 "<span class="postbody">building_template/building_template003l" in the game.

</span>
Re: Annoying cubemap problem when loading level.... Posted by Guessmyname on Fri Dec 31st 2004 at 7:19pm
Guessmyname
342 posts
Posted 2004-12-31 7:19pm
342 posts 173 snarkmarks Registered: Dec 6th 2004
Just out of intrest can you and the buildcubemaps command in the Expert compile, you know like console and developer?