How to destroy the cube in water?
Quote from whupper on January 5, 2008, 7:11 amI have a water hazard and want the cube to be destroyed if it is dropped in there. Any ideas? I've been trying to use trigger_hurt but to no avail.
I have a water hazard and want the cube to be destroyed if it is dropped in there. Any ideas? I've been trying to use trigger_hurt but to no avail.
Quote from E1025 on January 5, 2008, 8:33 amPlace a trigger at the bottom of the water with the flag "Physics Objects" and give it an output of:
OnStartTouch, TargetEntitiesNamed: !activator, ViaThisInput: Kill
If you have a box dropper or some thing that respawns boxes make sure to add an output for the water for when it's activated it respawns a box. Add a filter to the trigger if the box isn't the only physics object in the area.
Take a look at Thinking With Portal's box dropper tutorial if you need any more help.
Place a trigger at the bottom of the water with the flag "Physics Objects" and give it an output of:
OnStartTouch, TargetEntitiesNamed: !activator, ViaThisInput: Kill
If you have a box dropper or some thing that respawns boxes make sure to add an output for the water for when it's activated it respawns a box. Add a filter to the trigger if the box isn't the only physics object in the area.
Take a look at Thinking With Portal's box dropper tutorial if you need any more help.
http://wiki.thinkingwithportals.com/wik ... ller_Water
Quote from yikkayaya on January 5, 2008, 10:49 amMuch more flashy if you use a fizzler without the "clients" flag instead of a "kill" trigger. It's much more fun seeing the cube dissolving than just disappearing when the touching water
Much more flashy if you use a fizzler without the "clients" flag instead of a "kill" trigger. It's much more fun seeing the cube dissolving than just disappearing when the touching water
Quote from Dewin on January 5, 2008, 3:47 pmThe CP4P slime implementation kills the cube after a brief (1s?) delay, so you get to see it splash to its doom rather than an instant !activator --> Kill
I actually am going to have to track other physics things in my slime... I'm taking a break from my 'real' portal map and making a fun diversionary activity called "Turret Bowling" ...
The CP4P slime implementation kills the cube after a brief (1s?) delay, so you get to see it splash to its doom rather than an instant !activator --> Kill
I actually am going to have to track other physics things in my slime... I'm taking a break from my 'real' portal map and making a fun diversionary activity called "Turret Bowling" ...
Quote from xitooner on January 5, 2008, 4:43 pmActually, killing the cube almost always leads to needing the box dropper to drop another cube, so its best to follow the instructions in this tutorial, which describes the relationship between killer water, box droppers, and how to handle cubes with it:
Actually, killing the cube almost always leads to needing the box dropper to drop another cube, so its best to follow the instructions in this tutorial, which describes the relationship between killer water, box droppers, and how to handle cubes with it:
Quote from Interitus on January 6, 2008, 5:49 amThere's also a trigger named trigger_remove that'll remove anything. but BE SURE TO UNCHECK 'CLIENTS' IN THE FLAGS or it'll crash portal. Just check 'physics objects'.
There's also a trigger named trigger_remove that'll remove anything. but BE SURE TO UNCHECK 'CLIENTS' IN THE FLAGS or it'll crash portal. Just check 'physics objects'.
Quote from Hedgehog on January 6, 2008, 7:58 amInteritus wrote:There's also a trigger named trigger_remove that'll remove anything. but BE SURE TO UNCHECK 'CLIENTS' IN THE FLAGS or it'll crash portal. Just check 'physics objects'.I liked my floating keyboards in the water
I liked my floating keyboards in the water
Quote from Interitus on January 6, 2008, 10:40 pmHehe. I put my triggers fairly far under the water so things still get a splash. So keyboards would probably remain floating
Hehe. I put my triggers fairly far under the water so things still get a splash. So keyboards would probably remain floating