Please or Register to create posts and topics.

Force Centered Portals [Solved]

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

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

Image

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!

This Signature is Beyond Your Range of Seeing.

Image

If you want it to be straight (on the floor), there's a parameter for that.

Thanks all for your suggestions! I will now go spend some time studying these entities =)

@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 =)