Garry's Mod

Garry's Mod

56 arvostelua
[TTT/2] Shark Trap
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Weapon
Addon Tags: Cartoon, Comic, Fun
Tiedostokoko
Julkaistu
Päivitetty
955.823 KB
18.7.2021 klo 9.27
18.3.2024 klo 7.03
6 muutosilmoitusta ( näytä )

Tilaa ladataksesi
[TTT/2] Shark Trap

1 kokoelmassa, tekijä TheBonBon
Legion of Salt TTT Server
213 luomusta
Kuvaus
A Traitor weapon for TTT/2.
It deploys a trap that spawns a deadly shark.

You can survive the trap if you break it or if you have armor (100 dmg)




Check out my other addons:

ttt_strange_night
ttt_pietsmiet
ttt_minecraft_mannhattan
ttt_headroom
ttt_home_remastered_2024
ttt_home
ttt_doloris
ttt_hypa

26 kommenttia
Crashington 23.1. klo 13.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 22.8.2024 klo 4.01 
baby shark doo doo doo
Psychotrickser 11.5.2024 klo 5.05 
Ah nevermind. Confused it with something else. Thank you for this great weapon! :D
TheBonBon  [tekijä] 11.5.2024 klo 5.02 
@Psychotrickser Attacker Info was fixed recently
Psychotrickser 11.5.2024 klo 4.55 
Please make it so that the traitor who placed the trap gets the kill
Malivil 18.3.2024 klo 7.42 
Amazing! Thank you
TheBonBon  [tekijä] 18.3.2024 klo 7.05 
@Malivil been a while but attacker + the rare error are fixed
Malivil 27.5.2023 klo 17.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 11.2.2023 klo 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 5.11.2022 klo 11.31 
Great, thanks!