Portal alignment issues

Avatar
srs bsnss
552 Posts
Posted Dec 21, 2012
So I'm experiencing a bit of a problem here. I want the player to be able to place a portal, on the floor, on the end of a light bridge, but only 'the right way up' or upside down (at a 0 or 180 degree angle). So it can't be at any other angle, it has to be straight. BUT I also want the portal to be capable of being fired at any angle and ending up either 0 degrees or 180 degrees.

But no matter what I do, I just can't get it to work. I've tried using an info_placement_helper, but that only allows 1 possible angle. Func_portal_orientation does the same thing, and the automatic one that comes with the prop_wall_projector doesn't work.

Can anyone suggest a way to do this? Pics below.

Pictures
||I want this:
http://imageshack.us/photo/my-images/211/portalalignment1.jpg/
or this:http://imageshack.us/photo/my-images/100/portalalignment2.jpg/ to be possible.

I don't want this: http://imageshack.us/photo/my-images/19 ... nment3.jpg||

Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Dec 21, 2012
Replied 46 minutes later
Make your panel small enough that horizontal portals don't fit?
Avatar
srs bsnss
552 Posts
Posted Dec 21, 2012
Replied 1 hour later

FelixGriffin wrote:
Make your panel small enough that horizontal portals don't fit?

I tried that, but then the portal would only open when I fired from certain angles. I'd like it to work from any angle.

Avatar
FelixGriffin
2,680 Posts
Posted Dec 21, 2012
Replied 3 hours later
Then I don't think there's any way, barring big triggers on either side to enable/disable two placement helpers.
Avatar
ChickenMobile
2,460 Posts
Posted Dec 21, 2012
Replied 3 hours later
Just placing a portal placement helper without forcing any angles usually works.
Avatar
josepezdj
2,386 Posts
Posted Dec 22, 2012
Replied 12 hours later

ChickenMobile wrote:
Just placing a portal placement helper without forcing any angles usually works.

? think it'll work by forcing them instead, both. And use a radius of 95 for those 128x128 panels

Advertisement
Registered users don’t see ads! Register now!
Avatar
srs bsnss
552 Posts
Posted Dec 22, 2012
Replied 2 hours later

josepezdj wrote:
? think it'll work by forcing them instead, both. And use a radius of 95 for those 128x128 panels

When I did that it always ended up at the 0 degree angle. Though I suppose I could run a trigger_multiple from either side of the room, from the floor to the roof, and through the x-axis of the helper, that disables the first helper and enables a second one that snaps to 180 degrees instead when crossed. And vice versa.