Garry's Mod

Garry's Mod

ttt barnacle EPIC version
13 Comments
wget  [author] 21 Sep, 2024 @ 7:33am 
@The Stig
what would the false positives be? "don't take dmg if attacker is player and inflictor is npc" seems like it'd just do exactly what you want and will catch any future cases

also it's not that the original barnacle addon made sure not to deal damage to the jester, it's that the jester role made sure the original barnacle addon didnt deal damage to the jester

if the jester role only checked for the crush dmg, then it was checking for crush damage, not barnacle damage, because if you wanted to explicitly check for barnacle damage then you'd check if the inflictor's class is the barnacle class

it's been a while so i don't remember exactly why i changed the barnacle dmg type from slash+crush to only slash, but iirc it's because the double dmg type was making it calculate the final damage amount in a strange inconsistent way, like it would usually deal 10% or 25% or whatever of the intended damage
Malivil 15 Sep, 2024 @ 6:27pm 
It would work the same as other barnacles (e.g. pick up, but not damage jesters) if it didn't explicitly remove crushing damage. Out of curiosity, what's the reasoning for that?
The Stig 15 Sep, 2024 @ 6:15pm 
I added ttt_tweaks_barnacles_ignore_jesters 1 to my tweaks and fixes mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3101810034

If you install that mod, barnacles won't pick up jesters at all
The Stig 14 Sep, 2024 @ 4:27pm 
Yeah looks like your suggestion is not happening, Nick replied with “There would be a lot of false positives”
The Stig 14 Sep, 2024 @ 2:12am 
Honestly the barnacle should ideally just not pick up anyone on the jester team at all
The Stig 14 Sep, 2024 @ 2:05am 
I guess even if your suggestion was done stuff like the shark trap still wouldn’t work because it isn’t an NPC
The Stig 14 Sep, 2024 @ 2:03am 
Seems like Mal wants the onus to be on weapons to make sure one’s like the barnacle deal damage the jester is immune to, the original barnacle did this
wget  [author] 13 Sep, 2024 @ 2:08pm 
i will argue it's a fault with the jester role rather than with this addon

jester should simply check if the attacker is a player + if the inflictor is an npc
Anthony Fuller 12 Sep, 2024 @ 10:33pm 
Anyway to mitigate that right now?
The Stig 12 Sep, 2024 @ 10:12pm 
This version can kill jesters and causes them to win
Corvatile 5 Jul, 2024 @ 4:27pm 
Can you add a convar to make it so it can be lower opacity?
MyG Collections 27 May, 2024 @ 2:33pm 
nevermind found the cvars but changes aint working lol skill issues on my part - philly_fail
Philly_Fail™ 27 May, 2024 @ 1:31pm 
i cannot find the configs for ttt_barnacle_ignore_owner 0 : Barnacles will not attack the player who placed them to save my life in my server
nor where to change its dmg