|
Two ways:
a) If you want the mine to be visible:
Make the mine and tie it to func_breakable. In flags check Pressure.
You can put a large number in the Strength field if you don't want the mine to explode when shot.
Now write a number in the Explode magnitude field (the higher the number, the bigger the explosion).
b) If you don't want your mine to be visible (underground mine):
Make a trigger_multiple somewhere on the ground (when the player touches the trigger_multiple the mine will go boom). In the target field write 'exp'.
Then make an env_explosion a little above the ground and name it 'exp'. Set the magnitude to any number you want (again, a higher number means a bigger explosion).
(you could also just use method a for this one and make the func_breakable invisible but then the player would be lifted a bit right before the explosion because he would step on the invisible mine that's supposed to be underground)
...and that's the bottom line because Mate de Vita said so.
|
|
|
|
≡
|
2009 Aug 3 at 11:08 UTC
— Ed. 2009 Aug 3 at 11:09 UTC
|
|