Trigger: remove portal from surface

Posted May 20, 2011
Hi!

I ran into a problem in my level: under certain circumstances a person could get stuck in my level.
So I wondered if and how it would be possible to use a relay to remove a portal from a surface.

My eternal gratitude :notworthy:

Advertisement
Registered users don’t see ads! Register now!
Avatar
4,141 Posts
Admin
Posted May 20, 2011
Replied 20 minutes later
Use a func_portal_cleanser that is disabled, and enable it briefly when you need to remove portals from the surface. Make sure you disable it again probably 0.1 seconds after it is enabled.
Posted May 20, 2011
Replied 10 minutes later
How do I get a func_portal_cleanser :redface:
It's not in my list of classes. =/

and I would like to delete only one of the two portals :wink:
I could place a trigger_portal_cleanser over the portal-able surface though?

Avatar
4,141 Posts
Admin
Posted May 20, 2011
Replied 10 minutes later
It's a brush entity. And it only affects portals within it's volume, you can't select specific portals to cleanse.
Posted May 20, 2011
Replied 59 minutes later

msleeper wrote:
It's a brush entity. And it only affects portals within it's volume, you can't select specific portals to cleanse.

actually you can, if you use it with conjunction with a portal detector.

OnStartTouchBluePortal -> cleanser_1 -> Enable
OnEndTouchBluePortal -> cleanser_1 -> Disable

Posted May 21, 2011
Replied 1 day later
Ok, I must be stupid but I still can't find func_portal_cleanser.
I tried making a func_brush and changing it to func_portal_cleanser can someone tell me how to create a func_portal_cleanser :redface:
Posted May 21, 2011
Replied 2 hours later

lpfreaky90 wrote:
Ok, I must be stupid but I still can't find func_portal_cleanser.
I tried making a func_brush and changing it to func_portal_cleanser can someone tell me how to create a func_portal_cleanser :redface:

It's actually trigger_portal_cleanser. I'm sure that's what Msleeper meant.

Posted May 21, 2011
Replied 2 hours later

lpfreaky90 wrote:
Ok, I must be stupid but I still can't find func_portal_cleanser.
I tried making a func_brush and changing it to func_portal_cleanser can someone tell me how to create a func_portal_cleanser :redface:

I usually make the brush whatever size I want the cleanser to be and make it a trigger texture. Hit Ctrl+T to tie it and a properties window should come up. At that point change it to a func_portal_cleanser. Set your settings, make sure you've set it to visible and then change the texture of the tigger to any of the "fizzler" textures.

Posted May 21, 2011
Replied 11 minutes later
If you know exactly which surface you'll need to clear the portal from, there is a way to get rid of only 1 portal.

Create a super-thin (at least 2 units thick) func_brush that has the no-draw texture, and lay it over the wall in question. Set 'Start Enabled' to 'No', and then just use your trigger to enable/disable it. Portals cannot exist on faces that are flush with other faces, so the portal, if it is there, will be removed when the func_brush is enabled, and the other portal will be unharmed.

Avatar
4,141 Posts
Admin
Posted May 21, 2011
Replied 1 hour later

Groxkiller585 wrote:
It's actually trigger_portal_cleanser. I'm sure that's what Msleeper meant.

Yeah sorry, it's trigger_portal_cleanser.

You know that the entity name browser searches right? You can start typing "clean" and it will autosearch for entities that contain the phrase "clean", such as "trigger_portal_cleanser".

Advertisement
Registered users don’t see ads! Register now!
Posted May 21, 2011
Replied 8 minutes later
ok :smile: that's gonna be worth a try :smile:

Thanks :smile: