Displacement troubles

Displacement troubles

Re: Displacement troubles Posted by amanderino on Sat Dec 2nd 2006 at 7:35am
amanderino
205 posts
Posted 2006-12-02 7:35am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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?
Re: Displacement troubles Posted by $loth on Sat Dec 2nd 2006 at 8:09pm
$loth
2256 posts
Posted 2006-12-02 8:09pm
$loth
member
2256 posts 292 snarkmarks Registered: Feb 27th 2004 Occupation: Student Location: South England
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.
Re: Displacement troubles Posted by amanderino on Sat Dec 2nd 2006 at 8:26pm
amanderino
205 posts
Posted 2006-12-02 8:26pm
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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.
Re: Displacement troubles Posted by Dark_Kilauea on Sat Dec 2nd 2006 at 10:13pm
Dark_Kilauea
629 posts
Posted 2006-12-02 10:13pm
629 posts 123 snarkmarks Registered: Apr 15th 2005 Occupation: Fast Food Location: USA
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/
Re: Displacement troubles Posted by Nih on Sat Dec 2nd 2006 at 10:16pm
Nih
22 posts
Posted 2006-12-02 10:16pm
Nih
member
22 posts 62 snarkmarks Registered: Aug 30th 2003 Location: Denmark
Add -novirtualmesh to vbsp.exe
Re: Displacement troubles Posted by amanderino on Sat Dec 2nd 2006 at 10:47pm
amanderino
205 posts
Posted 2006-12-02 10:47pm
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
Do I place this in the expert compile options for BSP?
Re: Displacement troubles Posted by Stadric on Sun Dec 3rd 2006 at 4:10am
Stadric
848 posts
Posted 2006-12-03 4:10am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
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
Re: Displacement troubles Posted by amanderino on Sun Dec 3rd 2006 at 5:23am
amanderino
205 posts
Posted 2006-12-03 5:23am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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
Re: Displacement troubles Posted by RedWood on Tue Jun 12th 2007 at 3:42am
RedWood
719 posts
Posted 2007-06-12 3:42am
RedWood
member
719 posts 652 snarkmarks Registered: Sep 13th 2006
I'm havening the same problem. Were exactly in the compiler do i enter -novirtualmesh, and how?
Re: Displacement troubles Posted by Riven on Tue Jun 12th 2007 at 4:12am
Riven
1640 posts
Posted 2007-06-12 4:12am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
check out this thread. Same problem; same answer, with the detail you're looking for. Start from where Fishy responds in the thread...
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: Displacement troubles Posted by RedWood on Tue Jun 12th 2007 at 7:12am
RedWood
719 posts
Posted 2007-06-12 7:12am
RedWood
member
719 posts 652 snarkmarks Registered: Sep 13th 2006
Thanks Riven. Didn't help though. Seams it had no effect and judging by the responses in the other thread, I'm SOL.
Re: Displacement troubles Posted by amanderino on Tue Jul 17th 2007 at 12:49pm
amanderino
205 posts
Posted 2007-07-17 12:49pm
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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.
Re: Displacement troubles Posted by omegaslayer on Tue Jul 17th 2007 at 8:18pm
omegaslayer
2481 posts
Posted 2007-07-17 8:18pm
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
You hope you helped your own question.....

Anyone else see the 'logic' here?
Posting And You