Please or Register to create posts and topics.

Water In portal 2

Well Im making a map, and I have a cube, and water. the water kills the player, but how do I make it fizzle the cube? Iv tryed everything I can think of!

thanks

I think they just use a trigger_multiple that has an output which kills !activator (the object that caused the trigger to fire).

Or you could put a portal_cleanser in there that only affects physics objects and not the player.

just put another entity the size of your water... perhaps just a little bit below the surface of the water, and tie it to a fizzler entity... not sure if thats how you do it in portal 2, but its how it was done in portal 1, and it should be basically the same.

do NOT click this

Either way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
msleeper wrote:
Either way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.

Yeah, I was surprised--they actually added a dedicated output, something along the lines of SilentDestroy. In fact, I believe it works to fizzle stuff and kill the player. Bit easier than Portal water in that respect.

Image
Now with 100% more inline comments!
WinstonSmith wrote:
msleeper wrote:
Either way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.

Yeah, I was surprised--they actually added a dedicated output, something along the lines of SilentDestroy. In fact, I believe it works to fizzle stuff and kill the player. Bit easier than Portal water in that respect.

The Kill output is present in every single entity (maybe with some tight exceptions). The functional meaning of "Kill" is "brutally remove". When you "Kill" an NPC in Half-Life, it leaves no ragdoll or whatsoever, it just removes it brutally.

Killing the "player" entity crashes the game, for example (well actually I'm not sure, but from what I remember from Garry's Mod coding, triggering a Kill on the player crashes them). Be sure to check the trigger_multiple flags, and uncleck "Players". Only "Physics" should be checked in that list.

Made Logic Portals in early 2008. Making diportals in 2011.
Author of Minecraft mods (MAtmos, Minaptics, NoteSlider) and Garry's Mod addons (Gunstrumental, SharpeYe, GarryWare, DepthHUD).
Hurricaaane wrote:
WinstonSmith wrote:
msleeper wrote:
Either way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.

Yeah, I was surprised--they actually added a dedicated output, something along the lines of SilentDestroy. In fact, I believe it works to fizzle stuff and kill the player. Bit easier than Portal water in that respect.

The Kill output is present in every single entity (maybe with some tight exceptions). The functional meaning of "Kill" is "brutally remove". When you "Kill" an NPC in Half-Life, it leaves no ragdoll or whatsoever, it just removes it brutally.

Killing the "player" entity crashes the game, for example (well actually I'm not sure, but from what I remember from Garry's Mod coding, triggering a Kill on the player crashes them). Be sure to check the trigger_multiple flags, and uncleck "Players". Only "Physics" should be checked in that list.

Oh yeah, I'm well aware of that, and yeah, manually killing the player does crash the game. Well, Portal at least.

Anyway, I'll have to look at an example Portal 2 map to see exactly how the goo works.

Image
Now with 100% more inline comments!
Nacimota wrote:
I think they just use a trigger_multiple that has an output which kills !activator (the object that caused the trigger to fire)

this is your best bet.