Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Kobold Hoarder [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
65.560 MB
24 Jan, 2022 @ 9:26am
25 Apr, 2022 @ 3:27pm
54 Change Notes ( view )

Subscribe to download
[TTT2] Kobold Hoarder [ROLE]

In 2 collections by Tweek, The Goblin
SipcoGamingGuild TTT Collection
246 items
SipcoGame's TTT2 Items and Role's
21 items
Description
The Kobold Hoarder wants to collect all the shiny guns and get out of here!!

Requires TTT2 in order to use this role. A list of all currently available roles can be found HERE.

NOW FULLY VOICED! (Toggle if you want it turned off too XD)

Join my Discord: https://discord.gg/PpCafA7wqZ
TTT2 Discord: https://discord.gg/Npcbb4W
Source Code: TBD



The Kobold Hoarder gets announced at the match start. They are faster and shorter than other players, but cannot deal damage. They must collect guns on the map to fill their hoard to win the game. If they're killed before this, or they do not fill their hoard by the time the round ends, they lose. Beware other players, any weapons this Kobold stashes are gone for good! (at least until the end of the round)

Plays Great With



Normal Convars Generated by TTT2
# enable or disable this role ttt_kobold_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_kobold_pct [0.0..1.0] (default 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_kobold_max [0.0..n] (default: 1) # the probability each round of this role being spawned at all ttt_kobold_random [0..100] (default: 33) # the amount of players needed for this role to spawn ttt_kobold_min_players: [0..n] (default: 6)

NAdditional Convars in ULX & F1 Menu
# force a kobold model 0=None, 1=M, 2=F ttt2_kobold_force_model [0/1/2] (def. 1) # adjust kobold max and starting HP ttt2_kobold_health [0...n] (default: 75) # whether you want the game to announce the loot goblin / play the goblin laugh ttt2_kobold_announce [0/1] (default: 1) # if can deal damage, then what scale of damage? (0 default for no damage) ttt2_kobold_damage_scale [0...1] (default: 0) # scale of weapons available on map kobold needs to collect ttt2_kobold_hoard_scale [0...1] (default: 0.35) # scale the kobold's movespeed ttt2_kobold_movement_scale [0...5] (default: 1.5) # want the fully voiced kobold? ttt2_kobold_voicelines [0/1] (default: 1)




This role is very fun on a server, but keep in mind that it turns into a timed hunt to kill the little bugger before they get their hoard.

Our Voicelines were done by the very talented "Dragon-V0942" found HERE
5 Comments
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.