Portal Placement Entity/Brush?

Avatar
Logic
298 Posts
Posted Apr 20, 2012
Quick an easy question:

How do you make it so that when I fire a portal towards a 128x128 wall it places itself in a certain way? The area is big enough to place two portals on, but no matter where you shoot the first portal is supposed to place itself in the middle.

I've gone through some entities and couldn't find something like it. Am I supposed to use brushes in a certain way?

//Logic

Advertisement
Registered users don’t see ads! Register now!
Avatar
clickaus
62 Posts
Posted Apr 20, 2012
Replied 40 minutes later
I think this is what you are looking for mate

https://developer.valvesoftware.com/wiki/Info_placement_helper

:thumbup:

Avatar
Logic
298 Posts
Posted Apr 20, 2012
Replied 28 minutes later

clickaus wrote:
I think this is what you are looking for mate

https://developer.valvesoftware.com/wiki/Info_placement_helper

:thumbup:

That's the one! Thanks! :smile:

Close the thread if you guys do that sort of things :razz:

Avatar
Lpfreaky90
2,842 Posts
Posted Apr 21, 2012
Replied 5 hours later
We usually don't close threads that ask valid questions, because they might become useful in the future again. Only spam posts and/or questions that have been asked a gazillion times before are locked.
Avatar
Kaleido
272 Posts
Posted Apr 21, 2012
Replied 48 minutes later
To add to this, since the wiki article is pretty incomplete;

The entity has a bunch of arrows of different colors. The thick red arrow points towards the top of your portal, so just place the entity flush with the brush with that arrow pointing in the direction your portal will go.

Also, remember to manually input the angles into the X Y Z in the properties. If you try to rotate it by hand, your portals might be at weird angles slightly and screw up your puzzle.

Avatar
ChickenMobile
2,460 Posts
Posted Apr 21, 2012
Replied 4 hours later
Which red arrow? There are 2. (The fat one and the skinny one. I know but other people may be like huh?)
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 21, 2012
Replied 15 minutes later
The fat red one is the direction away from the surface.
The fat blue one is the up side of the portal.

This is an image to show how I use them:
img

Avatar
Logic
298 Posts
Posted Apr 21, 2012
Replied 33 minutes later

lpfreaky90 wrote:
We usually don't close threads that ask valid questions, because they might become useful in the future again. Only spam posts and/or questions that have been asked a gazillion times before are locked.

Okay :smile:

Avatar
clickaus
62 Posts
Posted Apr 22, 2012
Replied 18 hours later
Good tutorial on the topic

qgM_Ape4UfQ

Avatar
warnightify
39 Posts
Posted Apr 26, 2012
Replied 4 days later
No one wrote about it but ; There is no placement helper entity in Portal 1 so you should use portal bumpers covering 128x128 wall.
Avatar
p0rtalplayer
1,366 Posts
Posted Apr 26, 2012
Replied 59 minutes later

warnightify wrote:
No one wrote about it but ; There is no placement helper entity in Portal 1 so you should use portal bumpers covering 128x128 wall.

Actually, there is, but it's a brush entity. I believe its func_portal_placement or something similar.

Advertisement
Registered users don’t see ads! Register now!
Avatar
BenVlodgi
633 Posts
Posted Apr 26, 2012
Replied 1 hour later

warnightify wrote:
No one wrote about it but ; There is no placement helper entity in Portal 1 so you should use portal bumpers covering 128x128 wall.

people still map for portal 1?
gasp