Garry's Mod

Garry's Mod

Onvoldoende beoordelingen
[TTT2] Guardian [ROLE]
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
Bestandsgrootte
Geplaatst op
Bijgewerkt op
15.361 KB
15 dec 2021 om 14:03
4 jan 2022 om 11:49
3 wijzigingsnotities (weergeven)

Abonneren om te downloaden
[TTT2] Guardian [ROLE]

In 2 verzamelingen van DegeneReaper
Valkyria TTT 2021
373 items
DegeneReaper's TTT2 Roles
4 items
Omschrijving
An innocent role that sacrifices himself to protect the lives of others!

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/9njYXGY
Source: https://github.com/ChrisScott9456/ttt_guardian_role




The Guardian is an Innocent team role that can use his Guardian Deagle and shoot another player to provide them a temporary health bonus on top of their normal health pool. However, whenever the player's temporary health is damaged, the Guardian also takes damage to his health as well.

It is up to the Guardian to determine who deserves their protection and is on their side before giving out their protection, and may want to keep them safe since their own life is on the line.

The intention of this role is to self-sacrifice for the victory of the Innocent's team. If giving another player who you really trust the power of your protection helps your team win, maybe it's worth risking your own life for.

NOTE:
The Guardian's protection will remain even if the Guardian dies first.

If the Guardian takes damage to his health, it will not affect the health of the protected player.

The Guardian can NOT protect Detectives (otherwise, the Guardian will just always target the Detective with their protection)

Plays best with:
  • Priest
  • Pharaoh
  • Lycanthrope



Normal Role Convars (also found in ULX):
# enable or disable this role ttt_guardian_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_guardian_pct [0.0..1.0] (default: 0.17) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_guardian_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_guardian_random [0..100] (default: 20) # the amount of players needed for this role to spawn ttt_guardian_min_players: [0..n] (default: 6)

Guardian Convars:
# How much bonus health the Guardian should give to the protected player? ttt_guardian_health_bonus [0..100] (default: 100) # What percentage of damage done to the bonus health should the Guardian take as damage? ttt_guardian_dmg_percentage [0..100] (default: 100)


--
Credits:
DegeneReaper: the creator of the role and original idea
5 opmerkingen
Kraw 28 jun om 19:25 
I don't know exactly why, but sometimes the Guardian effect stays applied to a person into the next round but without the extra health, and so the person who originally guarded may get a new role and get hurt anyway when the originally guarded person takes damage.
Blechkanne 26 mrt om 3:17 
[TTT2 (Base) - v0.13.2b] [DEPRECATION WARNING]: Loaded language file from 'lang/', this folder is deprecated. Please switch to 'terrortown/lang/'. Source: "lang/en/guardian.lua"
1. callback - gamemodes/terrortown/gamemode/server/sv_main.lua:338
2. LoadFolder - lua/ttt2/libraries/fileloader.lua:99
3. unknown - gamemodes/terrortown/gamemode/server/sv_main.lua:337
DegeneReaper  [auteur] 4 jan 2022 om 11:50 
Fixed the deagle dropping on death

Also added an ammo recharge if you miss your shot. Ammo will not recharge once someone gets protected
DegeneReaper  [auteur] 23 dec 2021 om 21:59 
Hm...okay, I'll take a look when I have some time. Thanks for bringing it to my attention @Cpt.Haxray
Cpt.Haxray 23 dec 2021 om 14:51 
I've noticed the Guardian Deagle dropping when the Guardian dies. While no other role can use it, this has caused a lot of confusion as generally role-specific items don't drop when the role is killed, like the Sidekick Deagle, Holy Deagle, etc.