Page 1 of 1
Doing a "fatal" brush/floor?
Posted: Sun Oct 07, 2007 9:22 pm
by tuxcayc
Hi everyone:
My map is almost ready, but there is one thing.
The map is in the middle of a cube, but you can jump and fall to the inferior brush of the cube... and you are still alive!
Can I make that brush "fatal"? So if you fall and touch it you die?
Thanks.
txucayc
Posted: Sun Oct 07, 2007 11:28 pm
by PKM
sure, a little broad scale but it should work....
make a huge brush
right click go to
trigger
click
trigger multiple
with trigger/brush still highlighted pull up entity window (n)
key: targetname
value: bighurt
key: setthread
value: bighurt
wait: 0
in your map's .scr ( under level wait til spawn)
bighurt:
$bighurt volumedamage 100 //hurts the player
end
*adapted from script by blue60007
Posted: Sun Oct 07, 2007 11:59 pm
by bdbodger
or
bighurt:
parm.other hurt 100
end
with settread you don't need a targetname you can use self to refer to the trigger that called the thread or in this example just hurt the player who triggered the trigger . If you use a literal targetname as in
$bighurt volumedamage 100 //hurts the player
then that thread can only be used once for $bighurt but if you used self or my example then any triggers with setthread set to bighurt will hurt the player .
Posted: Mon Oct 08, 2007 12:23 am
by wacko
You could even do
Code: Select all
bighurt:
parm.other damage self 100 self (0 0 0) (0 0 0) (0 0 0) 0 1 7 -1
end
and you'd get a correct "death message", i.e. "Tuxcayc cratered"
ladder
Posted: Mon Oct 08, 2007 2:53 am
by tltrude
Why not just put a ladder in the cube?