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

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

解説
Get off (heal) on other peoples deaths!

You have to use TTT2 in order to use this role.

TTT2 Discord: https://discord.gg/Npcbb4W
Source: Coming Soon!




Once any player death occurs (other than yourself), you will heal up!
After a delay, you will get a visual notification via flashlight and a little boost of health.



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_necroh_enabled [0/1] (default: 1) # the percentage of players that are spawned as this role ttt_necroh_pct [0.0..1.0] (default: 1.0) # the limit of players that spawn as this role each round, this overwrites the percentage ttt_necroh_max [0..n] (default: 1) # the probability each round of this role being spawned at all ttt_necroh_random [0..100] (default: 50) # the amount of players needed for this role to spawn ttt_necroh_min_players: [0..n] (default: 8)

Rolespecific Convars:
# Heal amount upon another's death ttt2_necroh_healAmount [1..100] (default: 10) # Max Health possible ttt2_necroh_maxHealth [10..1000] (default: 300) # Toggle Flashlight during Necrohealiac effects ttt2_necroh_doFlash [0..1] (default: 1) # Flashlight Rate of Flash (seconds) ttt2_necroh_flashRate [0.01..5.0] (default: 0.1) # Flashlight Flash Amount ttt2_necroh_flashAmount [1..100] (default: 20) # Minimum Delay before Health Receive ttt2_necroh_minDelay [0.1..120.0] (default: 15) # Maximum Delay before Health Receive ttt2_necroh_maxDelay [0.1..120.0] (default: 30)

--
Credits:
Jayden: Role Programming
eee: Idea, Design
Flebsy: Icon Design
4 件のコメント
THEKAI 5月25日 3時55分 
is this a T or an inno role?
Enyogami 2024年11月10日 8時30分 
No mentioning of whether this is an innocent or traitor role
Bevnindo  [作成者] 2022年5月21日 2時15分 
Thanks for pointing out the "doFlash" convar, it seems I uploaded the wrong codebase which didn't include that. A new update should be coming through with that now!
As for the max health continuation bug, I thought I had fixed that but will take another look. Thanks for feedback!
The1337Gh0st 2022年5月20日 21時23分 
It appears that the convar "ttt2_necroh_doFlash" does not do anything. Upon looking at the code for the role, it seems that it is not set to do anything, making it a useless cvar. There is also a bug where the Necrohealiac's flashlight effect and health gain carries over to new rounds, which has the effect of other roles being able to utilize the max health gain of the Necrohealiac.