Landmines - but not in tutorial... Created 17 years ago2006-09-06 10:57:23 UTC by a a

Created 17 years ago2006-09-06 10:57:23 UTC by a a

Posted 17 years ago2006-09-06 10:57:23 UTC Post #195774
I would like to create a landmine that explodes when an explosion goes off near it, but not when it is shot. How was this accomplished in the Surface Tension levels? (you might be able to detonate them with bullets - i have never tried - but i would prefer it if it was not possible)

I could set a func_breakable to "pressure" or "touch" flags to active, and have them go off that way, but then they can be detonated by shooting them with anything.

any advice? :glad:
Posted 17 years ago2006-09-06 11:06:06 UTC Post #195777
Bullets can't go trought world brushes, but explosions can go trought small or thin world brushes, try making a thin surface over the func_breakable!
-Erty, the specialistian
Posted 17 years ago2006-09-06 12:29:39 UTC Post #195781
env_explosion for your mine, then place a trigger_once over it.

Add an env_shooter if you want rubble too.

easy as pie.

env_explosion:
name - mine1_splode

env_shooter:
name - mine1_splode
pitch - 90

Trigger_once
target - mine1_splode
Archie ArchieGoodbye Moonmen
Posted 17 years ago2006-09-06 12:56:56 UTC Post #195782
but..rockets ect won't detonate them...
Add an func_breakable just under the surface (like 4 units) that also targets the mine
Posted 17 years ago2006-09-07 12:43:48 UTC Post #195881
Don't forget to set the flags, "explosives only" and "touch" if you want it to be triggered by the player touching it or using explosives on it.
Posted 17 years ago2006-09-07 13:27:24 UTC Post #195882
there is no explosives only flag. this is HL1
Archie ArchieGoodbye Moonmen
Posted 17 years ago2006-09-07 14:18:35 UTC Post #195888
exactly, just put it just under a brush so only explosives will damage it
Posted 17 years ago2006-09-08 16:40:15 UTC Post #195987
User posted image
Destroyable Mines By Elon Yariv


In Hl1 you can use a shotgun to destroy the mines. I can't think of a way to make it destroyable only with explosions.

I think I know how to make it be hard to hit the mine with bulltes so hard that it's nearly impossible.

Make a mine using the way the tutorial shows. Make a 1 unit invisible(null texture) breakable in the middle and give it a 1 health value and tick no flags. Make sure the explosion and env_shooter aren't repeatable. Make both trigger_once and breakable target the explosion sequence.

This way it will be easy to destroy the mine with explosives but hard to find the breakable and shoot it with bulltes.
Posted 17 years ago2006-09-09 07:34:48 UTC Post #196042
I guess i mapped a bit too much for sven co-op, because the func_breakable entity has a flag "explosives only" in it.
Posted 17 years ago2006-09-10 16:17:19 UTC Post #196215
To make your landmines:

Make a doubble Floor (or ground rather..)

Player walks here
X X X < this is the ground

Be Be Be < this is an invisible level
----------------------------------- < this is to seal up leaks ;)

-- is a brush

X is a trigger that trigggers the "land mine"
B is a func_breakable that also triggers the "land mine"
e is an env_explosion - it gets triggered by either the breakable, or the trigger - it explodes, and damages the closest func_breakable - triggering another mine :badass:
Posted 17 years ago2006-09-10 16:19:08 UTC Post #196216
well.. my diagram failed: i hope you got the general idea..

Remember "e" in the diagram is invisible - it's only a way to "trigger" adjasent func_breakables.

Hope that helped
Posted 17 years ago2006-09-10 16:43:06 UTC Post #196224
I dunno, does spirit have an explosions only flag? If so try it, (my hammer isn't configured to spirit yet, im too laaaazzzeeee).
You must be logged in to post a response.