Garry's Mod

Garry's Mod

25 ratings
[TTT2] Barnacle [Improved]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
12.550 KB
27 Apr, 2020 @ 10:09am
29 May @ 5:41am
5 Change Notes ( view )

Subscribe to download
[TTT2] Barnacle [Improved]

In 2 collections by Leo
BlackStarTTT2
193 items
TTT2Test
97 items
Description
This addon is for TTT2 only! It will not work with normal TTT and is incompatible with the non TTT2 version of the addon!
See here for a normal TTT version:
https://steamproxy.net/sharedfiles/filedetails/?id=2067939864

This mod adds a barnacle placer as a buyable weapon to the Trouble in Terrorist Town 2 gamemode, with which players can place 2 barnacles to any close ceiling.
These barnacles then turn invisible and pick up whoever is walking beneath it, rendering the victim completely helpless, slowly eating away their health.
The only way for a player to survive is, if the barnacle is killed by another player.
The barnacles position is marked for everyone in the same team as the placer.

My changes make the barnacles a bit less damaging and a bit easier to kill, but makes you able to place 2 of them.
I also changed the icon and description and made them draw icons on allied players screens, so they can be seen.
Additionally I changed the code, that draws the HUD icons of the barnacles for everyone in the same team, so it would work for TTT2 and support all roles.
Stat Changes:
Health: 50
Damage: 60
Charges: 2

The original addon can be found here:
https://steamproxy.net/sharedfiles/filedetails/?id=1349701821
Popular Discussions View All (1)
0
10 Jun, 2020 @ 4:51am
[ISSUE/BUG] Barnacle can be placed right on the players.
Satton(RU)
10 Comments
Leo  [author] 29 May @ 3:52am 
@Xopez Ill take a look at it!
Xopez 12 Dec, 2023 @ 12:56pm 
[ERROR] AddCSLuaFile: Couldn't find 'weapons/weapon_ttt_barnacle/cl_init.lua'

Still running fine, but this reference should be fixed
Goblin Conscript 4 Jun, 2020 @ 5:30am 
Thanks for the quick response, the command ttt_enforce_playermodel 0 does nothing to help, unfortunately. There appears to be no such command in ttt2, and I'm trying to make it so that everyone has a uniform playermodel, which I'm not sure if a playermodel selector will let me do. I've got the TT2 ULX addon but I haven't found such an option, and the original method I used of simply changing the model path in the gamemode files doesn't work anymore.
Leo  [author] 4 Jun, 2020 @ 5:13am 
Hey @BeeporeSquared, to use custom models in TTT2 you need to change a convar (should be named something like "ttt2_enforce_playermodels") to 0.
I recommend the TTT2 ULX addon to change the convars.
To select the the playermodels, any old TTT1 method should work. I use a playermodel selector addon.
Goblin Conscript 4 Jun, 2020 @ 3:53am 
Hello. I'm new to TTT2, just made the switch from TTT on my server. How can you set the default model like in your screenshot? I used to use custom models instead of the CS T's but now it's not working with the usual method. Is it a unique setting to TTT2?
Leo  [author] 29 Apr, 2020 @ 5:38am 
In theory, everyone should see them if they are on the same team as you, as the Ingame should render the same as it renders for the C4 (it is the same code). If it doesn't then I need to fix that.
James Bondage 29 Apr, 2020 @ 5:21am 
It seems to have worked fine yesterday, yes!
Is there any way to make the position more obvious to fellow team members since in practice they did no seem to notice it after placed.
Leo  [author] 28 Apr, 2020 @ 2:06pm 
Because I get the same notices, @James Bondage, but it works fine for me.
Leo  [author] 28 Apr, 2020 @ 2:01pm 
Does the addon actually work though? James Bondage
James Bondage 28 Apr, 2020 @ 12:08pm 
I am trying to make it work on my ttt2 server but keep getting a notice on startup:
"[AddCSLuaFile] Couldn't find 'weapons/weapon_ttt_barnacle/cl_init.lua' (<nowhere>)
Refusing to load npc_barnacle because it is missing Type and Base keys!"