42 lines
2.2 KiB
PHP
42 lines
2.2 KiB
PHP
<?php
|
|
$color = "amber lighten-4";
|
|
$tcolor = "black-text-text";
|
|
$name = "Leech";
|
|
$description = "You must feed from a host to survive...";
|
|
$howtoplay = "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.
|
|
";
|
|
$playsbestwith = "<ul>;
|
|
<li>Infected</li>
|
|
<li>Accomplice</li>
|
|
<li>Clairvoyant</li>
|
|
<li>Traitor</li>
|
|
</ul>";
|
|
$convars = "Normal Role Convars (also found in ULX):
|
|
<code># 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)</code>
|
|
|
|
Rolespecific Convars:
|
|
<code># 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)</code>";
|
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2638264365";
|
|
$source = "https://github.com/TaintedEnergy/ttt2-role-leech";
|
|
$author = "TaintedEnergy";
|
|
$authorurl = "https://steamcommunity.com/profiles/76561198119233797";
|
|
$ctext = "None Mentioned";
|
|
?>
|