Displacement troubles
Post Reply
Quote
Re: Displacement troubles
Posted by amanderino on Sat Dec 2nd at 7:35am 2006


I decided the other day that I wanted to make a map using displacements so I could get better at making them look realistic (and I'd have some fun making the jeep do flips).

At first, my displacement was made from one brush and when I played the map I couldn't find where the jeep or the gravity gun had gone to. I checked my work again and made sure everything was correct. After seeing that it was, I reloaded the map I had created and searched for the jeep and gravity gun. I put on NOCLIP and flew through the map and I found the items inside a cliff that the spawn was on top of.

I looked through the forums and couldn't find any information about this, so I began looking through the sdk_ files in Hammer. I found the file sdk_vehicles and thought it would help me out. The only thing I thought I might've messed up was that in the original map I had done, I only used one very large brush. I made a new map but made the brush 1024x1024 instead of whatever huge number it was before. I get the same problem:

http://img155.imageshack.us/my.php?image=untitledxu3.jpg

When I spawn in npcs and then kill them, the ragdolls fall through the displacement and land on the nodraw texture below. So far, I know that barrels, weapons, ragdolls, and the jeep all fall through but the player can't go through it without noclip activated.

Does anyone know why this is happening?




Quote
Re: Displacement troubles
Posted by $loth on Sat Dec 2nd at 8:09pm 2006


Displacements aren't real floors so to speak. You need to put a brush underneath where the player can walk in the texture nodraw iirc.



Quote
Re: Displacement troubles
Posted by amanderino on Sat Dec 2nd at 8:26pm 2006


The player can walk on it and so can the npcs, as long as they are alive. My problem is that the jeep and other objects that have physics fall right through it. The map I am creating is like the Highway 17 chapter.



Quote
Re: Displacement troubles
Posted by Dark_Kilauea on Sat Dec 2nd at 10:13pm 2006


I think this is a bug introduced with one of the updates.

All physics objects fall though the displacements. I've heard of a trick in order to make the displacements block physics objects, but I'm not sure what it is.



Dark_Kilauea
DVS Administration
http://www.dvstudio-production.com/



Quote
Re: Displacement troubles
Posted by Nih on Sat Dec 2nd at 10:16pm 2006


Add -novirtualmesh to vbsp.exe



Quote
Re: Displacement troubles
Posted by amanderino on Sat Dec 2nd at 10:47pm 2006


Do I place this in the expert compile options for BSP?



Quote
Re: Displacement troubles
Posted by Stadric on Sun Dec 3rd at 4:10am 2006


If you want an in-hammer fix, what worked for me was using vis groups to hide everything but the displacements, selecting them all, and then using the texture applicator's displacements tab to check "no physics collisions", hit apply, un-check it, and then hit apply again.

It worked for me, it might for you.



Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying



Quote
Re: Displacement troubles
Posted by amanderino on Sun Dec 3rd at 5:23am 2006


? quote:
Add -novirtualmesh to vbsp.exe.


Okay. I figured it out. I added to the Parameter line instead of the Command line the first time around. Now that it's in the right place, everything works fine!

Thanks for the help everyone.

- Aaron




Quote
Re: Displacement troubles
Posted by RedWood on Tue Jun 12th at 3:42am 2007


I'm havening the same problem. Were exactly in the compiler do i enter -novirtualmesh, and how?



Quote
Re: Displacement troubles
Posted by Riven on Tue Jun 12th at 4:12am 2007


check out this thread. Same problem; same answer, with the detail you're looking for. Start from where Fishy responds in the thread...





Quote
Re: Displacement troubles
Posted by RedWood on Tue Jun 12th at 7:12am 2007


Thanks Riven. Didn't help though. Seams it had no effect and judging by the responses in the other thread, I'm SOL.



Quote
Re: Displacement troubles
Posted by amanderino on Tue Jul 17th at 12:49pm 2007


Make sure you're using the expert compile option.

1. Press F9, and at the bottom left hand corner is a button that says "Expert..." You've now accessed the Run Map [Advanced]

2. Okay, now you'll see a table on the left, "Compile/Run commands"; make sure bsp is selected and on the right hand side, under the Parameters box, add "-novirtualmesh" without the quotes.

That should be how to do it. I stopped having the displacement problem after Hammer updates were released. I hope I helped.




Quote
Re: Displacement troubles
Posted by omegaslayer on Tue Jul 17th at 8:18pm 2007


You hope you helped your own question.....

Anyone else see the 'logic' here?







Post Reply