Please or Register to create posts and topics.

How to properly deal with grates?

Page 1 of 2Next

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.)

My maps: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

I dealt with this problem by deleting the grate and changing my puzzle. :angrysquare:

Maps(Newest to Oldest): Storming the Castle / The Amazing Race / Wreaked / Mental Breakdown / Lost In Transition / Split / Mind Lock
Mapping Since May 21, 2011

Just leave it as a brush? It worked for me...

Image
I think in terms of boolean variables. Generally, it makes things easier.
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.

Maps(Newest to Oldest): Storming the Castle / The Amazing Race / Wreaked / Mental Breakdown / Lost In Transition / Split / Mind Lock
Mapping Since May 21, 2011

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.

Try out Twin Pillars, a Portal 2 map by BOB74j.

try putting an emancipation grill in front of the grate?

Use glass with a hole in it instead

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??

My maps: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11

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.

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.

Image
I think in terms of boolean variables. Generally, it makes things easier.
Page 1 of 2Next