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
Doing a "fatal" brush/floor?
Moderator: Moderators
-
PKM
- General
- Posts: 1888
- Joined: Tue Aug 09, 2005 4:43 pm
- Location: Philadelpia but stuck in San Antonio TX (hell)
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)
make a huge brush
right click go to trigger
click trigger multiple
with trigger/brush still highlighted pull up entity window (n)
in your map's .scr ( under level wait til spawn)key: targetname
value: bighurt
key: setthread
value: bighurt
wait: 0
*adapted from script by blue60007bighurt:
$bighurt volumedamage 100 //hurts the player
end
i'm not f****** angry, i'm from philadelphia .


or
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 inbighurt:
parm.other hurt 100
end
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 .$bighurt volumedamage 100 //hurts the player
You could even do
and you'd get a correct "death message", i.e. "Tuxcayc cratered"
Code: Select all
bighurt:
parm.other damage self 100 self (0 0 0) (0 0 0) (0 0 0) 0 1 7 -1
end
