Garry's Mod
十分な評価がありません
[TTT2] Leech [ROLE]
   
アワード
お気に入り
お気に入り
お気に入りから削除
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
ファイルサイズ
投稿日
更新日
363.097 KB
2021年10月27日 2時59分
2024年1月25日 23時49分
31 項目の変更履歴 ( 表示 )

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

解説
You must feed from a host to survive...

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/TaintedEnergy/ttt2-role-leech




You are always hungry for the life essence of a host player. You have a hunger bar which goes down, unless you are near another alive player (then it goes up). If your hunger bar is empty, you will die. You will win with the winning team at the end of the round, provided you are still alive and in range of a host to feed. If you are not in range of a host at the end of the round, you are given time to find a host.

Convince people you are a Leech, and say that you won't do anything to annoy your host/s. Try to survive until the end while feeding on the closest people you can find.



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

Rolespecific Convars:
# The max squared distance a leech needs to be from another player to refill hunger bar ttt2_leech_refill_radius [0.0..1000000.0] (default: 50000.0) # When feeding, how many seconds of hunger is regenerated in 1 second ttt2_leech_refill_multiplier [0.0..100.0] (default: 5.0) # The total length of time to starve from a full hunger bar ttt2_leech_starve_time [0.0..600.0] (default: 30.0) # How long until the hunger bar updates ttt2_leech_tick_length [0.0..1.0] (default: 0.02)
7 件のコメント
Tim | Mineotopia 2023年12月14日 2時10分 
I opened a pullrequest to fix issues with other HUDs
dolpin 2.0 2023年11月11日 16時44分 
https://github.com/TaintedEnergy/ttt2-role-leech/pull/1
this pull request was accepted but the addon was not updated, i think this is a mistake
dolpin 2.0 2023年11月11日 16時38分 
This addon spams my console with
[ERROR] lua/terrortown/entities/roles/leech/shared.lua:80: attempt to index global 'vics' (a nil value)
1. __event - lua/terrortown/entities/roles/leech/shared.lua:80
also the leech always loses which is incorrect behavior
Niels 2023年7月25日 9時17分 
The leech role breaks addons like "Spectator deathmatch"
It causes the round not ending when it should.
average fan enjoyer 2022年8月16日 21時10分 
.:steamhappy:
average fan enjoyer 2022年8月16日 21時10分 
noice
average fan enjoyer 2022年8月16日 21時09分 
.