Garry's Mod
十分な評価がありません
[TTT2] Guardian [ROLE]
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
ファイルサイズ
投稿日
更新日
15.361 KB
2021年12月15日 14時03分
2022年1月4日 11時49分
3 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
[TTT2] Guardian [ROLE]

DegeneReaper 作成の 2 件のコレクション
Valkyria TTT 2021
373 アイテム
DegeneReaper's TTT2 Roles
4 アイテム
解説
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 件のコメント
Kraw 2024年6月28日 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 2024年3月26日 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  [作成者] 2022年1月4日 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  [作成者] 2021年12月23日 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 2021年12月23日 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.