Author Topic: S.L.A.M A.K.A the unknown explosive of HL2  (Read 848 times)

in HL2, there's an unused exlosive known as the SLAM. (it's in HL2DM, though)
It's a nice weapon, so let me describe it.
You can throw it with MOUSE1.
After this, hit MOUSE2 to detonate it, or throw some more.
If close to a wall (literally touching), you can plant it to the wall. after a short arming time, it lets out a laser that can go over an infinite distance. anyone who trips this laser makes it explode, so be careful about your positioning, or some random sniper will trip it. You can also plant it to the floor (you need to crouch) to use it as a landmine. The wallmounted SLAMs don't detonate with mouse2, but you can shoot them if you need to.

Now, i'm not sure how most of these mechanics can translate to BL. modify if needed, just throwing the idea out there.

Well someone made a C4 that sticks to walls and floors so that part wouldn't be a problem. I guess to drop them you could make them like the tnt item which rolls around.

Laser would have to work with constant raycasts being emitted.
I don't think that would be a good idea.

Laser would have to work with constant raycasts being emitted.
I don't think that would be a good idea.
Sadly.

Laser would have to work with constant raycasts being emitted.
I don't think that would be a good idea.
a trigger couldn't be created?

Laser would have to work with constant raycasts being emitted.
I don't think that would be a good idea.
There are alot more than constant raycasts that work for that kind of stuff.
Idea:
1. It will send ONE ray cast when it is created.
2. When the ray cast hit a static object, it creates a 'zone' entity, and a laser emitter.
    -If it hits a non-static object, it detonates on instant.
3. When a player enters the 'zone' it triggers an event.

a trigger couldn't be created?
Yes, triggers would probably be the way to go. The hardest part would be defining the trigger's size and shape properly I think.

When the bomb is planted can't it use a different .dts that had an invisible piece that when touched, explodes?

When the bomb is planted can't it use a different .dts that had an invisible piece that when touched, explodes?

Perhaps, but the problem with that is this invisible piece can go through bricks.

Use triggers, yes.

For the laser you could use a DTS shape with no collision, scaled to the size of the laser. Since the emitter couldn't be told to go only a certain distance on a per-object basis, only as part of a datablock; you'd have to make a line of emitters to make that work.

When you plant it on the floor it should create a large, flat trigger so if you step within a radius of it it detonates.
« Last Edit: May 07, 2012, 05:37:41 AM by M »

Use triggers, yes.

For the laser you could use a DTS shape with no collision, scaled to the size of the laser. Since the emitter couldn't be told to go only a certain distance on a per-object basis, only as part of a datablock; you'd have to make a line of emitters to make that work.

When you plant it on the floor it should create a large, flat trigger so if you step within a radius of it it detonates.
It doesn't work like that - you MUST trip the laser

It doesn't work like that - you MUST trip the laser
Because we have to clone everything instead of taking inspiration right