Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Banker [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
373.487 KB
20 Feb, 2021 @ 3:56pm
11 Dec, 2023 @ 8:27pm
9 Change Notes ( view )

Subscribe to download
[TTT2] Banker [ROLE]

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
93 items
Description
While the Detectives get all of the credit, everyone knows that Terrorist HQ would be nothing without its loyal Bankers.

You have to use TTT2 in order to use this role. Additionally using ULX for TTT2 is recommended. Report bugs concerning this role here[github.com] and submit new role ideas here[github.com]. A list of all currently available roles can be found here.

Discord: https://discord.gg/Npcbb4W
Source: https://github.com/AaronMcKenney/ttt2-role_bank




The Banker is a "Detective" subrole who receives all of the credits that every other role spends in the shop. If there are multiple bankers, the credits are split among them in an equitable round robin manner.

The Banker could use a better workout regimen and diet plan. They have some trouble sprinting long distances and receive more damage than the average person.

For maximum profit, the Banker can transfer credits to a trustworthy Detective/Survivalist, who can then buy something and give the Banker back their hard-earned credits (This can only be done a certain number of times).

The best way to combat the Banker is through frugal spending and proper planning.

Plays best with:




Convars are variables that are introduced to allow server owners to customize the gameplay without changing the code. There are always a handful of convars automatically created by TTT2, that define the spawn parameters of this role and are found in ULX. Additionally there might be some role specific convars, which have to be set in the server config file.

Normal Role Convars (also found in ULX):
# enable or disable this role ttt_banker_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_banker_pct [0.0..1.0] (default: 0.13) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_banker_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_banker_random [0..100] (default: 30) # the amount of players needed for this role to spawn ttt_banker_min_players: [0..n] (default: 5) # the amount of credits this role starts with ttt_bank_credits_starting [0..n] (default: 2)

Rolespecific Convars:
# How many credits can the Banker receive from purchases other shoppers make (infinite if -1)? ttt2_banker_credit_ceiling [-1..n] (default: -1) # Should the banker's murderer receive all of their credits (provided that they are a shopping role)? ttt2_banker_ron_swanswon_will [0/1] (default: 0) # If the Banker dies, how should everyone be informed? ttt2_banker_broadcast_death_mode [0..3] (default: 0) # 0: No broadcasting will occur # 1: Everyone will be informed that the Banker committed suicide, regardless of what actually happened # 2: Everyone will be informed that the Banker has died # 3: If possible, the Banker's murderer will be made known to all, otherwise broadcast that they died under mysterious circumstances # Should the server broadcast anyone who covertly searches the Banker's dead body? ttt2_banker_broadcast_covert_search [0/1] (default: 0) # How many credits can the Banker give out to others per round (infinite if -1)? ttt2_banker_max_num_handouts [-1..n] (default: 2) # This multiplier applies directly to the damage that the banker would receive (ex. 2.0 means the banker takes twice as much damage from all sources). ttt2_banker_recv_dmg_multi [0.0..n.m] (default: 1.25) # This multiplier applies directly to the banker's speed (ex. 0.5 means the banker moves half as fast). ttt2_banker_speed_multi [0.0..n.m] (default: 1.0) # This multiplier applies directly to the banker's stamina regen (ex. 0.5 means the sprint bar fills up half the normal speed). ttt2_banker_stamina_regen [0.0..n.m] (default: 0.35) # This multiplier applies directly to how fast the banker's stamina bar depletes (ex. 2.0 means the sprint bar decays twice as fast). ttt2_banker_stamina_drain [0.0..n.m] (default: 1.25)

--
Credits:
BlackMagicFine: creator of this role addon
Smuggles: designer of the role icon
Wasted: designer of the role thumbnail
Veldrim: heavily assisted with testing
5 Comments
|UGA|PatPeter 9 Sep, 2021 @ 11:24pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: {LINK REMOVED}
[KaP] Portres 5 Jul, 2021 @ 12:44am 
Sometimes the color can be confusing to know its a detective. Should be more Blue. Also the Icon seems Broken recently. Otherwise we love it :)
blackmagicfine  [author] 30 Mar, 2021 @ 4:49pm 
Making it known that this role now has SpecDM support.
blackmagicfine  [author] 4 Mar, 2021 @ 7:42pm 
I honestly don't know.
mexikoedi 4 Mar, 2021 @ 4:16pm 
Is this role compatible with specdm?
I haven't tested it yet. But i think that it may be buggy in specdm if the role has popups or because of the sprinting and damage of the banker.