81 lines
2.1 KiB
PHP
81 lines
2.1 KiB
PHP
<?php
|
|
#
|
|
# COLORS
|
|
#
|
|
|
|
# Text Color
|
|
$tcolor = "white";
|
|
# This is the color defined by https://materializecss.com/color.html
|
|
$color = "red darken-2";
|
|
|
|
|
|
|
|
|
|
#
|
|
# BASEINFO
|
|
#
|
|
|
|
#The Name of the Role
|
|
$name = "Blight";
|
|
#The Description of the Role, HTML conform :)
|
|
$description = "You carry with you a harsh plague.";
|
|
|
|
|
|
|
|
|
|
#
|
|
# TABS
|
|
#
|
|
|
|
#How To play
|
|
$howtoplay = 'The Blight is a simple Traitor role. When killed, the Blight "infects" their attacker, slowly damaging them until they either reach low enough health or until they heal themselves.';
|
|
#With what roles does this role play best?
|
|
$playsbestwith = "
|
|
None defined
|
|
";
|
|
#Convars
|
|
$convars = 'Normal Role Convars (also found in ULX):
|
|
<code># enable or disable this role
|
|
ttt_blight_enabled [0/1] (default: 1)
|
|
# the percentage of players that are spawned as this role
|
|
ttt_blight_pct [0.0..1.0] (default 0.15)
|
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
|
ttt_blight_max [0.0..n] (default: 1)
|
|
# the probility each round of this role being spawned at all
|
|
ttt_blight_random [0..100] (default: 33)
|
|
# the amount of players needed for this role to spawn
|
|
ttt_blight_min_players: [0..n] (default: 6)</code>
|
|
|
|
Rolespecific Convars:
|
|
<code># amount of damage should the blight "infection" deal per instance
|
|
ttt2_blt_dmg [0..n] (default: 5)
|
|
# seconds between damage instances
|
|
ttt2_blt_delay [0..n] (default: 3)
|
|
# should using a health station cure the blight
|
|
ttt2_blt_healstation_cure [0 or 1 or 2 or 3] (default: 1)
|
|
# minimum health the blight "infection" can take a player to
|
|
ttt2_blt_min [0 or 1] (default: 1)
|
|
# whether healing (of any amount/from any source) should cure blight
|
|
ttt2_blt_heal_cure [0 or 1] (default: 1)</code>';
|
|
|
|
|
|
|
|
#
|
|
# Credits
|
|
#
|
|
|
|
#The Steam URL to your addon
|
|
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2339734906";
|
|
#The Source URL to your addon
|
|
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/ZacharyHinds/ttt2-role-blight";
|
|
|
|
#Creator of the Addon
|
|
$author = "Wasted";
|
|
#Creatorlink
|
|
$authorurl = "https://steamcommunity.com/id/Zzzaaaccc13";
|
|
|
|
# Credittext (can use the above variables)
|
|
$ctext = "Wasted: creator of this role addon and the icon";
|
|
|
|
?>
|