Added some roles

This commit is contained in:
Jesse James Isler 2022-03-28 22:18:31 +02:00
parent a1a2828639
commit f9386428bf
6 changed files with 535 additions and 15 deletions

View File

@ -4,9 +4,9 @@
#
# Text Color
$tcolor = '';
$tcolor = 'black';
# This is the color defined by https://materializecss.com/color.html
$color = '';
$color = 'yellow';
@ -18,7 +18,7 @@ $color = '';
#The Name of the Role
$name = 'Clairvoyant';
#The Description of the Role, HTML conform :)
$description = '';
$description = 'Looking at the aura of players surrounding him everything becomes clear for him. Finally someone will be able to stop all these lies.';
@ -28,21 +28,34 @@ $description = '';
#
#How To play
$howtoplay = '';
$howtoplay = "The clairvoyant is an innocent that sees special roles. This includes all special inocent and traitor roles as well as all other special roles in the round. Special roles are all roles besides the normal innocent, traitor and detective. They don't see the special role, they only see if they have one or not.
The amount of roles that the clairvoyant can see can be set with a convar.
Additionally in combination with the sidekick and the jester, they can kill the jester as the only player without receiving a penalty or triggering the jesters winstate! After their death, the jester will immedially respawn as a sidekick of the clairvoyant.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li></li>
<li></li>
<li></li>
<li>Jester</li>
<li>Sidekick</li>
<li>Hitman</li>
<ul>
';
#Convars
$convars = 'Normal Role Convars (also found in ULX):
<code></code>
$convars = "Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_clairvoyant_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_clairvoyant_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_clairvoyant_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_clairvoyant_random [0..100] (default: 100)
# the amount of players needed for this role to spawn
ttt_clairvoyant_min_players: [0..n] (default: 8)</code>
Rolespecific Convars:
<code></code>';
<code># the percentage of visible player's roles
ttt2_cv_visible [0..n] (default: 100)</code>";
@ -51,16 +64,17 @@ Rolespecific Convars:
#
#The Steam URL to your addon
$steam = '';
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=1357255271';
#The Source URL to your addon
$source = '';
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/TTT-2/ttt2-role_cv';
#Creator of the Addon
$author = '';
$author = 'Alf21';
#Creatorlink
$authorurl = '';
$authorurl = 'https://steamcommunity.com/id/alf21';
# Credittext (can use the above variables)
$ctext = '';
$ctext = 'Alf21: creator of this role addon
Mineotopia: designer of the role icon';
?>

82
roles/en/clown.php Normal file
View File

@ -0,0 +1,82 @@
<?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.';
?>

91
roles/en/cupid.php Normal file
View File

@ -0,0 +1,91 @@
<?php
#
# COLORS
#
# Text Color
$tcolor = 'black';
# This is the color defined by https://materializecss.com/color.html
$color = 'pink darken-1';
#
# BASEINFO
#
#The Name of the Role
$name = 'Cupid';
#The Description of the Role, HTML conform :)
$description = "Cupid is the role of love. Spread love in this Traitor infested World!";
#
# TABS
#
#How To play
$howtoplay = "<h6>Cupid:</h6>
Cupid starts the round with his crossbow. The crossbow will be invisible to other players. 'Shooting' it only makes particles on Cupids end and lets two Players fall in love. Using Cupid's crossbow after someone already died will nullify the effect without warning to prevent abuse.Other than that Cupid is a standard Innocent.
<h6>Lovers:</h6>
After falling in Love the Lovers get notified of their fate and their team and split all their damage between eachother! If a lover miraculously survives the damage split they will die of a broken heart in 5 seconds! When the lovers are in opposite Teams i.e. Innocent and Traitor they will form their own Team and win when everyone else is dead. They can also see their loved one through walls and get notified if their significant other died, before them leaving this world as themself.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Serialkiller</li>
<ul>
';
#Convars
$convars = 'Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_cup_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_cup_pct [0.0..1.0] (default: 0.15)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_cup_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_cup_random [0..100] (default: 15)
# the amount of players needed for this role to spawn
ttt_cup_min_players: [0..n] (default: 6)</code>
Rolespecific Convars:
<code># whether or not the lovers split their damage
ttt_cupid_damage_split_enabled [0/1] (default: 1)
# whether or not the old weapon is used
ttt_cupid_old_weapon [0/1] (default: 0)
# whether or not the cupid has to be one of the Lovers
ttt_cupid_forced_selflove [0/1] (default: 0)
# whether or not lovers will always be in their own team
ttt_cupid_lovers_force_own_team [0/1] (default: 0)
# whether or not cupid will join the loved ones
ttt_cupid_joins_team_lovers [0/1] (default: 0)
# how long cupid should be able to use his crossbow
ttt_cupid_timelimit_magic [0/999] (default:60)</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 = 'SilverLous';
#Creatorlink
$authorurl = 'https://steamcommunity.com/id/Bidoof_is_President';
# Credittext (can use the above variables)
$ctext = 'Alf21, Mineotopia, Tobse, LeBroomer: Creators of the required addon TTT2
Translation by Tekiad and Blueberryy
Artwork by Mineotopia';
?>

110
roles/en/cursed.php Normal file
View File

@ -0,0 +1,110 @@
<?php
#
# COLORS
#
# Text Color
$tcolor = 'white';
# This is the color defined by https://materializecss.com/color.html
$color = 'deep-purple darken-1';
#
# BASEINFO
#
#The Name of the Role
$name = 'Cursed';
#The Description of the Role, HTML conform :)
$description = 'Cursed to fail. Cursed to be weak. Cursed to live forever.';
#
# TABS
#
#How To play
$howtoplay = "The Cursed has no team and cannot win. They cannot deal damage. Death is impermanent as they will always resurrect. A player who has been afflicted must work to remove their Cursed status, which can only be done by changing roles. Two methods are provided to them: They can 'tag' a different player by interacting with them, or they can shoot a different player with their RoleSwap Deagle. Both of these methods will swap roles between the two players, meaning that over time, everyones' roles will be shuffled. A former Cursed cannot be 'tagged' (and may not harm the new Cursed player) until another role swap has occurred (i.e. 'No backsies').
Think of it like a game of tag, if it makes you feel better.
Also you can press 'V' to set yourself on fire. Use this to respawn at worldspawn if you happen to die, or to set yourself on fire.
I also created two items that involve this role: <a href='https://steamcommunity.com/sharedfiles/filedetails/?id=2588987999'> Countercurse Mantra</a> and <a href='https://steamcommunity.com/sharedfiles/filedetails/?id=2588990281'>Cursed Deagle</a>.";
#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_cursed_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_cursed_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_cursed_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_cursed_random [0..100] (default: 30)
# the amount of players needed for this role to spawn
ttt_cursed_min_players: [0..n] (default: 6)</code>
Rolespecific Convars:
<code># Can the Cursed swap roles with Detectives?
ttt2_cursed_affect_det [0/1] (default: 1)
# Is the Cursed immune to all forms of damage?
ttt2_cursed_damage_immunity [0/1] (default: 0)
# How many seconds must pass before the Cursed respawns (Respawning disabled if <= 0)?
ttt2_cursed_seconds_until_respawn [0..n] (default: 10)
# When the Cursed respawns, will they respawn at a randomly selected player spawn?
Note: If disabled, the Cursed will respawn where they died.
ttt2_cursed_respawn_at_mapspawn [0/1] (default: 0)
# What is the range on the Cursed's tagging ability (close range role swap via interaction)?
ttt2_cursed_tag_dist [0..n] (default: 150)
# How long must the Cursed wait before they can tag someone who tagged them (No backsies if 0)?
ttt2_cursed_backsies_timer [0..n] (default: 0)
# Can a player damage Cursed players while they have 'No backsies'?
ttt2_cursed_no_dmg_backsies [0/1] (default: 0)
# How should the Cursed's Self-Immolate ability work?
ttt2_cursed_self_immolate_mode [0..2] (default: 2)
# 0: Cursed cannot self-immolate
# 1: Cursed can only set their corpse on fire
# 2: Cursed can self-immolate when alive or dead
# This multiplier applies directly to the Cursed's speed (ex. 2.0 means they move twice as fast).
ttt2_cursed_speed_multi [0.0..n.m] (default: 1.2)
# This multiplier applies directly to the Cursed's stamina regen (ex. 2.0 means the sprint bar fills up twice the normal speed).
ttt2_cursed_stamina_regen [0.0..n.m] (default: 1.0)
# This multiplier applies directly to how fast the Cursed's stamina bar depletes (ex. 0.5 means the sprint bar decays at half the normal speed).
ttt2_cursed_stamina_drain [0.0..n.m] (default: 0.35)
# Should the Cursed spawn with a RoleSwap deagle, for long-range swapping?
ttt2_role_swap_deagle_enable [0/1] (default: 1)
# How long does it take for the RoleSwap deagle to refill its ammo (Won't refill if <= 0)?
ttt2_role_swap_deagle_refill_time [0..n] (default: 30)</code>";
#
# Credits
#
#The Steam URL to your addon
$steam = 'https://steamcommunity.com/workshop/filedetails/?id=2535321538';
#The Source URL to your addon
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_curs';
#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';
?>

View File

@ -0,0 +1,115 @@
<?php
#
# COLORS
#
# Text Color
$tcolor = 'white';
# This is the color defined by https://materializecss.com/color.html
$color = 'pink darken-4';
#
# BASEINFO
#
#The Name of the Role
$name = 'Cyclone & Hurricane';
#The Description of the Role, HTML conform :)
$description = 'Havoc brings destruction. But it also brings hope & a new beginning. Hurricane creates a path to new hope as Cyclone tears it all down again.';
#
# TABS
#
#How To play
$howtoplay = "These roles have been inspired by the card game 'The Werewolves of Millers Hollow' (ger.: Die Werwölfe von Düsterwald). They are based on the raven.
The Cyclone plays with the Traitor team, during the Hurricane plays as a policing role in the team of the Innocents. Both play almost the same, so you can play with only one of them without any problems, but the roleplay is most interesting when both roles are active.
The Cyclone is a normal traitor - besides their special ability, the Hurricane, however, has a special rule to be played with:
The Hurricane starts with no credits and they won't be able to get credits throughout the game. But they do see the range of the traitor shop, so if you play with random shop, Hurricane will know which items are currently available in the traitor's shop.
Lastly, both Cyclone and Hurricane have a common feature: They can mark a player as 'suspicious'. If they do so, the player will be shown to everyone and they can reach only a specific amount of HP throughout the round. (It works like the threatening letter of the raven from 'Werewolves')
To mark someone, they do not have an extra weapon in the process, like other roles. Instead, the first bullet or grenade they hit a player with marks that player. This bullet or grenade does not wound the player, but only marks him. Their name is then shown on a HUD element, so everyone will know everytime that the player is suspicious and their HP will be reduced.
But beware: Cyclone and Hurricane share the same HUD element and only the last marked player will stay marked, so both can manipulate each other.
Note: Some features explained here, might differ, if they are configured differently by means of the convars. Other setting can be changed in the role settings in the F1 menu.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Impostor</li>
<li>Vigilante</li>
<li>Marker</li>
<ul>
';
#Convars
$convars = "Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_cyclone_enabled [0/1] (default: 1)
ttt_hurricane_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_cyclone_pct [0.0..1.0] (default: 0.15)
ttt_hurricane_pct [0.0..1.0] (default: 0.15)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_cyclone_max [0..n] (default: 1)
ttt_hurricane_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_cyclone_random [0..100] (default: 33)
ttt_hurricane_random [0..100] (default: 33)
# the amount of players needed for this role to spawn
ttt_cyclone_min_players: [0..n] (default: 7)
ttt_hurricane_min_players: [0..n] (default: 7)</code>
Rolespecific Convars:
<code># Does the Cyclone/Hurricane lose their weapon, they marked a player with?
ttt_cyclone_always_strip_weapons [0/1] (default: 1)
ttt_hurricane_always_strip_weapons [0/1] (default: 1)
# What is the maximum HP the marked player can reach while being marked?
ttt_cyclone_set_max_health [0.. 100] (default: 50)
ttt_hurricane_set_max_health [0.. 100] (default: 50)
# How many HP does the marked player get when they are marked?
ttt_cyclone_set_cur_health [0.. 100] (default: 50)
ttt_hurricane_set_cur_health [0.. 100] (default: 50)
# Should a pop up with info about the marked player be displayed when the player is marked?
ttt_cyclone_print_anounce_popup [0/1] (default: 1)
ttt_hurricane_print_anounce_popup [0/1] (default: 1)
# Mute the marked player's voice Chat as long as they are marked?
ttt_cyclone_mute_marked_ply [0/1] (default: 1)
ttt_hurricane_mute_marked_ply [0/1] (default: 1)
# Disable the marked player's team chat (if there is one) as long as they are marked?
ttt_cyclone_disable_tchat [0/1] (default: 1)
ttt_hurricane_disable_tchat [0/1] (default: 1)
# Disable the marked player's general chat as long as they are marked?
ttt_cyclone_disable_gchat [0/1] (default: 1)
ttt_hurricane_disable_gchat [0/1] (default: 1)</code>";
#
# Credits
#
#The Steam URL to your addon
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2649192326';
#The Source URL to your addon
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/Pythagorion/ttt2-role_cyc_and_hurr';
#Creator of the Addon
$author = 'aPythagorion';
#Creatorlink
$authorurl = 'https://steamcommunity.com/id/bypythagyros';
# Credittext (can use the above variables)
$ctext = 'Pythagorion: creator of this role addon
Mineotopia: designer of the role icon and co-coder';
?>

108
roles/en/defective.php Normal file
View File

@ -0,0 +1,108 @@
<?php
#
# COLORS
#
# Text Color
$tcolor = 'white';
# This is the color defined by https://materializecss.com/color.html
$color = 'deep-purple darken-1';
#
# BASEINFO
#
#The Name of the Role
$name = 'Defective';
#The Description of the Role, HTML conform :)
$description = 'It cost us significant capital, but we finally did it. We turned a detective into a no good rotten traitor.';
#
# TABS
#
#How To play
$howtoplay = "Visually and functionally, the defective operates similarly to a regular detective. They use the detective's shop, have a DNA scanner, and look like a detective to those not on their team. However, they are a traitor: They take up a traitor's spot and a traitor test will reveal them as such.";
#With what roles does this role play best?
$playsbestwith = '
<ul>
<li>Spy</li>
<li>Mesmerist</li>
<li>Bodyguard</li>
<li>2+ Detectives</li>
<ul>
';
#Convars
$convars = "Normal Role Convars (also found in ULX):
<code># enable or disable this role
ttt_defective_enabled [0/1] (default: 1)
# the percentage of players that are spawned as this role
ttt_defective_pct [0.0..1.0] (default: 0.13)
# the limit of players that spawn as this role each round, this overwrites the percentage
ttt_defective_max [0..n] (default: 1)
# the probability each round of this role being spawned at all
ttt_defective_random [0..100] (default: 30)
# the amount of players needed for this role to spawn
ttt_defective_min_players: [0..n] (default: 10)</code>
Rolespecific Convars:
<code># Send a popup message if there's a defective and detective at the start of the round?
ttt2_defective_inform_everyone [0/1] (default: 1)
# Prevent the detective from purchasing items that aren't in the defective's shop?
# You can create your own custom shop for the defective via the 'shopeditor' command.
# You can use this as a way to prevent the detective from purchasing a portable tester, golden deagle, etc. when a defective is active.
# Do not enable if ttt2_random_team_shops is enabled (may prevent dets from purchasing most things at random).
ttt2_defective_shop_order_prevention [0/1] (default: 0)
# Prevent all defectives and detectives from harming one another (unless all other members on their teams are dead)?
ttt2_defective_detective_immunity [0/1] (default: 1)
# Can the defective see their fellow team mates (e.g. traitors, bodyguards, etc.)?
ttt2_defective_can_see_traitors [0/1] (default: 1)
# Are traitors informed about who the defective is?
ttt2_defective_can_be_seen_by_traitors [0/1] (default: 1)
# Can the defective see their fellow defectives?
ttt2_defective_can_see_defectives [0/1] (default: 1)
# When should def's true role be revealed?
ttt2_defective_corpse_reveal_mode [0..3] (default: 0)
# 0: Search never reveals def's role
# 1: Search reveals def's role when all dets and defs are dead
# 2: Search reveals def's role when all defs are dead
# 3: Search reveals def's role
# How should special detectives (ex. Sheriff, Vigilante, Sniffer) be handled when the defective is in play?
ttt2_defective_special_det_handling_mode [0..2] (default: 1)
# 0: Do not alter special dets
# 1: Force all special dets to be normal dets
# 2: Force all special dets to be normal dets, but give them back their roles if: all defs are dead, defs can be revealed, and the former special det didn't undergo a role change (ex. did not become infected)
# If there are no detectives at the beginning of the round, should any player with this role be forced into a generic Traitor role?
ttt2_defective_disable_spawn_if_no_detective [0/1] (default: 1)
# The chance that at the beginning of the round a detective will be 'demoted' into an innocent for every defective.
Note: ttt2_defective_inform_everyone won't activate if all detectives have been demoted.
Note: ttt2_defective_disable_spawn_if_no_detective takes priority over this ConVar.
ttt2_defective_demote_detective_pct [0.0..n.m] (default: 0.0)</code>";
#
# Credits
#
#The Steam URL to your addon
$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2251440528';
#The Source URL to your addon
$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_def';
#Creator of the Addon
$author = 'blackmagicfine';
#Creatorlink
$authorurl = 'https://steamcommunity.com/profiles/76561198025772353';
# Credittext (can use the above variables)
$ctext = 'Pythagorion: creator of this role addon
Mineotopia: designer of the role icon and co-coder';
?>