Garry's Mod

Garry's Mod

[TTT/2] Shark Trap
26 条留言
Crashington 1 月 23 日 下午 1:06 
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 2024 年 8 月 22 日 上午 4:01 
baby shark doo doo doo
Psychotrickser 2024 年 5 月 11 日 上午 5:05 
Ah nevermind. Confused it with something else. Thank you for this great weapon! :D
TheBonBon  [作者] 2024 年 5 月 11 日 上午 5:02 
@Psychotrickser Attacker Info was fixed recently
Psychotrickser 2024 年 5 月 11 日 上午 4:55 
Please make it so that the traitor who placed the trap gets the kill
Malivil 2024 年 3 月 18 日 上午 7:42 
Amazing! Thank you
TheBonBon  [作者] 2024 年 3 月 18 日 上午 7:05 
@Malivil been a while but attacker + the rare error are fixed
Malivil 2023 年 5 月 27 日 下午 5:56 
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 2023 年 2 月 11 日 上午 9:40 
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 2022 年 11 月 5 日 上午 11:31 
Great, thanks!
TheBonBon  [作者] 2022 年 11 月 5 日 上午 8:42 
@Malivil should be fixed now. Thanks for the info :)
Malivil 2022 年 11 月 5 日 上午 5:21 
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 2022 年 3 月 27 日 上午 4:43 
why you little pinkfong!
TheBonBon  [作者] 2021 年 8 月 26 日 下午 11:39 
@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 2021 年 8 月 26 日 下午 5:53 
@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 2021 年 7 月 30 日 下午 5:05 
good shark model
TDCd3ku 2021 年 7 月 30 日 下午 1:06 
what
[★SG★] Guushi 2021 年 7 月 29 日 上午 7:44 
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 2021 年 7 月 22 日 上午 11:15 
what
Замир Безнегров 2021 年 7 月 21 日 下午 6:08 
what
KingNateTheGr8 2021 年 7 月 21 日 上午 10:22 
what
MadGnoeter | Dennis 2021 年 7 月 20 日 下午 1:56 
what
MadBeemo  [作者] 2021 年 7 月 20 日 上午 8:24 
what
TheBonBon  [作者] 2021 年 7 月 20 日 上午 7:57 
what
Ellum 2021 年 7 月 20 日 上午 7:29 
what
bruh.bivin 2021 年 7 月 19 日 上午 10:19 
what