Please or Register to create posts and topics.

Cleanser trigger [SOLVED]

Page 1 of 2Next

I like to create a trigger_portal_cleanser that only activates if the players carries an object (cube). I tried to solved it by checking only the flag "Physics Objects". The problem is that I only want to delete the portals, but not fizzle the object on touch as well. Actually it's not even deleting the portals if activated by an object. It just fizzles it like a any emancipation grid.

Is there any way to delete portals via trigger (activated by an object) without fizzling the object?

Interiority Science:
Image Klick here to try.

I'm just throwing a thought out there. But maybe if you have the trigger_portal_cleanser start off(if possible), have a trigger on either side that is activated by a physics object (if possible) and have that trigger turn it on... and on the fizzler have physics unchecked? I'm just doing this off of the top of my head though...

This... sentence... is... false.... dontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutdontthinkaboutit
MLIA
Thanks in advance :thumbup:
Nuirangi wrote:
I tried to solved it by checking only the flag "Physics Objects".

You are doing it all the way around. Uncheck the flag "Clients" on the portal_trigger_cleanser if you want your portals to stay after touching the fizzler, but keep ticked the "Physics Objects" flag in order to let it detect and fizzle the cube.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
Nuirangi wrote:
I tried to solved it by checking only the flag "Physics Objects".

You are doing it all the way around. Uncheck the flag "Clients" on the portal_trigger_cleanser if you want your portals to stay after touching the fizzler, but keep ticked the "Physics Objects" flag in order to let it detect and fizzle the cube.

"Client" is uncheck and "Physics Objects" is checked. Problem is it fizzels the object instead of removing the portals.
If I check "Client" and uncheck "Physics Objects" I can't make sure that the trigger only activates when wearing an object.

Interiority Science:
Image Klick here to try.
JoeyGuy917 wrote:
I'm just throwing a thought out there. But maybe if you have the trigger_portal_cleanser start off(if possible), have a trigger on either side that is activated by a physics object (if possible) and have that trigger turn it on... and on the fizzler have physics unchecked? I'm just doing this off of the top of my head though...

Might work. I'll try out.

Interiority Science:
Image Klick here to try.

This would be a bit complicated. First, you need a trigger_portal_cleanser with all flags off, set to visible and textured with fizzler textures. This will block portal shots (unintended but should be fine) and give the effect. Add a second fizzler, textured with nodraw and set to invisible. Check only the "client" flag, so it fizzles portals only when walked through. Set it to start disabled. Add a trigger_multiple, extending about 70 units or so around the fizzler so it can reach cubes that the player could hold. Make a filter_player_held and set it as the filter for the trigger_multiple. For the trigger_multiple, OnStartTouch Enable the invisible cleanser, and OnEndTouchAll Disable the invisible trigger.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

If you want to fizzle portals without a fizzler (I can't really tell what you're going for here) use ent_fire prop_portal Fizzle.

Falsi sumus crusto!
FelixGriffin wrote:
If you want to fizzle portals without a fizzler (I can't really tell what you're going for here) use ent_fire prop_portal Fizzle.

Fizzle portals without a fizzler sounds great. Can't find ent_fire prop_portal Fizzle trough.

Interiority Science:
Image Klick here to try.

So, you want a fizzler that ONLY closes portals if the player is carrying a cube, but will block portal shots regardless?

You'll need one fizzler with Clients checked, with a name. Make it start disabled. Then use a filtered trigger larger than it, the same width and height but larger on either front face of the fizzler (depth). Make it large enough that the cube touches it before the fizzler. Make it a trigger multiple, use a model filter to filter it to just cubes, OnStartTouch Fizzler Enable, OnEndTouch Fizzler Disable.

Create another fizzler in the same location, with Clients and Physics Objects both unchecked. Make this one visible, and the other one not visible.

If you need to disable the fizzlers, give them both a Disable input, and give that large trigger a Disable input.

Alternatively, I think there is an OnPlayerPickup output for cubes, which case you'd use that to control that first fizzler.

ImageImage
Nuirangi wrote:
FelixGriffin wrote:
If you want to fizzle portals without a fizzler (I can't really tell what you're going for here) use ent_fire prop_portal Fizzle.

Fizzle portals without a fizzler sounds great. Can't find ent_fire prop_portal Fizzle trough.

What do you mean can't find it? Just type prop_portal and Fizzle into the text boxes.

Falsi sumus crusto!
Page 1 of 2Next