diff --git a/css/styles.css b/css/styles.css index 8c4fb2a..f88dad7 100644 --- a/css/styles.css +++ b/css/styles.css @@ -26,7 +26,9 @@ body::-webkit-scrollbar-thumb { .card { opacity: 0.9; -} + background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+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d4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==") repeat center center; + } + .blurry { backdrop-filter: blur(7px) !important; } diff --git a/index.php b/index.php index 2d999df..d316010 100644 --- a/index.php +++ b/index.php @@ -80,7 +80,7 @@
'.$howtoplay.'
'.$convars.'
'.$convars.'
# 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)
+
+Rolespecific Convars:
+# 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)
';
+
+
+
+#
+# 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';
+
+?>
diff --git a/roles/en/glutton.php b/roles/en/glutton.php
new file mode 100644
index 0000000..86b441f
--- /dev/null
+++ b/roles/en/glutton.php
@@ -0,0 +1,124 @@
+
+# enable or disable this role
+ ttt_glutton_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_glutton_pct [0.0..1.0] (default 0.15)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_glutton_max [0.0..n] (default: 1)
+# the probility each round of this role being spawned at all
+ ttt_glutton_random [0..100] (default: 33)
+# the amount of players needed for this role to spawn
+ ttt_glutton_min_players: [0..n] (default: 6)
+
+Glutton Convars:
+# the rate at which Devour's eat ability spawns blood
+ ttt2_eat_bleed_amount [0.00..n.nn] (default: 0.05)
+# whether or not to emit the blood smoke trail
+ ttt2_glut_do_blood_smoke [0 or 1] (default: 1)
+# whether or not the glutton turns into Ravenous when they start starving
+ ttt2_glut_turn_rav [0 or 1] (default: 1)
+# how many seconds it takes for the glutton to completely starve (empty their hunger)
+ ttt2_glut_hunger [0..n] (default: 120)
+# the maximum health the glutton/ravenous can reach
+ ttt2_glut_rav_max_health [0..n] (default: 250)
+# what fraction of the damage dealt should devour heal
+ ttt2_glut_devour_dmg_heal [0.0..n.n] (default 0.2)
+# what fraction of hunger should devour fill
+ ttt2_glut_devour_dmg_hunger [0.0..n.n] (default: 0.1)
+# minimum damage devour deals (damage at max hunger)
+ ttt2_glut_devour_dmg_base [0..n] (default: 20)
+# maximum damage devour deals (damage at starving/Ravenous)
+ ttt2_glut_devour_dmg_max [0..n] (default: 100)
+# health gained from a kill with devour
+ ttt2_glut_devour_kill_bonus [0..n] (default: 10)
+# fraction of hunger filled by devour kill
+ ttt2_glut_devour_kill_feed [0.0..n.n] (default: 0.20)
+# minimum time it takes to eat body (time at starving/Ravenous)
+ ttt2_glut_eat_time_base [0.0..n.n] (default: 0.50)
+# maximum time it takes to eat body (time at full hunger)
+ ttt2_glut_eat_time_max [0.0..n.n] (default: 5.00)
+# health gain from eating body
+ ttt2_glut_eat_health [0..n] (default: 50)
+# fractional hunger gain from eating body
+ ttt2_glut_eat_hunger [0.0..n.n] (default: 0.33)
+# minimum movement speed multiplier when holding Devour (speed at Full Hunger)
+ ttt2_glut_speed_base [0.0..n.n] (default: 1.0)
+# maximum movement speed multiplier when holding Devour (speed at starving/Ravenous)
+ ttt2_glut_speed_max [0.0..n.n] (default: 2.0)
+# minimum sprint regen multiplier when holding Devour (regen at Full Hunger)
+ ttt2_glut_stamina_base [0.0..n.n] (default: 1.0)
+# maximum sprint regen multiplier when holding Devour (regen at starving/Ravenous)
+ ttt2_glut_stamina_max [0.0..n.n] (default: 2.0)
+# Delay after hitting zero hunger before begin starving/transforming into Ravenous
+ ttt2_glut_rav_grace_time [0..n] (default: 5)
+
+Ravenous Convars (also found in F1 Menu):
+# how much damage the Ravenous takes per 5 seconds
+ ttt2_rav_hurt [0..n] (def. 5)
+# how often the ravenous' radar scans
+ ttt2_rav_radar_time [0..n] (def. 15)
+# who gets alerted when Glutton becomes Ravenous (0 - only transforming player, 1 - everyone, 2 - traitors)
+ ttt2_rav_alert [0,1,2] (def. 1)
";
+
+
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2465037140';
+#The Source URL to your addon
+$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/ZacharyHinds/ttt2-role-drk';
+
+#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
+YAROK: creator of icons';
+
+?>
diff --git a/roles/en/haunted.php b/roles/en/haunted.php
new file mode 100644
index 0000000..ceaedd8
--- /dev/null
+++ b/roles/en/haunted.php
@@ -0,0 +1,87 @@
+
+# enable or disable this role
+ ttt_haunted_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_haunted_pct [0.0..1.0] (default: 0.15)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_haunted_max [0..n] (default: 1)
+# the probability each round of this role being spawned at all
+ ttt_haunted_random [0..100] (default: 30)
+# the amount of players needed for this role to spawn
+ ttt_haunted_min_players: [0..n] (default: 6)
+
+Rolespecific Convars:
+# Who should see announcements about hauntings?
+ ttt2_haunted_declare_mode [0..2] (default: 2)
+ # 0: Don't declare the Haunted's status.
+ # 1: Declare the Haunted's status to every player.
+ # 2: Declare the Haunted's status to only traitors
+# How much health should the Haunted revive with?
+ ttt2_haunted_revive_health [0..n] (default: 50)
+# Should players leave a trail of smoke if they are currently being haunted?
+ ttt2_haunted_smoke_mode [0/1] (default: 1)
+# Should the Haunted respawn at worldspawn or their body?
+ ttt2_haunted_worldspawn [0/1] (default: 0)
";
+
+
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = 'https://steamcommunity.com/sharedfiles/filedetails/?id=2654304108';
+#The Source URL to your addon
+$source = 'https://steamcommunity.com/linkfilter/?url=https://github.com/AaronMcKenney/ttt2-role_haunt';
+
+#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
+Mineotopia: designer of the role thumbnail
+KindPNG Haunted House Symbol[www.kindpng.com]: role icon created by modifying this image
+Wasted: designer of the Spectre, which this role reuses a lot of code from
+Haxray: came up with the idea for the Haunted';
+
+?>
diff --git a/roles/en/hidden.php b/roles/en/hidden.php
new file mode 100644
index 0000000..012b19d
--- /dev/null
+++ b/roles/en/hidden.php
@@ -0,0 +1,92 @@
+
+
+
+
+# enable or disable this role
+ ttt_hidden_enabled [0/1] (default: 1)
+# the percentage of players that are spawned as this role
+ ttt_hidden_pct [0.0..1.0] (default 0.15)
+# the limit of players that spawn as this role each round, this overwrites the percentage
+ ttt_hidden_max [0.0..n] (default: 1)
+# the probility each round of this role being spawned at all
+ ttt_hidden_random [0..100] (default: 33)
+# the amount of players needed for this role to spawn
+ ttt_hidden_min_players: [0..n] (default: 6)
+
+Rolespecific Convars:
+# the delay before the hidden's knife returns after being thrown
+ ttt2_hdn_knife_delay (default: 15)
+# the delay before the hidden's grenade restocks
+ ttt2_hdn_nade_delay (default: 30)
+# the duration of the hidden's stun grenade's effect
+ ttt2_hdn_stun_duration (default: 5)
";
+
+
+
+#
+# Credits
+#
+
+#The Steam URL to your addon
+$steam = '';
+#The Source URL to your addon
+$source = '';
+
+#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
+The Hidden Source[www.hidden-source.com]: Inspiration for role
+fortune: creator of the port of The Hidden gamemode for Garry's Mod whose vision effect I used for this role.";
+
+?>