TTT_Role_Overview/roles/en/executioner.php

81 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2022-03-29 22:26:53 +00:00
<?php
#
# COLORS
#
# Text Color
$tcolor = 'white';
# This is the color defined by https://materializecss.com/color.html
$color = 'red lighten-1';
#
# BASEINFO
#
#The Name of the Role
$name = 'Executioner';
#The Description of the Role, HTML conform :)
$description = "There are people who deserve to die, as you'll be the one to do it.";
#
# TABS
#
#How To play
$howtoplay = "The Executioner is on the traitor team. They have a target, similar to the Hitman role. They deal extra damage to their target while dealing less damage to non-targets. If they kill a non-target, they won't get a new target for an amount of time that can be configured.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Any Role</li>
<ul>
';
#Convars
$convars = 'Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_executioner_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_executioner_pct [0.0..1.0] (default 0.15)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_executioner_max [0.0..n] (default: 1)
# the probility each round of this role being spawned at all
ttt_executioner_random [0..100] (default: 33)
# the amount of players needed for this role to spawn
ttt_executioner_min_players: [0..n] (default: 6)</code>
Rolespecific Convars:
<code># the length of time before the executioner waits for a new target after killing a non-target
ttt2_executioner_punishment_time [0..n] (default 60)
# the multiplier applied to damage the executioner deals to their target
ttt2_executioner_target_multiplier [1..n] (default 2)
# the multiplier applied to damage the executioner deals to non targets
ttt2_executioner_non_target_multiplier [0.0..1.0] (default 0.5)</code>';
#
# Credits
#
#The Steam URL to your addon
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2133752484';
#The Source URL to your addon
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/ZacharyHinds/ttt2-role-executioner';
#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
Tim | Mineotopia: creator of the role icon
Alf21: creator of the hitman role upon which I based my target code';
?>