Force Centered Portals [Solved]
Quote from Denominator on August 12, 2013, 10:32 pmHello,
I would like to force portals to be centered on a basic square portal surface. If I remember correctly, Josepezdj's "Aperture Valentine - The Advanced Chambers" utilized this in the first room. My map is in dire need of this feature.
Could someone please direct me to a wiki or thread on how to do this, or else provide some pointers?
Thanks in advance!
-Denominator
Hello,
I would like to force portals to be centered on a basic square portal surface. If I remember correctly, Josepezdj's "Aperture Valentine - The Advanced Chambers" utilized this in the first room. My map is in dire need of this feature.
Could someone please direct me to a wiki or thread on how to do this, or else provide some pointers?
Thanks in advance!
-Denominator
Quote from Ultiman9711 on August 12, 2013, 10:43 pmUse an info_placement_helper. Set the radius to something like 64, orientate it correctly with the red arrow facing in the portal's "up" direction, and set, "Use this helpers angles" to yes. It should automatically centre the portal when you fire it within 64 units [or whatever] of the helper.
For more information, check this page out: https://developer.valvesoftware.com/wik ... ent_helper
Use an info_placement_helper. Set the radius to something like 64, orientate it correctly with the red arrow facing in the portal's "up" direction, and set, "Use this helpers angles" to yes. It should automatically centre the portal when you fire it within 64 units [or whatever] of the helper.
For more information, check this page out: https://developer.valvesoftware.com/wik ... ent_helper
Quote from Tmast98 on August 12, 2013, 10:44 pmIf I understand correctly you want to force portals into a position when they are fired near said position? Either of these entities may be of use:
https://developer.valvesoftware.com/wiki/Info_placement_helper
http://www.youtube.com/watch?v=qgM_Ape4UfQ
https://developer.valvesoftware.com/wiki/Func_portal_bumper
Hope that helps you out!
If I understand correctly you want to force portals into a position when they are fired near said position? Either of these entities may be of use:
https://developer.valvesoftware.com/wiki/Info_placement_helper
http://www.youtube.com/watch?v=qgM_Ape4UfQ
https://developer.valvesoftware.com/wiki/Func_portal_bumper
Hope that helps you out!

Quote from Denominator on August 13, 2013, 6:57 pmThanks all for your suggestions! I will now go spend some time studying these entities =)
Thanks all for your suggestions! I will now go spend some time studying these entities =)
Quote from Denominator on August 14, 2013, 8:09 pm@Ultiman9711: Thank you! This is exactly what I needed! I am sure this link will also come in handy when I try to learn how to attach the info_placement_helper entity to an angle panel or flip panel, such that the portal still lines up with the panel.
@Tmast98: This video tutorial makes complete sense! Much appreciated.
@yishbarr: Thanks, I will keep that in mind. The video tutorial also mentioned an angle parameter, I will be sure to check it out.
Thanks to all of your useful advice, I can make the testing experience that much better =)
@Ultiman9711: Thank you! This is exactly what I needed! I am sure this link will also come in handy when I try to learn how to attach the info_placement_helper entity to an angle panel or flip panel, such that the portal still lines up with the panel.
@Tmast98: This video tutorial makes complete sense! Much appreciated.
@yishbarr: Thanks, I will keep that in mind. The video tutorial also mentioned an angle parameter, I will be sure to check it out.
Thanks to all of your useful advice, I can make the testing experience that much better =)