Garry's Mod

Garry's Mod

[TTT2] Skele-Doot [ROLE]
15 則留言
SvveetMavis 2024 年 3 月 3 日 下午 3:32 
Tweek, The Goblin  [作者] 2022 年 10 月 23 日 下午 2:15 
@serylt glad you found a fix, still a very odd bug to have especially after all the credit removal. I wonder if its something tied to original TTT triggering it instead of TTT2 code.
Serylt 2022 年 10 月 23 日 下午 1:52 
Heya, so we've checked. The problem still persists and we got no clue why that would happen. Whenever the skeledoot is killed, the traitor gets a credit.

So, we just set the HP to 2500. It works even better now, much funnier if the skeledoot is *practically* unkillable as the whole server sometimes chases after them. :Attacker:
Serylt 2022 年 10 月 9 日 上午 9:55 
Thank you kindly! I'll have a look for further bugs and if I see them, I'll hit you up. :3
Tweek, The Goblin  [作者] 2022 年 10 月 9 日 上午 9:43 
Still not sure why its happening, but to be safe I added 3 functions to prevent credits from skeledoot XD
Serylt 2022 年 10 月 9 日 上午 9:16 
Fascinating! It's easy to test. Just have one traitor, one innocent, one skeledoot ("jester") and let the traitor kill the skeledoot. Then it says "awarded one credit for killing a Skeledoot".
Tweek, The Goblin  [作者] 2022 年 10 月 9 日 上午 8:39 
@SeryIt No that's not intended. That's odd I haven't seen that occur in our test games. I'll see if if anything comes up on my end, but they should be following all the jester settings as it's base.
Serylt 2022 年 10 月 9 日 上午 8:16 
Funnily, whenever a traitor identifies the skele-doot, the traitor receives one credit for it. Judging from the settings, the skele-doot should not be carrying any credits. Is this intentional?
NoColorFrog 2022 年 5 月 22 日 上午 4:13 
ok. thank you
Tweek, The Goblin  [作者] 2022 年 4 月 7 日 上午 6:38 
@NoColorFrog In that case possibly I've never tried it that way. I would assume if I make the client side file check for custom sounds and you were to use that for your meme sounds on the server it might work. I'll share where to put sound files when I add the custom sounds update :)
NoColorFrog 2022 年 4 月 7 日 上午 4:04 
thanks for your reply, can i set my own server side sound, i'm a host of 32-players server. but i host with my own PC(ulx)
Tweek, The Goblin  [作者] 2022 年 4 月 4 日 下午 12:10 
@NoColorFrog atm there isn't really a way, but that's a cool idea. I'll see if I can make something for this, it would be cool to have an option. The only issue would be that the meme audio would be client side if I did this, while regular audio would play server side.
NoColorFrog 2022 年 4 月 4 日 上午 12:56 
funny role, i want to replace the default audio to my own meme audio, what should i do
Tweek, The Goblin  [作者] 2022 年 3 月 18 日 下午 12:59 
Thanks @The1337Gh0st XD I used my suicide barrel script for that, guess i missed the one line XD I'll update it now :)
The1337Gh0st 2022 年 3 月 18 日 下午 12:46 
There appears to be a bug with the role where the model is not resetting on round end or role change. In the role's shared file, you have it as this:

hook.Add("TTT2UpdateSubrole", "UpdateSkeledootRoleSelect", function(ply, oldSubrole, newSubrole)
if newSubrole == ROLE_SKELEDOOT then
ply:SetSubRoleModel(sd.model)
elseif oldSubrole == ROLE_SBARREL then
ply:SetSubRoleModel(nil)
end
end)

This should be changed to:

hook.Add("TTT2UpdateSubrole", "UpdateSkeledootRoleSelect", function(ply, oldSubrole, newSubrole)
if newSubrole == ROLE_SKELEDOOT then
ply:SetSubRoleModel(sd.model)
elseif oldSubrole == ROLE_SKELEDOOT then
ply:SetSubRoleModel(nil)
end
end)