Portal Emitters in Mapping

Avatar
bankston_editor
7 Posts
Posted Apr 07, 2012
I am trying to make a level where you only have a blue portal gun, but I can't get it so an orange portal is created on map start-up. Can anyone help me do this?

I'm trying to make it like the early maps in portal/portal 2 where a portal or portals are placed for you and you need to use them to solve the puzzle.

Ex. Chapter 1, Test Chamber 2

Advertisement
Registered users don’t see ads! Register now!
Avatar
Habzs
225 Posts
Posted Apr 07, 2012
Replied 23 minutes later
Use a prop_portal entity. Set the 'Start Activated' to 'Active'.
Avatar
Vordwann
767 Posts
Posted Apr 07, 2012
Replied 27 minutes later
I feel like people have had trouble with this before and you instead need to make a logic_auto activate it.
Avatar
Random
171 Posts
Posted Apr 07, 2012
Replied 11 minutes later
I remember they don't always spawn correctly and will revert to the origin if they don't follow the "placement rules." Taken from the wiki:

Quote:
Must have its pitch, yaw and roll facing the exact same direction of the surface it's placed on.
1-8 units from the surface the portal is to be placed on.
At least 57 units away from any adjacent surfaces on the top and bottom.

If you need it some where it won't spawn on, create a logic_auto and set a NewLocation output where you want it.

Avatar
Lpfreaky90
2,842 Posts
Posted Apr 07, 2012
Replied 5 hours later
Moderator note: wrong section; this should be in mapping help.

Ontopic:
I've got an instance for the orange portal on my computer, I will add it to this post. There is still a small issue with the colors of the emitters not changing properly.

Usage instructions: use func_instances to place these against the walls; give them a proper name and use the orange_open option. This should automatically close the orange portal that is up. If a player can somehow create his/her own orange portal it's screwed up so make sure the player starts with the blue portalgun :smile:

Hope that helped!

Attachments
1_portal_instance.vmf
0.01 MB 31 downloads
Avatar
bankston_editor
7 Posts
Posted Apr 07, 2012
Replied 1 hour later

lpfreaky90 wrote:
Moderator note: wrong section; this should be in mapping help.

Ontopic:
I've got an instance for the orange portal on my computer, I will add it to this post. There is still a small issue with the colors of the emitters not changing properly.

Usage instructions: use func_instances to place these against the walls; give them a proper name and use the orange_open option. This should automatically close the orange portal that is up. If a player can somehow create his/her own orange portal it's screwed up so make sure the player starts with the blue portalgun :smile:

Hope that helped!

Thanks. It works perfectly. :thumbup:

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 07, 2012
Replied 24 minutes later

bankston_editor wrote:
Thanks. It works perfectly. :thumbup:

Glad I could help!

ps: you don't need to use the deactivation input; the activation trigger automatically deactivates all the others first!