Garry's Mod

Garry's Mod

29 个评价
[TTT2] Barnacle [Improved]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
12.550 KB
2020 年 4 月 27 日 上午 10:09
2024 年 5 月 29 日 上午 5:41
5 项改动说明 ( 查看 )

订阅以下载
[TTT2] Barnacle [Improved]

在 Leo 的 2 个合集中
BlackStarTTT2
199 件物品
TTT2Test
96 件物品
描述
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://psteamcommunity.yuanyoumao.com/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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1349701821
热门讨论 查看全部(1)
0
2020 年 6 月 10 日 上午 4:51
[ISSUE/BUG] Barnacle can be placed right on the players.
Satton(RU)
10 条留言
Leo  [作者] 2024 年 5 月 29 日 上午 3:52 
@Xopez Ill take a look at it!
Xopez 2023 年 12 月 12 日 下午 12:56 
[ERROR] AddCSLuaFile: Couldn't find 'weapons/weapon_ttt_barnacle/cl_init.lua'

Still running fine, but this reference should be fixed
Goblin Conscript 2020 年 6 月 4 日 上午 5:30 
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  [作者] 2020 年 6 月 4 日 上午 5:13 
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 2020 年 6 月 4 日 上午 3:53 
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  [作者] 2020 年 4 月 29 日 上午 5:38 
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 2020 年 4 月 29 日 上午 5:21 
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  [作者] 2020 年 4 月 28 日 下午 2:06 
Because I get the same notices, @James Bondage, but it works fine for me.
Leo  [作者] 2020 年 4 月 28 日 下午 2:01 
Does the addon actually work though? James Bondage
James Bondage 2020 年 4 月 28 日 下午 12:08 
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!"