Garry's Mod

Garry's Mod

Not enough ratings
[TTT2] Beacon [ROLE]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
1.097 MB
16 Aug, 2020 @ 5:47pm
11 Dec, 2023 @ 9:48pm
16 Change Notes ( view )

Subscribe to download
[TTT2] Beacon [ROLE]

In 1 collection by blackmagicfine
TTT2 Mods For BMF's Server
93 items
Description
A simple and innocent person, they rose up to power as their friends fell one by one.

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_beac




The beacon is an innocent who becomes more powerful each time someone on their team is confirmed dead. How they are buffed is determined by a series of convars, but by default consists of minor improvements to a slew of stats, including: jump power, speed, damage resistance, damage, fire rate, and health regeneration.

If they accrue enough power, they literally light up and their role is revealed to everyone. This makes them as trustworthy as a detective, but will also alert antagonists to their growing power.

There is but one catch: The beacon mustn't kill someone on their team. If they do, they will become an innocent, and take (potentially lethal) damage. Furthermore, an innocent killer can never become a beacon (ex. an amnesiac who kills the beacon in an attempt to inherit their powers). Such a person becomes an innocent instead.

A final note: The default settings are on the weaker end of the balance spectrum, and exist mostly to show what it can do. Feel free to use the many convars to rebalance the beacon to best fit your server.

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_beacon_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_beacon_pct [0.0..1.0] (default: 0.15) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_beacon_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_beacon_random [0..100] (default: 30) # the amount of players needed for this role to spawn ttt_beacon_min_players: [0..n] (default: 6)

Rolespecific Convars:
# the number of buffs that the beacon starts with ttt2_beacon_min_buffs [0..n] (default: 1) # The maximum number of buffs that the beacon can achieve ttt2_beacon_max_buffs [0..n] (default: 5) # Upon receiving this many buffs, the beacon lights up, revealing their role (like a detective) ttt2_beacon_deputize_num_buffs [0..n] (default: 3) # Beacon receives a buff when these types of players are confirmed dead ttt2_beacon_search_mode [0..3] (default: 0) # 0: Team mates are confirmed dead (innocents, survivalists, detectives, etc.) # 1: Non team mates are confirmed dead (traitors, infected, serial killers, jesters, etc.) # 2: Anyone is confirmed dead # 3: Do not buff based on player death # Beacon receives a buff the instant that a mate/non-mate/player dies (based on search_mode above) ttt2_beacon_buff_on_death [0/1] (default: 0) # Beacon receives a buff every x seconds. This is disabled if x is 0. ttt2_beacon_buff_every_x_seconds [0..n] (default: 0) # The damage the beacon receives if they kill one of their mates ttt2_beacon_judgement [0..n] (default: 20) # Beacon is demoted to Innocent if they kill someone on the Innocent team ttt2_beacon_demotion_enable [0/1] (default: 1) # In order to receive a buff, the Beacon needs to personally search the dead body (ttt2_beacon_buff_on_death takes priority) (Def: 0) ttt2_beacon_buff_requires_in_person [0/1] (default: 0) ###BUFFS### # The speed boost the beacon gets per buff (as a percentage of default speed) ttt2_beacon_speed_boost [0.0..n.m] (default: 0.2) # The stamina boost the beacon gets per buff (as a percentage of default stamina. Affects how long the beacon can sprint for) ttt2_beacon_stamina_boost [0.0..n.m] (default: 0.2) # The stamina regen boost the beacon gets per buff (as a percentage of default stamina regen. Affects how quickly the sprint meter refills) ttt2_beacon_stamina_regen_boost [0.0..n.m] (default: 0.2) # The jump power boost the beacon gets per buff (as a percentage of default jump power. If this is greater than 0, the beacon will receive the NoFallDamage item) ttt2_beacon_jump_boost [0.0..n.m] (default: 0.2) # The flat damage resistance boost the beacon gets per buff (as a percentage of damage which will be ignored) ttt2_beacon_resist_boost [0.0..n.m] (default: 0.15) # The armor the beacon gets per buff (by default a player with armor has 30+% damage reduction. Armor is reduced by each hit absorbed) ttt2_beacon_armor_boost [0..n] (default: 0) # The health regen per second the beacon gets per buff (ex. 0.2 ==> 1 HP every 5 seconds) ttt2_beacon_hp_regen_boost [0.0..n.m] (default: 0.2) # The damage boost the beacon gets per buff (as a percentage of default damage) ttt2_beacon_damage_boost [0.0..n.m] (default: 0.10) # The fire rate boost that the beacon gets per buff (as a percentage of default fire rate. Only applies to melee, pistol, and heavy type weapons) ttt2_beacon_fire_rate_boost [0.0..n.m] (default: 0.2)

--
Credits:
BlackMagicFine: creator of this role addon
Smuggles: designer of the role icon
Mineotopia: designer of the role thumbnail
berry, sbzlzh[github.com]: translators
7 Comments
blackmagicfine  [author] 6 Jun, 2023 @ 8:42pm 
For those interested I added a ttt2_beacon_buff_requires_in_person ConVar, which makes it so that the Beacon only receives buffs if they personally interact with the corpse in question. May make this role more interesting and less OP for some servers. I disabled it by default just for legacy's sake.
|UGA|PatPeter 9 Sep, 2021 @ 11:25pm 
I created a master configuration file for all of the TTT roles in the first 3 pages of the Workshop search: https://gist.github.com/PatPeter/70b1c090d8c8c311d99632dca76ec513
Voxel | Julia 6 Mar, 2021 @ 6:38am 
I will try it soon. I couldnt find it as a recomendatio nwhen using the console so i though it wasnt implemented
blackmagicfine  [author] 5 Mar, 2021 @ 5:23pm 
Hey Spieler, is that not done already with ttt2_beacon_speed_boost? It is 0.2, meaning that every buff increases speed by 20%. You can change it 0.1 to halve the speed bonus for example.
Voxel | Julia 5 Mar, 2021 @ 1:15pm 
Could you please add a config command for changing the speed gained? In big rounds it gets to fast?
MikeOnTheMic 28 Aug, 2020 @ 8:09am 
This is one of the best roles made. Very impressed by it. Works without flaws and the concept is great. :happymeat:
peoplesnacks 16 Aug, 2020 @ 7:21pm 
VERY NICE MOD MADE BY VERY COOL GUY