Displacement compile problem
Post Reply
Quote
Re: Displacement compile problem
Posted by Imbrifer on Mon Aug 15th at 5:09pm 2005


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:
? quote:
** Executing...
** Command: "c:program filesvalvesteamsteamappsrycekksourcesdkbinvbsp.exe"
** Parameters: -glview "c:program filesvalvesteamsteamappsrycekksourcesdk_contenthl2mpmapsrc2morforeverbig_d"

Valve Software - vbsp.exe (Jan 19 2005)
1 threads
materialPath: C:Program FilesValveSteamSteamAppsrycekkhalf-life 2 deathmatchhl2mpmaterials
Loading c:program filesvalvesteamsteamappsrycekksourcesdk_contenthl2mpmapsrc2morforeverbig_d.vmf
Trying to create a non-quad displacement!


** Executing...
** Command: C:Program FilesValveSteamSteamAppsrycekksourcesdkbinglview.exe
** Parameters: -portals "c:program filesvalvesteamsteamappsrycekksourcesdk_contenthl2mpmapsrc2morforeverbig_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!)




Quote
Re: Displacement compile problem
Posted by leptest on Thu Jan 19th at 9:31pm 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





Post Reply