Garry's Mod

Garry's Mod

Not enough ratings
Tinkerer (CR for TTT)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Build, Cartoon, Fun
File Size
Posted
Updated
55.142 KB
19 Oct @ 10:45am
19 Oct @ 2:52pm
4 Change Notes ( view )

Subscribe to download
Tinkerer (CR for TTT)

In 1 collection by Corvatile
All of Corvatile's TTT Addons
25 items
Description
The Tinkerer is a role for Custom Roles for TTT

The Tinkerer is a special detective with a gadget they can use to Pack-a-Punch upgrade the items of their allies. Their Upgrade Device must recharge between uses.

This role requires the Pack-a-Punch Item addon to function!

By default, each upgrade costs 100% of the device's charge. You can use the convars below to configure how much charge the TInkerer should start with, how much it should cost to perform one upgrade, how quickly they should be able to recharge and how long it should take to perform an upgrade.

You must enable the role for it to spawn!
If hosting a game from the main menu, put ttt_tinkerer_enabled 1 in your listenserver.cfg.
(Normally at: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\cfg)

If hosting a game from a dedicated server, put ttt_tinkerer_enabled 1 in your server.cfg.

Convars
ttt_tinkerer_enabled (Default 0)
Whether or not the Tinkerer should spawn

ttt_tinkerer_charge_rate (Default 0.25)
How often (in seconds) the Tinkerer's device regains 1% charge

tinkerer_starting_charge (Default 100)
How much charge the Tinkerer's device should spawn with

ttt_tinkerer_upgrade_cost (Default 100)
The amount of charge it costs to upgrade one item with the Tinkerer's Upgrade Device

ttt_tinkerer_upgrade_time (Default 5)
The amount of time (in seconds) the Tinkerer's Upgrade Device takes to use

ttt_tinkerer_spawn_weight (Default 1)
The weight assigned to spawning the Tinkerer

ttt_tinkerer_min_players (Default 0)
The minimum number of players required to spawn the Tinkerer

ttt_tinkerer_starting_health (Default 100)
The amount of health the Tinkerer starts with

ttt_tinkerer_max_health (Default 100)
The maximum amount of health the Tinkerer can have

ttt_tinkerer_shop_sync (Default 0)
Whether the Tinkerer should have access to all detective shop items

ttt_tinkerer_credits_starting (Default 1)
The number of credits the Tinkerer should start with

ttt_tinkerer_shop_random_enabled (Default 0)
Whether the Tinkerer's shop contains a random selection of items it's assigned

ttt_tinkerer_shop_random_percent (Default 100)
The percent chance that each weapon in the Tinkerer's shop will not be shown

ttt_tinkerer_name (Default Tinkerer)
The name of the Tinkerer role

ttt_tinkerer_name_plural (Default Tinkerers)
The name of multiple Tinkerer roles

ttt_tinkerer_name_article (Default a)
The indefinite article of the Tinkerer's name (a/an)

Credits
Credit goes to The Stig for making the Pack-a-Punch addon that this role relies on and credit to the creators of the Jingle Jam 2023 Pack whose Admin role I looked at to see how to do the charging mechanic.