Displacement compile problem

Displacement compile problem

Re: Displacement compile problem Posted by Imbrifer on Mon Aug 15th 2005 at 5:09pm
Imbrifer
32 posts
Posted 2005-08-15 5:09pm
Imbrifer
member
32 posts 363 snarkmarks Registered: Dec 11th 2004
Just kidding - I found the rogue displacement and incinerated it in the fires of my chi.

I'm having a compiling problem. When I try to compile, VBSP gives me an error. Here's what it looks like:
** Executing...

** Command: "c:\program files\valve\steam\steamapps\rycekk\sourcesdk\bin\vbsp.exe"

** Parameters: -glview "c:\program files\valve\steam\steamapps\rycekk\sourcesdk_content\hl2mp\mapsrc\2morforeverbig_d"

Valve Software - vbsp.exe (Jan 19 2005)

1 threads

materialPath: C:\Program Files\Valve\Steam\SteamApps\rycekk\half-life 2 deathmatch\hl2mp\materials

Loading c:\program files\valve\steam\steamapps\rycekk\sourcesdk_content\hl2mp\mapsrc\2morforeverbig_d.vmf

Trying to create a non-quad displacement!

** Executing...

** Command: C:\Program Files\Valve\Steam\SteamApps\rycekk\sourcesdk\bin\glview.exe

** Parameters: -portals "c:\program
files\valve\steam\steamapps\rycekk\sourcesdk_content\hl2mp\mapsrc\2morforeverbig_d.gl"
I know that displacement surfaces must be rectangles, and all of mine
are. It won't tell me where the non-quad displacement is (and I
have lots of displacements) so I have no idea where to look.

This is a recent problem since I've decompiled my map. The
decompiler changed all my displacements into 5-sided brushes (the
displacement side and the other four faces meeting in the back -
basically the smallest brush possible while maintaining the
displacement surface). Everything looks fine - is there any way
to find out where the non-quad displacement surface is?

Should I just redo all my displacements? (ahh!)
Re: Displacement compile problem Posted by leptest on Thu Jan 19th 2006 at 9:31pm
leptest
1 post
Posted 2006-01-19 9:31pm
leptest
member
1 post 0 snarkmarks Registered: Jan 19th 2006
i haven't heard or seen this before. but i could take stabs in the dark.

you said you decompiled your map and the displacments turned out to be
5 sided brushes. and the error your getting is "Trying to create a
non-quad displacement". quad as in 4. so the first thing i would try is
to make the 5 sided brushes 4 sides. and check to make sure there is no
problems (alt-p).

you could test this quite easily. save two copies of your map. and in
one, delete all your displacments apart from one. compile, and see if
you get the same problem. if so then try what i said above. if not (and
the displacement you have left is on a 5 sided brush) then it might be
just a single or couple displacements. if this is so. then there is a
kind of easy way to go about fixing it. (again it would be best if you
had another copy saved).

first delete half of the displacments (i.e the Left hand side of the
map). then compile to see if you get the same problem. if you do, then
you know it's a displacment from the ones you have left. so delete half
of these and re-compile. when you get an error, keep halfing and
re-compiling. if you don't get an error in one of these steps. you know
the half you just deleted is causing the error. so you have to go back
to a previously saved file. and start to half this set of displacments.

and when i mean half, i don't mean cut them in half. i mean remove half of them.

i hope that makes sense.

more than likely this is problem a really simply fixed error, in which
cause i will look like an absolute idiot. but if knot, then you have
something to go on.

hope it goes well for you.

leptest