Garry's Mod

Garry's Mod

[TTT/2] Shark Trap
26 Komentar
Crashington 23 Jan @ 1:06pm 
would it be possible to make it so other members of the team see the location of the shark trap through the walls, like the c4 and other items?
ongsa 22 Agu 2024 @ 4:01am 
baby shark doo doo doo
Psychotrickser 11 Mei 2024 @ 5:05am 
Ah nevermind. Confused it with something else. Thank you for this great weapon! :D
TheBonBon  [pembuat] 11 Mei 2024 @ 5:02am 
@Psychotrickser Attacker Info was fixed recently
Psychotrickser 11 Mei 2024 @ 4:55am 
Please make it so that the traitor who placed the trap gets the kill
Malivil 18 Mar 2024 @ 7:42am 
Amazing! Thank you
TheBonBon  [pembuat] 18 Mar 2024 @ 7:05am 
@Malivil been a while but attacker + the rare error are fixed
Malivil 27 Mei 2023 @ 5:56pm 
Hi =)

I noticed that the shark trap wasn't crediting the person who put it down with the kill. I was looking at the code for the shark trap entity and saw that it's actually setting the attacker of the damage taken to be the person who touched the entity (the victim). Shouldn't the attacker be the person who placed it? (and/or the person who was holding it in a magneto stick when it was triggered?)
Malivil 11 Feb 2023 @ 9:40am 
Hello again. encountered another rare error in my server logs:

[[TTT/2] Shark Trap] lua/entities/ttt_shark_trap/init.lua:29: Tried to use a NULL entity!
1. SetLocalVelocity - [C]:-1
2. unknown - lua/entities/ttt_shark_trap/init.lua:29

Timer Failed! [Simple][@lua/entities/ttt_shark_trap/init.lua (line 29)]
Malivil 5 Nov 2022 @ 11:31am 
Great, thanks!
TheBonBon  [pembuat] 5 Nov 2022 @ 8:42am 
@Malivil should be fixed now. Thanks for the info :)
Malivil 5 Nov 2022 @ 5:21am 
Hello =)

Looks like if a non-player gets caught in the trap (somehow) it throws a bunch of errors like this:

[[TTT/2] Shark Trap] lua/entities/ttt_shark_trap/init.lua:15: attempt to call method 'Freeze' (a nil value)
1. unknown - lua/entities/ttt_shark_trap/init.lua:15
carlos padro 27 Mar 2022 @ 4:43am 
why you little pinkfong!
TheBonBon  [pembuat] 26 Agu 2021 @ 11:39pm 
@The Stig

Now that we saw the Yogscast Video, it will stay moveable and you will always be able to pick it up :D
The Stig 26 Agu 2021 @ 5:53pm 
@TheBonBon @MadBeemo

If you ever want to make it so shark traps cannot be picked up PLEASE MAKE THAT AN OPTION! (convar) A big reason a lot of people are enjoying your weapon right now is that you can pick them up, it might not be intended, but some people really like it!

Please, please, please, if you're going to change it, make picking up shark traps a convar, and leave it on by default.
Sealife Fan 3 30 Jul 2021 @ 5:05pm 
good shark model
TDCd3ku 30 Jul 2021 @ 1:06pm 
what
[★SG★] Guushi 29 Jul 2021 @ 7:44am 
So theres a problem. People can pick up the shark trap with a magneto stick. I don't think they should be allowed to do that. Also the traps kill Traitor buddies that should also be disabled. Possible for you to do these changes?
ganter 22 Jul 2021 @ 11:15am 
what
Замир Безнегров 21 Jul 2021 @ 6:08pm 
what
KingNateTheGr8 21 Jul 2021 @ 10:22am 
what
MadGnoeter | Dennis 20 Jul 2021 @ 1:56pm 
what
MadBeemo  [pembuat] 20 Jul 2021 @ 8:24am 
what
TheBonBon  [pembuat] 20 Jul 2021 @ 7:57am 
what
Ellum 20 Jul 2021 @ 7:29am 
what
bruh.bivin 19 Jul 2021 @ 10:19am 
what