83 lines
2.4 KiB
PHP
83 lines
2.4 KiB
PHP
|
<?php
|
||
|
#
|
||
|
# COLORS
|
||
|
#
|
||
|
|
||
|
# Text Color
|
||
|
$tcolor = 'black';
|
||
|
# This is the color defined by https://materializecss.com/color.html
|
||
|
$color = 'pink';
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#
|
||
|
# BASEINFO
|
||
|
#
|
||
|
|
||
|
#The Name of the Role
|
||
|
$name = 'Clown';
|
||
|
#The Description of the Role, HTML conform :)
|
||
|
$description = "The party doesn't really start until almost everyone is dead";
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#
|
||
|
# TABS
|
||
|
#
|
||
|
|
||
|
#How To play
|
||
|
$howtoplay = "A Clown is a Jester like role. They cannot deal damage. They can die during a round without consequence, however they appear as a normal Jester to traitors. Their goal is to survive until the end of the round when a team would've normally won, however if they survive they will transform into a killer clown and come to kill all the remaining survivors!";
|
||
|
#With what roles does this role play best?
|
||
|
$playsbestwith = '
|
||
|
<ul>
|
||
|
<li>Jester</li>
|
||
|
<ul>
|
||
|
';
|
||
|
#Convars
|
||
|
$convars = 'Normal Role Convars (also found in ULX):
|
||
|
<code># enable or disable this role
|
||
|
ttt_clown_enabled [0/1] (default: 1)
|
||
|
# the percentage of players that are spawned as this role
|
||
|
ttt_clown_pct [0.0..1.0] (default: 0.15)
|
||
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||
|
ttt_clown_max [0..n] (default: 1)
|
||
|
# the probability each round of this role being spawned at all
|
||
|
ttt_clown_random [0..100] (default: 30)
|
||
|
# the amount of players needed for this role to spawn
|
||
|
ttt_clown_min_players: [0..n] (default: 5)</code>
|
||
|
|
||
|
Rolespecific Convars:
|
||
|
<code># Can the Clown damage entities or props?
|
||
|
ttt2_clown_entity_damage [0/1] (default: 1)
|
||
|
# Can the Clown explode, burn, crush, fall, drown??
|
||
|
ttt2_clown_environmental_damage [0/1] (default: 1)
|
||
|
# How much should the killer clowns damage scale by (Damage x ?) ?
|
||
|
ttt2_clown_damage_bonus [0..5] (default: 1)
|
||
|
# How many credits should the Killer Clown get on activation?
|
||
|
ttt2_clown_activation_credits [0..5] (default: 1)
|
||
|
# How much health should the Killer Clown be set to (Set to 0 to not change)?
|
||
|
ttt2_clown_health_on_transform [0..100] (default: 0)</code>';
|
||
|
|
||
|
|
||
|
|
||
|
#
|
||
|
# Credits
|
||
|
#
|
||
|
|
||
|
#The Steam URL to your addon
|
||
|
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2605758514';
|
||
|
#The Source URL to your addon
|
||
|
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/Guardian954/ttt2-role_clown_git';
|
||
|
|
||
|
#Creator of the Addon
|
||
|
$author = 'Guardian954';
|
||
|
#Creatorlink
|
||
|
$authorurl = 'https://steamcommunity.com/id/guardianreborn';
|
||
|
|
||
|
# Credittext (can use the above variables)
|
||
|
$ctext = 'Custom Roles for TTT: creator of the original role.';
|
||
|
|
||
|
?>
|