Garry's Mod
[TTT2] Skele-Doot [ROLE]
15 comentarios
SvveetMavis 3 MAR 2024 a las 15:32 
you should add this as the set playermodel for it

https://sp.zhabite.com/sharedfiles/filedetails/?id=3144011868&
Tweek, The Goblin  [autor] 23 OCT 2022 a las 14: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 23 OCT 2022 a las 13: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 9 OCT 2022 a las 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  [autor] 9 OCT 2022 a las 9:43 
Still not sure why its happening, but to be safe I added 3 functions to prevent credits from skeledoot XD
Serylt 9 OCT 2022 a las 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  [autor] 9 OCT 2022 a las 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 9 OCT 2022 a las 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 22 MAY 2022 a las 4:13 
ok. thank you
Tweek, The Goblin  [autor] 7 ABR 2022 a las 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 7 ABR 2022 a las 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  [autor] 4 ABR 2022 a las 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 4 ABR 2022 a las 0:56 
funny role, i want to replace the default audio to my own meme audio, what should i do
Tweek, The Goblin  [autor] 18 MAR 2022 a las 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 18 MAR 2022 a las 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)