Updated some files
This commit is contained in:
parent
3bc4fadb9c
commit
a1a2828639
@ -11,6 +11,17 @@ html {
|
||||
.blurry {
|
||||
backdrop-filter: blur(7px) !important;
|
||||
}
|
||||
|
||||
pre {
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
||||
overflow-x: auto;
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
pre code {
|
||||
color: #fff;
|
||||
background-color: #aaa;
|
||||
|
33
index.php
33
index.php
@ -58,12 +58,16 @@
|
||||
foreach ($files as $filename) {
|
||||
include $filename;
|
||||
|
||||
$shortname = substr($filename, 9);
|
||||
$shortname = substr($shortname, 0, -4);
|
||||
/*
|
||||
if ($count%2 == 1)
|
||||
{
|
||||
echo "<div class='row'>";
|
||||
}
|
||||
*/
|
||||
echo '
|
||||
<div class="col s12 m6">
|
||||
<div class="col s12">
|
||||
<div class="blurry">
|
||||
<div class="card '.$color.' '.$tcolor.'-text">
|
||||
<div class="card-content">
|
||||
@ -73,39 +77,46 @@
|
||||
<div class="card-tabs">
|
||||
<ul class="tabs tabs-fixed-width">
|
||||
<li class="tab col s3">
|
||||
<a class="active" href="#'.$name.'h2p"><i class="material-icons">help_outline</i></a>
|
||||
<a class="active" href="#'.$shortname.'h2p"><i class="material-icons">help_outline</i></a>
|
||||
</li>
|
||||
<li class="tab col s3">
|
||||
<a href="#'.$name.'pbw"><i class="material-icons">check</i></a>
|
||||
<a href="#'.$shortname.'pbw"><i class="material-icons">check</i></a>
|
||||
</li>
|
||||
<li class="tab col s3 hide-on-small-only">
|
||||
<a href="#'.$name.'convars"><i class="material-icons">code</i></a>
|
||||
<a href="#'.$shortname.'convars"><i class="material-icons">code</i></a>
|
||||
</li>
|
||||
<li class="tab col s3">
|
||||
<a href="#'.$name.'credits"><i class="material-icons">copyright</i></a>
|
||||
<a href="#'.$shortname.'credits"><i class="material-icons">copyright</i></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="card-content grey lighten-4 black-text">
|
||||
<div id="'.$name.'h2p">'.$howtoplay.'</div>
|
||||
<div id="'.$name.'pbw">'.$playsbestwith.'</div>
|
||||
<div id="'.$name.'convars">
|
||||
<pre><code>'.$convars.'</code></pre>
|
||||
<div id="'.$shortname.'h2p"><h5>How to play:</h5><pre>'.$howtoplay.'</pre></div>
|
||||
<div id="'.$shortname.'pbw"><h5>Plays best with:</h5>'.$playsbestwith.'</div>
|
||||
<div id="'.$shortname.'convars"><h5>Convars:</h5>
|
||||
<pre>'.$convars.'</pre>
|
||||
</div>
|
||||
<div id="'.$name.'credits">Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br>'.$ctext.'</div>
|
||||
<div id="'.$shortname.'credits"><h5>Credits:</h5>Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br><pre>'.$ctext.'</pre></div>
|
||||
|
||||
<div class="card-action '.$color.' ">
|
||||
<a class="'.$tcolor.'-text" href="'.$steam.' ">Steam</a>
|
||||
<a class="'.$tcolor.'-text" href="'.$source.'">Source</a>
|
||||
</div>
|
||||
</div
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
';
|
||||
|
||||
/*
|
||||
if ($count%2 == 0)
|
||||
{
|
||||
echo "</div>";
|
||||
}
|
||||
$count++;
|
||||
*/
|
||||
}
|
||||
if ($count%2 != 1) echo "</div>";
|
||||
// if ($count%2 != 1) echo "</div>";
|
||||
?>
|
||||
</div>
|
||||
|
||||
|
@ -17,7 +17,7 @@ $color = "indigo";
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Detective";
|
||||
$name = 'Detektiv';
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "Use your gadgets to find the enemies!";
|
||||
|
||||
|
@ -23,12 +23,12 @@ $description = "The Accomplice doesn't know his master... find him and protect!"
|
||||
|
||||
#How To play
|
||||
$howtoplay = "The Accomplice is a partner of the Traitor. The Accomplice is visible to the Traitor. But the Accomplice doesn't know who is the Traitor. So,you have to find him by yourself. In other words in werewolf game, the Madman.
|
||||
<ul>
|
||||
<li> The Accomplice can't win alone. </li>
|
||||
<li> The Accomplice can't buy Items from the shop(Default). </li>
|
||||
<li> The Accomplice has radar for corpses. </li>
|
||||
<li> The Accomplice can't transfer to Traitors. </li>
|
||||
</ul>
|
||||
|
||||
The Accomplice can't win alone.
|
||||
The Accomplice can't buy Items from the shop(Default).
|
||||
The Accomplice has radar for corpses.
|
||||
The Accomplice can't transfer to Traitors.
|
||||
|
||||
";
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
@ -39,7 +39,8 @@ $playsbestwith = "
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "# enable or disable this role
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_accom_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_accom_pct [0.0..1.0] (default: 0.17)
|
||||
@ -48,7 +49,7 @@ $convars = "# enable or disable this role
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_accom_random [0..100] (default: 50)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_accom_min_players: [0..n] (default: 8)";
|
||||
ttt_accom_min_players: [0..n] (default: 8)</code>";
|
||||
|
||||
#
|
||||
# Credits
|
||||
@ -65,5 +66,6 @@ $author = "JustSiro105";
|
||||
$authorurl = "https://steamcommunity.com/profiles/76561198327487098";
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = " Westoon[JPN]: creator of this role addon <br> irokuma105: idear of this role addon";
|
||||
$ctext = "Westoon[JPN]: creator of this role addon
|
||||
irokuma105: idear of this role addon";
|
||||
?>
|
||||
|
84
roles/en/amnesiac.php
Normal file
84
roles/en/amnesiac.php
Normal file
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = "white";
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = "deep-purple lighten-3";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Amnesiac";
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "A lost soul that has forgotten what he used to be, but is always looking for hints to his past identity..";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = "The Amnesiac is a new role that is looking to change to another in order to win. To do so, you will need to find a hint to his lost identity. Said hint can be found by confirming a dead players body. The Amnesiac will receive the role of the first player that they confirm that round.
|
||||
It has to be a confirmation (revealing who died and what team they were in) a simple inspection does not count!
|
||||
The Amnesiac changing their role will be announced to all players. Some additional features using TTT2s awesome and easy to use system have also been implemented. :)";
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
<ul>
|
||||
<li>Occultist</li>
|
||||
<li>Necromancer</li>
|
||||
<li>Pirate</li>
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_amnesiac_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_amnesiac_pct [0.0..1.0] (default: 0.17)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_amnesiac_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_amnesiac_random [0..100] (default: 50)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_amnesiac_min_players: [0..n] (default: 7)</code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code># Does the Amnesiac inform other players when he changes his role (popup event)
|
||||
ttt2_amnesiac_showpopup [0/1] (default 1)
|
||||
# Does the Amnesiac confirm a player when pressing [E] on a dead body when getting a role (disables confirmation message too!)
|
||||
ttt2_amnesiac_confirm_player [0/1] (default 0)
|
||||
# Does the Amnesiac only get roles from unconfirmed bodies
|
||||
ttt2_amnesiac_limit_to_unconfirmed [0/1] (default 1)</code>";
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2001213453";
|
||||
#The Source URL to your addon
|
||||
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/LunexSan/ttt2-role_amni";
|
||||
|
||||
#Creator of the Addon
|
||||
$author = "Lunex";
|
||||
#Creatorlink
|
||||
$authorurl = "https://steamcommunity.com/id/Lunexkun/";
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = "Lunex: Creator of this role addon
|
||||
Pythagorion: A huge thank you for the Icon Designs
|
||||
Mineotopia: Credits to him for immense help in coding this.";
|
||||
|
||||
?>
|
75
roles/en/arsonist.php
Normal file
75
roles/en/arsonist.php
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = "black";
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = "orange";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Arsonist";
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "He is an arsonist who likes things related to fire.";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = "The Arsonist is a partner of the Traitor. The Arsonist have a Flare gun and his own flamethrower.
|
||||
And he has a flame resistance.";
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
<ul>
|
||||
<li>Occultist</li>
|
||||
<li>TODO</li>
|
||||
<li>TODO (/shrug)</li>
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_ars_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_ars_pct [0.0..1.0] (default: 0.17)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_ars_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_ars_random [0..100] (default: 50)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_ars_min_players: [0..n] (default: 6)</code>";
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2652626080";
|
||||
#The Source URL to your addon
|
||||
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/westooooo/ttt2-role_arsonist";
|
||||
|
||||
#Creator of the Addon
|
||||
$author = "Westoon[JPN]";
|
||||
#Creatorlink
|
||||
$authorurl = "https://steamcommunity.com/profiles/76561198358406467";
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = "Lunex: Creator of this role addon
|
||||
Pythagorion: A huge thank you for the Icon Designs
|
||||
Mineotopia: Credits to him for immense help in coding this.";
|
||||
|
||||
?>
|
108
roles/en/banker.php
Normal file
108
roles/en/banker.php
Normal file
@ -0,0 +1,108 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = "black";
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = "light-green lighten-4";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Banker";
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "While the Detectives get all of the credit, everyone knows that Terrorist HQ would be nothing without its loyal Bankers.";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = 'The Banker is a "Detective" subrole who receives all of the credits that every other role spends in the shop. If there are multiple bankers, the credits are split among them in an equitable round robin manner.
|
||||
|
||||
The Banker could use a better workout regimen and diet plan. They have some trouble sprinting long distances and receive more damage than the average person.
|
||||
|
||||
For maximum profit, the Banker can transfer credits to a trustworthy Detective/Survivalist, who can then buy something and give the Banker back their hard-earned credits (This can only be done a certain number of times).
|
||||
|
||||
The best way to combat the Banker is through frugal spending and proper planning.';
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
<ul>
|
||||
<li>Survivalist</li>
|
||||
<li>Serialkiller</li>
|
||||
<li>Jackal</li>
|
||||
<li>Any other non-detective role that has access to a shop.</li>
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_banker_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_banker_pct [0.0..1.0] (default: 0.13)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_banker_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_banker_random [0..100] (default: 30)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_banker_min_players: [0..n] (default: 5)
|
||||
# the amount of credits this role starts with
|
||||
ttt_bank_credits_starting [0..n] (default: 2)</code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code># How many credits can the Banker receive from purchases other shoppers make (infinite if -1)?
|
||||
ttt2_banker_credit_ceiling [-1..n] (default: -1)
|
||||
# Should the banker's murderer receive all of their credits (provided that they are a shopping role)?
|
||||
ttt2_banker_ron_swanswon_will [0/1] (default: 0)
|
||||
# If the Banker dies, how should everyone be informed?
|
||||
ttt2_banker_broadcast_death_mode [0..3] (default: 0)
|
||||
# 0: No broadcasting will occur
|
||||
# 1: Everyone will be informed that the Banker committed suicide, regardless of what actually happened
|
||||
# 2: Everyone will be informed that the Banker has died
|
||||
# 3: If possible, the Banker's murderer will be made known to all, otherwise broadcast that they died under mysterious circumstances
|
||||
# Should the server broadcast anyone who covertly searches the Banker's dead body?
|
||||
ttt2_banker_broadcast_covert_search [0/1] (default: 0)
|
||||
# How many credits can the Banker give out to others per round (infinite if -1)?
|
||||
ttt2_banker_max_num_handouts [-1..n] (default: 2)
|
||||
# This multiplier applies directly to the damage that the banker would receive (ex. 2.0 means the banker takes twice as much damage from all sources).
|
||||
ttt2_banker_recv_dmg_multi [0.0..n.m] (default: 1.25)
|
||||
# This multiplier applies directly to the banker's speed (ex. 0.5 means the banker moves half as fast).
|
||||
ttt2_banker_speed_multi [0.0..n.m] (default: 1.0)
|
||||
# This multiplier applies directly to the banker's stamina regen (ex. 0.5 means the sprint bar fills up half the normal speed).
|
||||
ttt2_banker_stamina_regen [0.0..n.m] (default: 0.35)
|
||||
# This multiplier applies directly to how fast the banker's stamina bar depletes (ex. 2.0 means the sprint bar decays twice as fast).
|
||||
ttt2_banker_stamina_drain [0.0..n.m] (default: 1.25)</code>";
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2402704831";
|
||||
#The Source URL to your addon
|
||||
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_bank";
|
||||
|
||||
#Creator of the Addon
|
||||
$author = "BlackMagicFine";
|
||||
#Creatorlink
|
||||
$authorurl = "https://steamcommunity.com/profiles/76561198025772353/";
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = "BlackMagicFine: creator of this role addon
|
||||
Smuggles: designer of the role icon
|
||||
Wasted: designer of the role thumbnail
|
||||
Veldrim: heavily assisted with testing";
|
||||
|
||||
?>
|
123
roles/en/beacon.php
Normal file
123
roles/en/beacon.php
Normal file
@ -0,0 +1,123 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = "black";
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = "yellow lighten-5";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Beacon";
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "A simple and innocent person, they rose up to power as their friends fell one by one.";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = "The beacon is an innocent who becomes more powerful each time someone on their team is confirmed dead. How they are buffed is determined by a series of convars, but by default consists of minor improvements to a slew of stats, including: jump power, speed, damage resistance, damage, fire rate, and health regeneration.
|
||||
|
||||
If they accrue enough power, they literally light up and their role is revealed to everyone. This makes them as trustworthy as a detective, but will also alert antagonists to their growing power.
|
||||
|
||||
There is but one catch: The beacon mustn't kill someone on their team. If they do, they will become an innocent, and take (potentially lethal) damage. Furthermore, an innocent killer can never become a beacon (ex. an amnesiac who kills the beacon in an attempt to inherit their powers). Such a person becomes an innocent instead.
|
||||
|
||||
A final note: The default settings are on the weaker end of the balance spectrum, and exist mostly to show what it can do. Feel free to use the many convars to rebalance the beacon to best fit your server.";
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
<ul>
|
||||
<li>Amnesiac</li>
|
||||
<li>Unknown</li>
|
||||
<li>Wrath</li>
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_beacon_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_beacon_pct [0.0..1.0] (default: 0.15)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_beacon_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_beacon_random [0..100] (default: 30)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_beacon_min_players: [0..n] (default: 6)</code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code># the number of buffs that the beacon starts with
|
||||
ttt2_beacon_min_buffs [0..n] (default: 1)
|
||||
# The maximum number of buffs that the beacon can achieve
|
||||
ttt2_beacon_max_buffs [0..n] (default: 5)
|
||||
# Upon receiving this many buffs, the beacon lights up, revealing their role (like a detective)
|
||||
ttt2_beacon_deputize_num_buffs [0..n] (default: 3)
|
||||
# Beacon receives a buff when these types of players are confirmed dead
|
||||
ttt2_beacon_search_mode [0..3] (default: 0)
|
||||
# 0: Team mates are confirmed dead (innocents, survivalists, detectives, etc.)
|
||||
# 1: Non team mates are confirmed dead (traitors, infected, serial killers, jesters, etc.)
|
||||
# 2: Anyone is confirmed dead
|
||||
# 3: Do not buff based on player death
|
||||
# Beacon receives a buff the instant that a mate/non-mate/player dies (based on search_mode above)
|
||||
ttt2_beacon_buff_on_death [0/1] (default: 0)
|
||||
# Beacon receives a buff every x seconds. This is disabled if x is 0.
|
||||
ttt2_beacon_buff_every_x_seconds [0..n] (default: 0)
|
||||
# The damage the beacon receives if they kill one of their mates
|
||||
ttt2_beacon_judgement [0..n] (default: 20)
|
||||
# Beacon is demoted to Innocent if they kill someone on the Innocent team
|
||||
ttt2_beacon_demotion_enable [0/1] (default: 1)
|
||||
|
||||
###BUFFS###
|
||||
# The speed boost the beacon gets per buff (as a percentage of default speed)
|
||||
ttt2_beacon_speed_boost [0.0..n.m] (default: 0.2)
|
||||
# The stamina boost the beacon gets per buff (as a percentage of default stamina. Affects how long the beacon can sprint for)
|
||||
ttt2_beacon_stamina_boost [0.0..n.m] (default: 0.2)
|
||||
# The stamina regen boost the beacon gets per buff (as a percentage of default stamina regen. Affects how quickly the sprint meter refills)
|
||||
ttt2_beacon_stamina_regen_boost [0.0..n.m] (default: 0.2)
|
||||
# The jump power boost the beacon gets per buff (as a percentage of default jump power. If this is greater than 0, the beacon will receive the NoFallDamage item)
|
||||
ttt2_beacon_jump_boost [0.0..n.m] (default: 0.2)
|
||||
# The flat damage resistance boost the beacon gets per buff (as a percentage of damage which will be ignored)
|
||||
ttt2_beacon_resist_boost [0.0..n.m] (default: 0.15)
|
||||
# The armor the beacon gets per buff (by default a player with armor has 30+% damage reduction. Armor is reduced by each hit absorbed)
|
||||
ttt2_beacon_armor_boost [0..n] (default: 0)
|
||||
# The health regen per second the beacon gets per buff (ex. 0.2 ==> 1 HP every 5 seconds)
|
||||
ttt2_beacon_hp_regen_boost [0.0..n.m] (default: 0.2)
|
||||
# The damage boost the beacon gets per buff (as a percentage of default damage)
|
||||
ttt2_beacon_damage_boost [0.0..n.m] (default: 0.10)
|
||||
# The fire rate boost that the beacon gets per buff (as a percentage of default fire rate. Only applies to melee, pistol, and heavy type weapons)
|
||||
ttt2_beacon_fire_rate_boost [0.0..n.m] (default: 0.2)</code>";
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2199956605";
|
||||
#The Source URL to your addon
|
||||
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_beac";
|
||||
|
||||
#Creator of the Addon
|
||||
$author = "BlackMagicFine";
|
||||
#Creatorlink
|
||||
$authorurl = "https://steamcommunity.com/profiles/76561198025772353/";
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = "BlackMagicFine: creator of this role addon
|
||||
Smuggles: designer of the role icon
|
||||
Mineotopia: designer of the role thumbnail
|
||||
berry: Russian translation";
|
||||
|
||||
?>
|
95
roles/en/beggar.php
Normal file
95
roles/en/beggar.php
Normal file
@ -0,0 +1,95 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = "black";
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = "pink lighten-2";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = "Beggar";
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = "He just wants an Item, why is everyone so cruel!";
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = "A beggar is a Jester like role. They cannot deal damage and appear as a normal Jester to Traitors. They can die but will be resurrected to continue begging for a meaningful life. Their goal is to get dropped a bought item from any role with a shop, once they've been given an item they will convert to the persons team!
|
||||
|
||||
Example of interactions:
|
||||
Detective drops the beggar a weapon -> Beggar becomes innocent
|
||||
Traitor or Special traitor drops them a weapon -> Beggar becomes a plain Traitor
|
||||
Jackal drops them a weapon -> Beggar becomes a sidekick (if installed) or a Jackal (if sidekick isn't installed)
|
||||
Doppelganger drops a weapon -> Beggar becomes the same role as the Doppelganger and is on the Doppelgangers team.
|
||||
Have any suggestions for some other special interactions? Drop a comment with your ideas!";
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = "
|
||||
<ul>
|
||||
<li>Jackal</li>
|
||||
<li>Amnesiac</li>
|
||||
<li></li>
|
||||
<ul>
|
||||
";
|
||||
#Convars
|
||||
$convars = "Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_beggar_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_beggar_pct [0.0..1.0] (default: 0.15)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_beggar_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_beggar_random [0..100] (default: 30)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_beggar_min_players: [0..n] (default: 5)</code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code># Can the Beggar damage entities or props?
|
||||
ttt2_beggar_entity_damage [0/1] (default: 1)
|
||||
# Can the Beggar explode, burn, crush, fall, drown??
|
||||
ttt2_beggar_environmental_damage [0/1] (default: 1)
|
||||
# Should the Beggar respawn on death?
|
||||
ttt2_beggar_respawn [0/1] (default: 1)
|
||||
# How long should the Beggar take to respawn in seconds?
|
||||
ttt2_beggar_respawn_delay [0..60] (default: 3)
|
||||
# Who should be notified the Beggar has joined a team?
|
||||
ttt2_beggar_reveal_mode [0..3] (default: 0)
|
||||
# 0: Never reveal the beggar has changed team
|
||||
# 1: Only alert the detective or traiters the beggar has now joined their team
|
||||
# 2: Alert all of the beggars new team members
|
||||
# 3: Alert everyone of the beggars new team</code>";
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = "https://steamcommunity.com/sharedfiles/filedetails/?id=2605752081";
|
||||
#The Source URL to your addon
|
||||
$source = "https://steamcommunity.com/linkfilter/?url=https://github.com/Guardian954/TTT2-CustomRolesPort";
|
||||
|
||||
#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.";
|
||||
|
||||
?>
|
80
roles/en/blight.php
Normal file
80
roles/en/blight.php
Normal file
@ -0,0 +1,80 @@
|
||||
<?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";
|
||||
|
||||
?>
|
88
roles/en/bodyguard.php
Normal file
88
roles/en/bodyguard.php
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = 'black';
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = 'orange';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = 'Bodyguard';
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = 'By using his bare muscles, and the help of some bullets, he needs to protect the Person he got paid from.';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = 'The BodyGuard is a special case. Once he Spawns, he will get a random Player dedicated for him to protect and is also in the same Team as this Player. He will get a message which also reveals the Role of the Player he needs to protect. BUT, the BodyGuard will NOT see the other Players in the Team he is (so as Traitor he will not see other Traitors). Also the Player he needs to protect will get a message that a Player is his BodyGuard. Goal is to protect the Player you are dedicated to.
|
||||
|
||||
If the Player you need to protect dies, you will get some damage (or die depending on the Convar settings below) and you will also get a new Player to protect.
|
||||
|
||||
If you damage the Person you should protect, he will get less damage and you will get much damage back (Depending on the convar settings below). If you somehow manage to kill the Person you need to protect, you will also die (Depending on the convar settings below).
|
||||
';
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = '
|
||||
<ul>
|
||||
<li>Jackal</li>
|
||||
<li>Pirate</li>
|
||||
<li>And probably all other Roles</li>
|
||||
<ul>
|
||||
';
|
||||
#Convars
|
||||
$convars = 'Normal Role Convars (also found in ULX):
|
||||
<code># enable or disable this role
|
||||
ttt_bodyguard_enabled [0/1] (default: 1)
|
||||
# the percentage of players that are spawned as this role
|
||||
ttt_bodyguard_pct [0.0..1.0] (default: 0.13)
|
||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||
ttt_bodyguard_max [0..n] (default: 1)
|
||||
# the probability each round of this role being spawned at all
|
||||
ttt_bodyguard_random [0..100] (default: 20)
|
||||
# the amount of players needed for this role to spawn
|
||||
ttt_bodyguard_min_players: [0..n] (default: 8)</code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code># the damage a bodyguard will get if the person he needs to protect dies
|
||||
ttt_bodygrd_damage_guarded_death [0..n] (def: 20)
|
||||
# defines if the bodyguard should be killed if he manages to kill the person he needs to protect
|
||||
ttt_bodygrd_kill_guard_teamkill [0/1] (def: 1)
|
||||
# the multiplier of damage that gets reflected to the bodyguard if damaging the person he needs to protect
|
||||
ttt_bodygrd_damage_reflect_multiplier [0..n] (def: 1.5)
|
||||
# the multiplier of damage that the person will get if damaged by his bodyguard
|
||||
ttt_bodygrd_damage_dealt_multiplier [0..n] (def: 0.1)</code>';
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=1795539570';
|
||||
#The Source URL to your addon
|
||||
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/TheNickSkater/ttt2-bodyguard';
|
||||
|
||||
#Creator of the Addon
|
||||
$author = 'NickCloudAT';
|
||||
#Creatorlink
|
||||
$authorurl = 'https://steamcommunity.com/id/nickcloudat';
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = 'Alf21: creator of TTT2
|
||||
Mineotopia: designer of the WS icon and probably most TTT2 designs';
|
||||
|
||||
?>
|
66
roles/en/clairvoyant.php
Normal file
66
roles/en/clairvoyant.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = '';
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = '';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = 'Clairvoyant';
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = '';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = '';
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = '
|
||||
<ul>
|
||||
<li></li>
|
||||
<li></li>
|
||||
<li></li>
|
||||
<ul>
|
||||
';
|
||||
#Convars
|
||||
$convars = 'Normal Role Convars (also found in ULX):
|
||||
<code></code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code></code>';
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = '';
|
||||
#The Source URL to your addon
|
||||
$source = '';
|
||||
|
||||
#Creator of the Addon
|
||||
$author = '';
|
||||
#Creatorlink
|
||||
$authorurl = '';
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = '';
|
||||
|
||||
?>
|
66
roles/en/template.php
Normal file
66
roles/en/template.php
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
#
|
||||
# COLORS
|
||||
#
|
||||
|
||||
# Text Color
|
||||
$tcolor = '';
|
||||
# This is the color defined by https://materializecss.com/color.html
|
||||
$color = '';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# BASEINFO
|
||||
#
|
||||
|
||||
#The Name of the Role
|
||||
$name = '';
|
||||
#The Description of the Role, HTML conform :)
|
||||
$description = '';
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# TABS
|
||||
#
|
||||
|
||||
#How To play
|
||||
$howtoplay = '';
|
||||
#With what roles does this role play best?
|
||||
$playsbestwith = '
|
||||
<ul>
|
||||
<li></li>
|
||||
<li></li>
|
||||
<li></li>
|
||||
<ul>
|
||||
';
|
||||
#Convars
|
||||
$convars = 'Normal Role Convars (also found in ULX):
|
||||
<code></code>
|
||||
|
||||
Rolespecific Convars:
|
||||
<code></code>';
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Credits
|
||||
#
|
||||
|
||||
#The Steam URL to your addon
|
||||
$steam = '';
|
||||
#The Source URL to your addon
|
||||
$source = '';
|
||||
|
||||
#Creator of the Addon
|
||||
$author = '';
|
||||
#Creatorlink
|
||||
$authorurl = '';
|
||||
|
||||
# Credittext (can use the above variables)
|
||||
$ctext = '';
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user