Compiled map big block appeard

Compiled map big block appeard

Re: Compiled map big block appeard Posted by Jamie on Mon May 5th 2008 at 12:52pm
Jamie
3 posts
Posted 2008-05-05 12:52pm
Jamie
member
3 posts 0 snarkmarks Registered: May 3rd 2008 Occupation: Student Location: England
basically when i compile my map this big block appeard which you can walk through, shoot through but not see through. its the same texture as my bunkers, i tried deleting them and recompiling but there was no difference. The block always appears.

Heres a screenshot (hopefully)

URL=http://imageshack.us]User posted image[/URL]

ideas on the problem, and/or how to solve it will be much much much appreciated.

Thanks,

Jamie. =]
Re: Compiled map big block appeard Posted by Captain P on Mon May 5th 2008 at 12:56pm
Captain P
1370 posts
Posted 2008-05-05 12:56pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
So, uhh, when did this first appear? What exactly have you done in your map that could possibly cause this? It's pretty hard to tell what's going on without more info... :smile:
Create-ivity - a game development blog
Re: Compiled map big block appeard Posted by Jamie on Mon May 5th 2008 at 1:03pm
Jamie
3 posts
Posted 2008-05-05 1:03pm
Jamie
member
3 posts 0 snarkmarks Registered: May 3rd 2008 Occupation: Student Location: England
Basically, it first a appeared a short time ago, i didnt take much notice thinking it was a one off thing, maybe my graphics card going stupid. But it kept appearing. Basically, ive done some clipping, added in models and carving.

I was thinking maybe carving something a few too many times caused it?
Re: Compiled map big block appeard Posted by Captain P on Mon May 5th 2008 at 1:19pm
Captain P
1370 posts
Posted 2008-05-05 1:19pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Ah, yes. Carving can result in quite a few nasty problems. I never use it anymore, because there are almost always safer alternatives. It basically comes down to knowing the rules: brushes must always be convex, their surfaces must always be flat, no two surfaces on the same brush may lie on the same plane. That's all iirc.

Anyway, in Hammer, try Alt + P: Check for problems. See what messages you get. There's probably a malformed brush somewhere that's causing you this trouble. Also, did the compile log report anything unusual?

EDIT: Added a 'brush rule', apparently I didn't finish my post when submitting it. :wink:
Create-ivity - a game development blog
Re: Compiled map big block appeard Posted by RedWood on Mon May 5th 2008 at 2:33pm
RedWood
719 posts
Posted 2008-05-05 2:33pm
RedWood
member
719 posts 652 snarkmarks Registered: Sep 13th 2006
If you have a 3D skybox you might have a little chunk floting in there.

And yes, never use the carve tool... I don't know why it is even in hammer.
Reality has become a commodity.
Re: Compiled map big block appeard Posted by Captain P on Mon May 5th 2008 at 2:54pm
Captain P
1370 posts
Posted 2008-05-05 2:54pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
3D skyboxes are always drawn behind the rest of the map, so that shouldn't be an issue.
Create-ivity - a game development blog
Re: Compiled map big block appeard Posted by reaper47 on Mon May 5th 2008 at 3:21pm
reaper47
2827 posts
Posted 2008-05-05 3:21pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
I agree with Captian P. Carving can cause geometry where the vertexes aren't aligned to the grid.

vbsp.exe, during the compile process, where all unnecessary polygons are cut and merged, will try to force vertexes back on grid, moving and streching polygons to achieve better optimized geometry. This can cause odd results that do not even show up in alt-p dialogs because they happen during compile (often not even showing errors in the compile log!). Even worse: Carving first, then scaling down the result. It narrows the geometry even more and causes additional problems.

Long story short: Don't carve. In the end, it won't save you any time over doing it manually.
Why snark works.
Re: Compiled map big block appeard Posted by Jamie on Mon May 5th 2008 at 3:26pm
Jamie
3 posts
Posted 2008-05-05 3:26pm
Jamie
member
3 posts 0 snarkmarks Registered: May 3rd 2008 Occupation: Student Location: England
Ok thanks guys, much appreciated.

And yeah, i been working on this every now n then when i can, and i used to carve everything because the clip tool confused me, but now i understand it and never use carve.

It messes up displacement which anoys me xD.

Thanks again, ill go back n figure out the prob be deleting my carvs. :]
Re: Compiled map big block appeard Posted by Crollo on Thu May 8th 2008 at 10:38pm
Crollo
148 posts
Posted 2008-05-08 10:38pm
Crollo
member
148 posts 15 snarkmarks Registered: May 8th 2008 Location: Canada
<STRIKE>this problem can happen in half life 1 too, where the map is too big, so if you walk towards the black block, it'll actually start dissapearing, the only way to fix this is to save and compile map, run hl1\hl2 and run it using the console. of course the others might be right, but i've experienced this and it only happens when you run the map using hammer, but not running it directly through half life. give it a shot before you try removing anything, it'll definatly help since ot would let you know that you don't have to remove anything and can keep on mapping, but if you've already removed stuff and the problem still happens, then i sent you this too late, and you should always try to load it using half life before removing stuff, as you'll have to re-add everything you removed after.</STRIKE>

EDIT: it was so dark i didn't realize it wasn't black and was a texture, seems like you do have a block in the skybox that's making that mess.