Portal alignment issues
Quote from srs bsnss on December 21, 2012, 9:28 amSo 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
[spoiler]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[/spoiler]
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
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
Quote from FelixGriffin on December 21, 2012, 10:15 amMake your panel small enough that horizontal portals don't fit?
Make your panel small enough that horizontal portals don't fit?
Quote from srs bsnss on December 21, 2012, 11:33 amFelixGriffin 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.
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.
Quote from FelixGriffin on December 21, 2012, 2:51 pmThen I don't think there's any way, barring big triggers on either side to enable/disable two placement helpers.
Then I don't think there's any way, barring big triggers on either side to enable/disable two placement helpers.

Quote from ChickenMobile on December 21, 2012, 5:58 pmJust placing a portal placement helper without forcing any angles usually works.
Just placing a portal placement helper without forcing any angles usually works.

Quote from josepezdj on December 22, 2012, 6:51 amChickenMobile 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
? think it'll work by forcing them instead, both. And use a radius of 95 for those 128x128 panels
Quote from srs bsnss on December 22, 2012, 9:34 amjosepezdj wrote:? think it'll work by forcing them instead, both. And use a radius of 95 for those 128x128 panelsWhen 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.
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.