How to properly deal with grates?

Avatar
jonatan
139 Posts
Posted Nov 23, 2011
I'm having trouble getting grates over a portable surface to work correctly.

What I'm currently doing is making the grate a non-solid func_brush and overlay it with a playerclip and a func_clip_vphysics. The problem is however if given enough speed you can throw a cube through the grate. The closer the grate is to the portable surface the easier this becomes.

Anyone dealt with this problem and have a working solution other than putting the grate way far away from the surface? (Optimally I would like the grate just on top of the surface.)

Advertisement
Registered users don’t see ads! Register now!
Avatar
baca25
342 Posts
Posted Nov 23, 2011
Replied 25 minutes later
I dealt with this problem by deleting the grate and changing my puzzle. :angrysquare:
Avatar
Spam Nugget
492 Posts
Posted Nov 23, 2011
Replied 25 minutes later
Just leave it as a brush? It worked for me...
Avatar
baca25
342 Posts
Posted Nov 23, 2011
Replied 23 minutes later

Spam Nugget wrote:
Just leave it as a brush? It worked for me...

Won't fix it. When a cube or ball or whatever is traveling fast enough, it gets teleported through the grate. I've tried adding push triggers to slow down the ball before it hits the portal it goes through and all sorts of different ways, but I couldn't figure out how to fix it. Did that a while ago.

Avatar
Brainstatic
219 Posts
Posted Nov 23, 2011
Replied 43 minutes later
Pushing cubes and other physics objects through grates is pretty much unavoidable. The best solution is to make sure that, if the player does it, they don't make any illegitimate progress in the level.
Avatar
nathanle1406
41 Posts
Posted Nov 24, 2011
Replied 1 day later
try putting an emancipation grill in front of the grate?
Avatar
Another Bad Pun
516 Posts
Posted Nov 24, 2011
Replied 26 minutes later
Use glass with a hole in it instead
Avatar
jonatan
139 Posts
Posted Nov 24, 2011
Replied 17 minutes later

Quote:
try putting an emancipation grill in front of the grate?

That will defeat its purpose since you would not be able to shoot portals.

Quote:
Use glass with a hole in it instead

But then tractor beams/lightbridges won't get through which is the purpose.

But there must be some way??

Avatar
Another Bad Pun
516 Posts
Posted Nov 24, 2011
Replied 2 hours later
Create a trigger_multiple next to the grate. Then use outputs to make sure that any physics objects that touch the trigger_multiple will silent dissolve.
Avatar
Spam Nugget
492 Posts
Posted Nov 24, 2011
Replied 3 hours later
Wouldnt that be really hard to explain to the player? 'Yes its just a grate but sorry, anything that touches it DIES."
What if you put a block textured with invisble behind the grate? it lets portals go through but not objects?
EDIT: invisible also lets tractor beam go through! just leave a gap of 1 or 2 between it and the wall the portal goes on, or you cant put a portal there.
Advertisement
Registered users don’t see ads! Register now!
Avatar
baca25
342 Posts
Posted Nov 25, 2011
Replied 8 hours later

Spam Nugget wrote:
Wouldnt that be really hard to explain to the player? 'Yes its just a grate but sorry, anything that touches it DIES."
What if you put a block textured with invisble behind the grate? it lets portals go through but not objects?
EDIT: invisible also lets tractor beam go through! just leave a gap of 1 or 2 between it and the wall the portal goes on, or you cant put a portal there.

Also would not work. would still get teleported into or above the invisible brush