Garry's Mod
[TTT/2] M4 SLAM (Tripmine + Remote C4)
54 comentarios
Bazinga 19 MAY 2024 a las 20:08 
Sorry, ik it's a old addon, but, could you tell me how to decrease the radius of the slam? It's too high, and sometimes I die throwing it at an innocent and exploding it, if you could tell me, it would help a lot, I've searched the shared.lua but couldn't find anything that represents the radius.
Motorolª 6 NOV 2021 a las 15:48 
Could you add a convar to toggle if it can be thrown or not? I tried it with some friends and found it to be too OP, as it could be used to insta-kill everyone with little effort. It's still a good mod tho.
Sprucelass 5 JUL 2020 a las 20:34 
Cool! Thanks you!
Zaratusa  [autor] 5 JUL 2020 a las 18:00 
@Spruce I've added a ConVar for it!
Luingar 30 ENE 2020 a las 19:28 
Please add an option for arm delay in seconds. Adding a delay of 5 seconds would make it more balanced for our server. The default can be 0 or .25 (whatever the default is), but we'd appreciate a setting to set the delay before arming for the satchel and tripwire modes
Sprucelass 8 ENE 2020 a las 17:25 
Is there a way to make it purchasable multiple times?
RazeDevastator 20 JUN 2018 a las 15:29 
This addon is really cool, but it'd be amazing if you could make a version for sandbox mode....

"This weapon will not show up in sandbox mode. It's already included by default under "Half-Life 2" Category."

Yes, this statement is true, but yours obviously has other features that the sandbox one does not... namely changing beam size and controlling the amount of SLAMs each player can hold.

If you'd rather not, then can you please send me the original lua code for weapon_slam.lua that is already built into the game? Or could you tell me where I could find it? Thanks in advance! :)
Chai 9 MAR 2018 a las 13:49 
I dunno man, C4 is pretty useless too, innocents can just walk away safely! Oh and don't even mention that if you—the traitor—want on the C4, you'll die!
NΞRVŦISϾH 26 ENE 2018 a las 9:37 
Fucking USELESS!
-You could activate it yourself, AND die!
-Innocents can shot them, wich makes them Useless....
So why would you install it???? I DONT FUCKING KNOW!!! :steamfacepalm:
EgorGik1994/s/ 14 OCT 2017 a las 4:32 
And you can make sure that the b other hand the models have been to these mines ?
Menace 22 DIC 2016 a las 17:58 
[GOTR] MechWarrior001,
You're running an older version of TTT slams on your server and everyone else is downloading the newer version from the workshop you need to update the ttt_slam on you're server.
[GOTR] Mechami 20 SEP 2016 a las 22:05 
@Zaratusa ChangeAnimation seems to be nil when called from the Think hook.

[[TTT] M4 SLAM (Tripmine + Remote C4)] gamemodes/terrortown/entities/weapons/weapon_ttt_slam/init.lua:9: attempt to call method 'ChangeAnimation' (a nil value)
1. unknown - gamemodes/terrortown/entities/weapons/weapon_ttt_slam/init.lua:9
Min 16 AGO 2016 a las 7:00 
Kann gut sein. Ich wollte nur fragen, vorher die Sounds kommen; Hinzufügen kannst du sie natürlich nicht. (Außer man macht seine eigenen, ähnlichen Sounds, kann ich aber nicht)
Zaratusa  [autor] 16 AGO 2016 a las 6:58 
Ich hab grad nochmal selber geguckt und feststellen müssen, dass ich die Fehlermeldung mitlerweile auch bekomme, müssen die Sounds wohl bei einen der letzten Patches raus genommen haben.
Zaratusa  [autor] 16 AGO 2016 a las 6:56 
Ich kann dir auch nicht sagen, warum die Sounds bei mir vorhanden sind, allerdings kann ich sie auch nicht zur Mod hinzufügen, da man keine Dateien von kostenpflichtigen Spielen einbauen darf.
Zaratusa  [autor] 16 AGO 2016 a las 6:48 
Naja also ich hab HL2:DM nicht installiert, das ist verwunderlich, dass alle mit denen ich spiele die Sounds haben und kein HL2:DM installiert haben, wundert mich...
Dr. Ek 19 MAY 2016 a las 16:38 
ok
Zaratusa  [autor] 19 MAY 2016 a las 3:56 
It's included in sandbox, by default under the "Half-Life 2" category.
Dr. Ek 18 MAY 2016 a las 22:35 
Can you make this for sandbox?
Zaratusa  [autor] 13 MAY 2016 a las 9:55 
I finally added the changeable beam size, sorry that it took so long. A motion sensor will be added as a seperate item, but it can take some time, I have so much to do currently.
Min 6 ABR 2016 a las 5:22 
Exactly: no explosion and no laser.
Zaratusa  [autor] 5 ABR 2016 a las 18:20 
So a motion sensor, but just a sensor and no explosions?
Min 5 ABR 2016 a las 11:28 
Can you add a mode to the SLAM which notifies the Traitor (eg. Sound and/or text message)
when an opposing player (Innocent and Detective) is running by the SLAM? The SLAM should not explode but also have no laser in this mode.
Dudrie 28 MAR 2016 a las 3:21 
Yeah, maybe. A friend of mine and myself digged through your code and we increased the amount of red in the color of the beam seen by innocents - no changes on the thickness of the beam. That did the trick, at least for us. But if there's a way to handle colors with ConVars then a ConVar could help to et these things on a more "easy" level to configure^^

Zaratusa  [autor] 27 MAR 2016 a las 20:51 
I'll see what I can do for you, maybe a ConVar?
Dudrie 27 MAR 2016 a las 8:55 
I have a question regarding the laser of the SLAM: Is there a way to increase the brightness of the laser for the innocent team? My fellow players said that the laser isn't visible for them (in fact: it is, but it's tough to spot). So im searching for a way to increase the brightness of the laser by a bit. Thanks in advance :)
Zaratusa  [autor] 8 MAR 2016 a las 11:20 
Updated the SLAM with many changes, I hope you like the new version!
Luk 2 MAY 2015 a las 5:02 
Would be great to make the S.L.A.M. not kill fellow traitors. However, looking at the code, it's using npc_tripmine which has in-built enemy detection that cannot be influenced (source: http://www.zombiemaster.org/smf/index.php?topic=12374.5;wap2 ).
Any chance that you're going to make a mine similar to this one with per-team detection?
Saoas 13 MAR 2015 a las 9:13 
hi, how to limit the ammo i have unlimited ammo ..
Zaratusa  [autor] 13 MAR 2015 a las 5:28 
@nerdhive If you want to change it, I would apreciate it, just send me a link and I update it.
nerdhive 10 MAR 2015 a las 8:22 
The SLAM kills everyone else than yourself. I suggest to kill everyone or just the other team.

@Zaratusa I want to change it, if you need help.
Dudrie 12 FEB 2015 a las 6:19 
@Zaratusa I dont meant an icon in the shop :D If you place C4 you have something like a warning indicator for all traitors (where it is and time till explosion). I meant something like this - so no traitor blows up from a slam accidently.
Zaratusa  [autor] 12 FEB 2015 a las 5:55 
@Dudrie If the SLAM is correctly installed, there should be an icon.
Dudrie 12 FEB 2015 a las 3:46 
I have a question relating the slam. Is it possible to add a icon on the Traitors HUD to indicate where a slam is (like the icon of the C4)? I tried to add it myself but im too bad at LUA Scripting Stuff T_T
ShooterSway 25 NOV 2014 a las 23:51 
Works on my server as of 2014-11-26
TTT__MonicasNWO #1 | TTT | SpecDM | Custom Pointshop [74.91.122.38]
Comedian 22 NOV 2014 a las 13:58 
how to put not explode when people with same team pass?
Espri 11 NOV 2014 a las 11:14 
I can see this being used in other game modes as well such as survival type games or death match style game. Like Sorin said, it makes you have to be a bit more mindful and careful when playing with (or against) others. Also could be great for RP style games as well
Soarin' 11 NOV 2014 a las 8:07 
Yep, got them working great on my server too. They add great aspect, you must be careful and thoughtful when walking into a room instead of playing mindlessly.
Zaratusa  [autor] 11 NOV 2014 a las 7:30 
@Espri this weapon is only for TTT, I don't get it how you would use it for any other gamemode.
Espri 10 NOV 2014 a las 12:25 
I really love this thing, like the detail in the fact you can set it to be a detonator or a trip wire like the real thing lol and its fun to use i have to say. Though if its possible could you also make an entity form? (I think thats what it would be called) Where you do not pick up automaticly, but rather you press the use button to pic it up (I think thats what an entity is but im not sure lol). Be good for some realistic RP stuff like survival game types
Soarin' 4 NOV 2014 a las 1:26 
I love the addon, but for fastDL what would I use for the icons? They're purple and black textures for my players.
'Strict 20 OCT 2014 a las 11:51 
Does anyone have the soundfiles for the tripmines as well? we're missing them on my server and I don't know where to add them in my game or on the server =p
Zaratusa  [autor] 27 SEP 2014 a las 9:37 
@rogueranger416 Nope sorry, I just made some weapons for my TTT server. Sorry!
76561193856220859 25 SEP 2014 a las 10:10 
Can you make another version just for sandbox pls?
青いカメ 18 AGO 2014 a las 5:42 
+rep
Francis_Martin 8 AGO 2014 a las 12:12 
It's not in my weapons slot.
ShooterSway 28 MAY 2014 a las 13:08 
okay I got it working some how. i've tested it with someone, and i only added the workshop instead of downloading locally. it spawns in 2 mines for me. thanks
Zaratusa  [autor] 28 MAY 2014 a las 12:41 
@The General Yes only one tripmine and it can't explode if you've placed it and walk through it.
ShooterSway 27 MAY 2014 a las 11:45 
Zaratusa, I forced myself D multiple times, but nothign seemed to work. I'll give it another shot though to verify if it works on my server.
Zaratusa  [autor] 27 MAY 2014 a las 10:39 
@The General If you are a traitor nothing will happen when you walk through, but if someone else walk through, it will explode.