Garry's Mod

Garry's Mod

[TTT2] Kobold Hoarder [ROLE]
7 Comments
Voxel | Julia 12 Jun @ 12:11pm 
Did the crowbar bug get fixed yet? the cobold winning during the first 5 seconds is kind annoying
the scout's doggirl 17 Dec, 2024 @ 7:28pm 
This does not work anymore, the kobold infinitely gets crowbars
Tweek, The Goblin  [author] 25 Oct, 2022 @ 10:17am 
@ZenBreaker Unfortunately that's likely a local issue. You must have something stopping the grab of the players local offset, or the player being turned into the kobold has a bad view offset. The line if question returns your view to what it was before you got set to kobold. So it means the model / view the player had before turning was not able to be saved or was not a valid vector.
ZenBreaker 25 Oct, 2022 @ 6:53am 
On RoundStart, I get an error:
[[TTT2] Kobold Hoarder [ROLE]] lua/terrortown/entities/roles/kobold/shared.lua:93: bad argument #1 to 'SetViewOffset' (Vector expected, got number)
1. SetViewOffset - [C]:-1
2. RemoveRoleLoadout - lua/terrortown/entities/roles/kobold/shared.lua:93
Tweek, The Goblin  [author] 6 Feb, 2022 @ 8:35am 
Just wanted to update I'm working on the mimic role fix now XD Might use this code to help other weird interactions with my roles.
Tweek, The Goblin  [author] 27 Jan, 2022 @ 7:02pm 
Interesting. I've been avoiding the mimic and dopple roles for a while because of lua errors (just in general), but I guess I'll start looking into them XD
Cpt.Haxray 27 Jan, 2022 @ 6:07pm 
Bug Report for a role interaction:

If the Mimic role copies the Kobold horder's role, this causes the weapon counter to get reset to 0. It no longer goes up, and spams lua errors in console(Sadly don't know what the lua error was, as i wasn't the one who spotted it).

If a doppleganger copies the Kobald, the Doppleganger Kobald wont get the weapon counter and won't be able to win.