Portal surface triggering
Quote from Fracture on December 2, 2012, 1:51 amHow do i make my portals trigger stuff? I have seen this done before somehow
How do i make my portals trigger stuff? I have seen this done before somehow

Quote from josepezdj on December 2, 2012, 4:49 amYou can use a func_portal_detector and then fire some outputs like:
- OnStartTouchPortal > [whatever]
- OnEndTouchPortal > [whatever]
You can use a func_portal_detector and then fire some outputs like:
- OnStartTouchPortal > [whatever]
- OnEndTouchPortal > [whatever]
Quote from Fracture on December 2, 2012, 3:41 pmokay i got that working, thanks.
though it doesnt change what i was trying to do before. I have the diversity vents and their suction doesn't seem to be transfering through portals. Even the dust doesn't seem to cooperate with most portal surfaces i have
okay i got that working, thanks.
though it doesnt change what i was trying to do before. I have the diversity vents and their suction doesn't seem to be transfering through portals. Even the dust doesn't seem to cooperate with most portal surfaces i have

Quote from josepezdj on December 3, 2012, 5:42 amI see. Well I've reminded that Reepblue made a Portal2 map including that feature where you suctioned turret by the diversity vents. You can download it and decompile it...
Anyway, he also released some "Portal2 stuffs" including the diversity vents in Gamebanana
You can learn how to make what you need from there
I think what you need though is to activate some trigger_pushes using those portal_detectors. Ofc do not forget to check the proper flags in order to make them suction whatever you want, e.g. "physics objects" for normal props, or "NPCs" for turrets...
For the dust you could parent it to a prop_portal (also activatable by your portal_detectors). This is more complex. Start by checking above stuff.
I see. Well I've reminded that Reepblue made a Portal2 map including that feature where you suctioned turret by the diversity vents. You can download it and decompile it...
Anyway, he also released some "Portal2 stuffs" including the diversity vents in Gamebanana
You can learn how to make what you need from there
I think what you need though is to activate some trigger_pushes using those portal_detectors. Ofc do not forget to check the proper flags in order to make them suction whatever you want, e.g. "physics objects" for normal props, or "NPCs" for turrets...
For the dust you could parent it to a prop_portal (also activatable by your portal_detectors). This is more complex. Start by checking above stuff.
Quote from Sprowl on December 3, 2012, 5:50 amPoint_push is what you need to use a diversity vent through a portal. It works through portals by itself, so you don't need to do any kind of workaround. Just place it under your vactube and you're done.
Point_push is what you need to use a diversity vent through a portal. It works through portals by itself, so you don't need to do any kind of workaround. Just place it under your vactube and you're done.

Quote from josepezdj on December 3, 2012, 5:52 amSprowl wrote:Point_push is what you need to use a diversity vent through a portal. It works through portals by itself, so you don't need to do any kind of workaround. Just place it under your vactube and you're done.OH... great to know
OH... great to know
Quote from Fracture on December 3, 2012, 1:10 pmSprowl wrote:Point_push is what you need to use a diversity vent through a portal. It works through portals by itself, so you don't need to do any kind of workaround. Just place it under your vactube and you're done.that's what i was doing, but it wasn't working on half the portal panels, nor was the dust. I will take a look at the map from the earlier post to see what differances there were
EDIT: AUGH Y U NO PAKRAT
DOUBLE EDIT: still not getting it to work
that's what i was doing, but it wasn't working on half the portal panels, nor was the dust. I will take a look at the map from the earlier post to see what differances there were
EDIT: AUGH Y U NO PAKRAT
DOUBLE EDIT: still not getting it to work

Quote from BenVlodgi on December 3, 2012, 3:15 pmin my maps with vents for backstock I use the point push, but to avoid any problems that it may have, I also parent push triggers to the portals, then activate them depending on which portal is placed under the vent point.
in my maps with vents for backstock I use the point push, but to avoid any problems that it may have, I also parent push triggers to the portals, then activate them depending on which portal is placed under the vent point.
Quote from Fracture on December 3, 2012, 7:57 pmBenVlodgi wrote:...I also parent push triggers to the portals...dude, what? How do I even....
Do you mean the portalable surfaces, or the actual portals i fire from my portal gun?
dude, what? How do I even....
Do you mean the portalable surfaces, or the actual portals i fire from my portal gun?
Quote from Mevious on December 3, 2012, 8:05 pmFracture wrote:BenVlodgi wrote:...I also parent push triggers to the portals...dude, what? How do I even....
Do you mean the portalable surfaces, or the actual portals i fire from my portal gun?You can add two prop_portals (static portals) and set the parents of each point_push to them. Then when you fire a portal, it reuses the static portals and the point_push children will follow it. This was at least true in the original Portal and Ben's comment indicates it's still possible. You just need to set up the logic to enable and disable the triggers themselves based on whether or not a portal is under the suction tube.
dude, what? How do I even....
Do you mean the portalable surfaces, or the actual portals i fire from my portal gun?
You can add two prop_portals (static portals) and set the parents of each point_push to them. Then when you fire a portal, it reuses the static portals and the point_push children will follow it. This was at least true in the original Portal and Ben's comment indicates it's still possible. You just need to set up the logic to enable and disable the triggers themselves based on whether or not a portal is under the suction tube.
Portal 1: Portal Pro, Resurrection, Dyad, Rexaura
Portal 2: [Coop] Electrophobia, [PTI] EotM Collection, [SP] Aperture Halloween