Water In portal 2
Quote from saberboy117 on May 15, 2011, 2:32 pmWell 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
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
Quote from Nacimota on May 15, 2011, 3:23 pmI 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.
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.
Quote from rellikpd on May 15, 2011, 3:23 pmjust 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.
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.
Quote from msleeper on May 15, 2011, 3:43 pmEither way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.
Either way works. The trigger_multiple method is preferable because it makes the cube be destroyed silently, but either method works fine.
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.
Quote from WinstonSmith on May 15, 2011, 6:23 pmmsleeper 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.
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.
Quote from Hurricaaane on May 15, 2011, 6:30 pmWinstonSmith 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.
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.
Author of Minecraft mods (MAtmos, Minaptics, NoteSlider) and Garry's Mod addons (Gunstrumental, SharpeYe, GarryWare, DepthHUD).
Quote from WinstonSmith on May 15, 2011, 6:36 pmHurricaaane 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.
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.
Quote from HarryColquhoun on May 16, 2011, 11:05 amNacimota 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.
this is your best bet.

