Malivil / TTT-Randomat-20

6 stars 2 forks source link

Thanks to Dem for the 'TTT Randomat 2.0' mod which this is an update to.\ Thanks to Gamefreak for the 'TTT Randomat' mod which THAT was an update to. \ \ Edits the original version to support Custom Roles for TTT and add additional events

General Commands

_ttt_randomattrigger EVENT - Triggers a specific randomat event without checking conditions.\ _ttt_randomatsafetrigger EVENT - Triggers a specific randomat event after checking conditions.\ _ttt_randomatclearevent EVENT - Clears a specific randomat active event.\ _ttt_randomatclearevents - Clears all active events.\ _ttt_randomattriggerrandom - Triggers a random randomat event.\ _ttt_randomatdisableall - Disables all events.\ _ttt_randomatenableall - Enables all events.\ _ttt_randomatresetweights - Resets all weights to their defaults.\ _ttt_randomatclearhistory - Clears the event history list.

General ConVars

_ttt_randomatauto - Default: 0 - Whether the Randomat should automatically trigger on round start.\ _ttt_randomat_auto_minrounds - Default: 0 - The minimum number of completed rounds before auto-Randomat can trigger.\ _ttt_randomat_autochance - Default: 1 - Chance of the auto-Randomat triggering.\ _ttt_randomat_autosilent - Default: 0 - Whether the auto-started event should be silent.\ _ttt_randomat_autochoose - Default: 0 - Whether the auto-started event should be "Choose".\ _ttt_randomatchooseevent - Default: 0 - Allows you to choose out of a selection of events.\ _ttt_randomatrebuyable - Default: 0 - Whether you can buy more than one Randomat.\ _ttt_randomat_eventweight - Default: 1 - The default selection weight each event should use.\ _ttt_randomat_eventhint - Default: 1 - Whether the Randomat should print what each event does when they start.\ _ttt_randomat_event_hintchat - Default: 1 - Whether hints should also be put in chat.\ _ttt_randomat_eventhistory - Default: 10 - How many events should be kept in history. Events in history will are ignored when searching for a random event to start.\ _ttt_randomat_allow_clientlist - Default: 1 - Whether to allow the clients to have the "Active Events" label and list available.\ _ttt_randomat_always_silentlytrigger - Default: "" - Specify an event ID to always trigger that event silently at the start of each round. E.g. "moongravity" for the "What? Moon gravity on Earth?" randomat.\ _ttt_randomat_event_hint_chatsecret - Default: 0 - Whether the secret events that triggered during a round should be displayed in chat at round end.

Client ConVars

NOTE: These are manageable in the Randomat tab of the F1 menu.\ _cl_randomat_showactive - Default: 1 - Whether to show the "Active Events" label on the UI. (Only supported in the latest Custom Roles for TTT version)

Latest Events

  1. No one can die from my sight
  2. Cause of Death
  3. Daredevil
  4. Tunnel Vision

Events

NOTE: All "blocklist" ConVars are hidden from the ULX menu because they can cause errors if the ConVar value is too long

#BringBackOldJester

Converts the Swapper to a Jester \ \ ConVars \ _ttt_randomatoldjester - Default: 1 - Whether this event is enabled.\ _ttt_randomat_oldjester_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_oldjesterweight - Default: -1 - The weight this event should use during the randomized event selection process.

A Glitch has been patched

Changes a random Glitch into either an Innocent or a Traitor. There is a configurable chance that the player will be turned into an Innocent rather than a Traitor. \ \ ConVars \ _ttt_randomatpatched - Default: 1 - Whether this event is enabled.\ _ttt_randomat_patched_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_patchedweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_patchedchance - Default: 50 - The chance of the Glitch being made a Traitor.

A player is acting suspicious

Changes a random player to either a Jester or a Traitor. There is a configurable chance that the player will be turned into a Jester rather than a Traitor. \ \ ConVars \ _ttt_randomatsuspicion - Default: 1 - Whether this event is enabled.\ _ttt_randomat_suspicion_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_suspicionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_suspicionchance - Default: 50 - The chance of the player being a Jester.

A power you can't learn from the Jedi

aka He could save others from death, but not himself\ aka ycarcomeD\ \ Cast your vote to save a player from dying one time. Vote will only happen once. \ \ ConVars \ _ttt_randomatreversedemocracy - Default: 1 - Whether this event is enabled.\ _ttt_randomat_reversedemocracy_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_reversedemocracyweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_reversedemocracytimer - Default: 40 - The number of seconds each round of voting lasts.\ _randomat_reversedemocracytiesaves - Default: 1 - Whether ties result in a coin toss; otherwise, nobody is saved.\ _randomat_reversedemocracytotalpct - Default: 50 - % of player votes needed for a vote to pass, set to 0 to disable.\ _randomat_reversedemocracy_showvotes - Default: 1 - Whether to show when a target is voted for in chat.\ _randomat_reversedemocracy_show_votesanon - Default: 0 - Whether to hide who voted in chat.

A Random Person will explode every X seconds! Watch out! (EXCEPT DETECTIVES)

This one is pretty self-explanatory. Detraitors are also excluded from explosion. \ \ ConVars \ _ttt_randomatexplode - Default: 1 - Whether this event is enabled.\ _ttt_randomat_explode_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_explodeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_explodetimer - Default: 30 - The time between explosions.

A traitor will explode in X seconds!

This one is pretty self-explanatory \ \ ConVars \ _ttt_randomattexplode - Default: 1 - Whether this event is enabled.\ _ttt_randomat_texplode_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_texplodeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_texplodetimer - Default: 60 - The time before the traitor explodes.\ _randomat_texploderadius - Default: 600 - Radius of the traitor explosion.

An innocent has been upgraded!

A random vanilla innocent is upgraded to a Mercenary or is given the choice of becoming a Mercenary or a Killer \ \ ConVars \ _ttt_randomatupgrade - Default: 1 - Whether this event is enabled.\ _ttt_randomat_upgrade_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_upgradeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_upgradechooserole - Default: 1 - Whether the innocent should choose their new role.

Bad Gas

Drops random grenades (from the enabled types) at random players' feet on a configurable interval \ \ ConVars \ _ttt_randomatgas - Default: 1 - Whether this event is enabled.\ _ttt_randomat_gas_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_gasweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_gastimer - Default: 15 - Changes the time between grenade drops.\ _randomat_gasaffectall - Default: 0 - Set to 1 for the event to drop a grenade at everyone's feet on trigger.\ _randomat_gasdiscombob - Default: 1 - Whether discombobs drop.\ _randomat_gasincendiary - Default: 0 - Whether incendiaries drop.\ _randomat_gassmoke - Default: 0 - Whether smokes drop.

Bad Trip

Causes any player who is off the ground (by jumping, falling, etc.) to turn into a ragdoll temporarily \ \ ConVars \ _ttt_randomatragdoll - Default: 1 - Whether this event is enabled.\ _ttt_randomat_ragdoll_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_ragdollweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_ragdolltime - Default: 1.5 - The time the player is ragdolled.\ _randomat_ragdolldelay - Default: 1.5 - The time between ragdolls.

Barrel (In)Justice

Explodes barrels if a player gets too close and then spawns more \ \ ConVars \ _ttt_randomatbarrelinjustice - Default: 1 - Whether this event is enabled.\ _ttt_randomat_barrelinjustice_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_barrelinjusticeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_barrelinjusticecount - Default: 2 - Number of barrels spawned after one is exploded.\ _randomat_barrelinjusticerange - Default: 100 - Minimum distance from the player for a barrel to explode

Betrayed

Randomly converts one vanilla Traitor to be a Glitch \ \ ConVars \ _ttt_randomatbetrayed - Default: 1 - Whether this event is enabled.\ _ttt_randomat_betrayed_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_betrayedweight - Default: -1 - The weight this event should use during the randomized event selection process.

Big Head Mode

Causes all players to have their heads grow to massive proportions.\ NOTE: Not all custom models are supported -- some have their hair detached from their head which looks creepy when the head scales the hair doesn't. I tried a few ways to fix it but that ended up breaking other stuff. \ \ ConVars \ _ttt_randomatbighead - Default: 1 - Whether this event is enabled.\ _ttt_randomat_bighead_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_bigheadweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_bigheadscale - Default: 2 - Head size multiplier.

Black Market Buyout

Disables Traitor and Detective shop, but periodically gives out free items from both \ \ ConVars \ _ttt_randomatblackmarket - Default: 1 - Whether this event is enabled.\ _ttt_randomat_blackmarket_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_blackmarketweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_blackmarketblocklist - Default: - The comma-separated list of weapon IDs to not give out. For example: "ttt_m9k_harpoon,weapon_ttt_slam".\ _randomat_blackmarket_timertraitor - Default: 25 - How often (in seconds) traitors should get items.\ _randomat_blackmarket_timerdetective - Default: 15 - How often (in seconds) detectives should get items.

Blerg!

ala Blegh!\ ala Blergh!\ ala Bleh!\ ala Blarg!\ \ Players respawn repeatedly unless killed during a brief window where they can't use weapons \ \ ConVars \ _ttt_randomatblerg - Default: 1 - Whether this event is enabled.\ _ttt_randomat_blerg_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_blergweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_blergrespawntimer - Default: 60 - Delay before dead players respawn.\ _randomat_blergrespawnlimit - Default: 3 - The maximum number of times a player can respawn.\ _randomat_blergweapondelay - Default: 20 - Delay before respawned can use weapons.

Blind Traitors

Blinds all traitors for a configurable amount of seconds \ \ ConVars \ _ttt_randomatblind - Default: 1 - Whether this event is enabled.\ _ttt_randomat_blind_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_blindweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_blindduration - Default: 15 - The duration the players should be blinded for.

Bomberman

Spawns an explosive barrel behind a player when they crouch \ \ ConVars \ _ttt_randomatbomberman - Default: 1 - Whether this event is enabled.\ _ttt_randomat_bomberman_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_bombermanweight - Default: -1 - The weight this event should use during the randomized event selection process.

Boo!

Allows dead players to scare their target and make them drop their weapon \ \ ConVars \ _ttt_randomatboo - Default: 1 - Whether this event is enabled.\ _ttt_randomat_boo_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_booweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_boo_chargetime - Default: 30 - How many seconds it takes to charge the next attack.\ _randomat_boo_ghosttime - Default: 5 - How many seconds the ghost lasts.

Breadcrumbs

Follow the colorful trails to find the other players \ \ ConVars \ _ttt_randomatbreadcrumbs - Default: 1 - Whether this event is enabled.\ _ttt_randomat_breadcrumbs_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_breadcrumbsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_breadcrumbs_startwidth - Default: 30 - The trail's starting width.\ _randomat_breadcrumbs_endwidth - Default: 1 - The trail's ending width.\ _randomat_breadcrumbs_fadetime - Default: 3 - How many seconds the trail should last.

Bullseye

Only headshots do damage \ \ ConVars \ _ttt_randomatbullseye - Default: 1 - Whether this event is enabled.\ _ttt_randomat_bullseye_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_bullseyeweight - Default: -1 - The weight this event should use during the randomized event selection process.

Butterfingers

Causes weapons to periodically slip out of players' hands \ \ ConVars \ _ttt_randomatbutter - Default: 1 - Whether this event is enabled.\ _ttt_randomat_butter_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_butterweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_buttertimer - Default: 10 - The time between each weapon drop.\ _randomat_butteraffectall - Default: 0 -Whether to affect every player at once rather than just a single random player.

Camp Fire

Sets any player that is camping (has not moved far enough in the configurable time) on fire. Any player who is set on fire this way will be extinguished when they move. \ \ ConVars \ _ttt_randomatcampfire - Default: 1 - Whether this event is enabled.\ _ttt_randomat_campfire_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_campfireweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_campfiretimer - Default: 20 - Amount of time (in seconds) a player must camp before they are punished.\ _randomat_campfiredistance - Default: 35 - The distance a player must move before they are considered not camping anymore.

Can't stop, won't stop.

Causes every player to constantly move forward \ \ ConVars \ _ttt_randomatcantstop - Default: 1 - Whether this event is enabled.\ _ttt_randomat_cantstop_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_cantstopweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_cantstopdisableback - Default: 1 - Whether the "s" key is disabled.

Care Package

Spawns an ammo crate somewhere in the map that contains a free item from the various role shops. \ \ ConVars \ _ttt_randomatpackage - Default: 1 - Whether this event is enabled.\ _ttt_randomat_package_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_packageweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_packageblocklist - Default: - The comma-separated list of weapon IDs to not give out. For example: "ttt_m9k_harpoon,weapon_ttt_slam".

Careful...

Set all Jesters and Swappers to a reduced (and configurable) amount of health. \ \ ConVars \ _ttt_randomatcareful - Default: 1 - Whether this event is enabled.\ _ttt_randomat_careful_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_carefulweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_carefulhealth - Default: 1 - Health to set Jester/Swapper to.

Cause of Death

Display a player's cause of death on screen for everyone. \ \ ConVars \ _ttt_randomatcauseofdeath - Default: 1 - Whether this event is enabled.\ _ttt_randomat_causeofdeath_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_causeofdeathweight - Default: -1 - The weight this event should use during the randomized event selection process.

Chamber Pop

Weapons explode if you try to fire them while empty \ \ ConVars \ _ttt_randomatchamberpop - Default: 1 - Whether this event is enabled.\ _ttt_randomat_chamberpop_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_chamberpopweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_chamberpop_explosionmagnitude - Default: 150 - Weapon explosion magnitude.

Choose an Event!

Presents random events to be chosen, either by a single player or by vote \ \ ConVars \ _ttt_randomatchoose - Default: 1 - Whether this event is enabled.\ _ttt_randomat_choose_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_chooseweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_choosechoices - Default: 3 - Number of events you can choose from.\ _randomat_choosevote - Default: 0 - Allows all players to vote on the event.\ _randomat_choosevotetimer - Default: 10 - How long players have to vote on the event.\ _randomat_choosedeadvoters - Default: 0 - Dead people can vote.\ _randomat_choosesecret - Default: 0 - Whether to include secret events.\ _randomat_chooselimitchoosetime - Default: 0 - Whether single player choosing has limited time.\ _randomat_choose_limitchoosetimerandom - Default: 0 - Whether to choose a random event if time runs out.

Clownin' Around (aka We All Float Down Here)

Converts a Jester/Swapper to a Killer Clown \ \ ConVars \ _ttt_randomat_clowninaround - Default: 1 - Whether this event is enabled.\ _ttt_randomat_clowninaround_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_clowninaroundweight - Default: -1 - The weight this event should use during the randomized event selection process.

Come on and SLAM!

Gives everyone an M4 SLAM and only allows players to use the M4 SLAM for the duration of the event. Will not trigger if there is a Jester or a Swapper since they cannot win during this event. \ \ ConVars \ _ttt_randomatslam - Default: 1 - Whether this event is enabled.\ _ttt_randomat_slam_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_slamweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_slamtimer - Default: 3 - Time between being given slams.\ _randomat_slamstrip - Default: 1 - The event strips your other weapons.\ _randomat_slamweaponid - Default: weapon_ttt_slam - Id of the weapon given.

Communism! Time to learn how to share...!

Whenever anyone buys a weapon from a shop, all other players get that weapon too. They must not have anything in that slot already. \ \ ConVars \ _ttt_randomatcommunist - Default: 1 - Whether this event is enabled.\ _ttt_randomat_communist_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_communistweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_communist_showroles - Default: 1 - Whether to show the role of the purchasing player.

Compulsive Reloading

Slowly drains a user's ammo over time if they haven't fired recently. \ \ ConVars \ _ttt_randomatreload - Default: 1 - Whether this event is enabled.\ _ttt_randomat_reload_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_reloadweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_reload_waittime - Default: 5.0 - Seconds after last shot to wait before draining.\ _randomat_reload_draintime - Default: 2.0 - Seconds between each ammo drain.\ _randomat_reload_keepammo - Default: 1 - Whether drained ammo is kept (1) or destroyed (0).\ _randomat_reloadaffectbuymenu - Default: 0 - Whether buy menu weapons lose ammo too.

Crabs are People

Spawns a configurable number of hostile headcrabs when a player is killed \ \ ConVars \ _ttt_randomatcrabs - Default: 1 - Whether this event is enabled.\ _ttt_randomat_crabs_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_crabsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_crabscount - Default: 5 - The amount of crabs spawned when someone dies.

Daredevil

Scale a player's damage up the faster they move (including falling) \ \ ConVars \ _ttt_randomatdaredevil - Default: 1 - Whether this event is enabled.\ _ttt_randomat_daredevil_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_daredevilweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_daredevil_min_damagescale - Default: 1 - The minimum damage scale to use.\ _randomat_daredevil_max_damagescale - Default: 2.5 - The maximum damage scale to use.

Dead Men Tell ALL Tales

Allows dead players to text chat with the living \ \ ConVars \ _ttt_randomatdeadchat - Default: 1 - Whether this event is enabled.\ _ttt_randomat_deadchat_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_deadchatweight - Default: -1 - The weight this event should use during the randomized event selection process.

Dead Men Tell No Tales

Prevents corpses from being searched \ \ ConVars \ _ttt_randomatsearch - Default: 1 - Whether this event is enabled.\ _ttt_randomat_search_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_searchweight - Default: -1 - The weight this event should use during the randomized event selection process.

Delayed Reaction

Delays damage done to players for the configured amount of time \ \ ConVars \ _ttt_randomatdelayedreaction - Default: 1 - Whether this event is enabled.\ _ttt_randomat_delayedreaction_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_delayedreactionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_delayedreactiontime - Default: 5 - The time in seconds that damage should be delayed.

Derptective

Forces the detective(s) and detraitor(s) to use the M249 H.U.G.E. with infinite ammo and an adjusted rate of fire. \ \ ConVars \ _ttt_randomatderptective - Default: 1 - Whether this event is enabled.\ _ttt_randomat_derptective_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_derptectiveweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_derptective_rate_offire - Default: 2 - Rate of Fire multiplier for the H.U.G.E..

Detraitor

The Detective has been corrupted and joined the Traitor team! \ \ ConVars \ _ttt_randomatdetraitor - Default: 1 - Whether this event is enabled.\ _ttt_randomat_detraitor_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_detraitorweight - Default: -1 - The weight this event should use during the randomized event selection process.

Don't be so Sensitive

Periodically changes each player's mouse sensitivity to a number within the configurable range \ \ ConVars \ _ttt_randomatsensitive - Default: 1 - Whether this event is enabled.\ _ttt_randomat_sensitive_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_sensitiveweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_sensitive_changeinterval - Default: 15 - How often to change each player's sensitivity.\ _randomat_sensitive_scalemin - Default: 25 - The minimum sensitivity to use.\ _randomat_sensitive_scalemax - Default: 500 - The maximum sensitivity to use.

Don't. Blink.

Spawns a configurable number of Weeping Angels, each attached to a different player. The Weeping Angel will kill their assigned player when the player's back is turned \ \ ConVars \ _ttt_randomatblink - Default: 1 - Whether this event is enabled.\ _ttt_randomat_blink_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_blinkweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_blinkcap - Default: 12 - Maximum number of Weeping Angels spawned.\ _randomat_blinkdelay - Default: 0.5 - Delay before Weeping Angels are spawned.

Don't Let it Go to Your Head

Grows a player's head by a set amount each time they kill. Also grows by the same size of their victim's head. \ \ ConVars \ _ttt_randomatheadgrow - Default: 1 - Whether this event is enabled.\ _ttt_randomat_headgrow_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_headgrowweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_headgrowmax - Default: 2.5 - The maximum head size multiplier.\ _randomat_headgrow_perkill - Default: 0.25 - The head size increase per kill.\ _randomat_headgrowsteal - Default: 1 - Whether to steal a player's head size on kill.

Double Cross

Changes a random vanilla Innocent into either a Glitch or a Traitor. There is a configurable chance that the player will be turned into a Glitch rather than a Traitor. \ \ ConVars \ _ttt_randomatdoublecross - Default: 1 - Whether this event is enabled.\ _ttt_randomat_doublecross_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_doublecrossweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_doublecrosschance - Default: 50 - The chance of the Innocent being made a Traitor.

Double-Edged Sword

Reflects 1/2 of the damage you do back on yourself, but you also heal self-damage slowly. \ \ ConVars \ _ttt_randomatdoubleedge - Default: 1 - Whether this event is enabled.\ _ttt_randomat_doubleedge_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_doubleedgeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_doubleedgeinterval - Default: 1 - How often (in seconds) to heal self-damage.\ _randomat_doubleedgeamount - Default: 2 - How much self-damage to heal per interval.

Down Under

Flips your view upside-down \ \ ConVars \ _ttt_randomatdownunder - Default: 1 - Whether this event is enabled.\ _ttt_randomat_downunder_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_downunderweight - Default: -1 - The weight this event should use during the randomized event selection process.

Earthquake

Moves all props, ammo, and weapons a random amount in a random direction. \ \ ConVars \ _ttt_randomatearthquake - Default: 1 - Whether this event is enabled.\ _ttt_randomat_earthquake_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_earthquakeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_earthquakeblocklist - Default: - The comma-separated list of maps to not allow this map on. For example: "ttt_lego,gm_flatgrass".

Election Day

Starts a two-part election. In the first part, players will nominate other players to become the president. The detective is not allowed to be nominate as they are already a President (per the GET DOWN MR. PRESIDENT Event).\ In the second part of the election, the two nominees with the most nominations will take part in a run-off vote, winner takes all.\ If a member of the innocent team wins, they are promoted to a Detective and given credits as a reward.\ If a member of the traitor team wins, all traitors are given credits as a reward, but the new President's role is revealed.\ If a Jester wins, they are killed by whoever owned the Randomat, winning the round.\ If a Swapper wins, they are killed by a random player, after which they swap roles.\ If a Killer wins, all non-Jester/Swapper players are killed, winning the round for the Killer.\ If a Zombie wins, the RISE FROM YOUR GRAVE event is triggered, silently.\ If a Vampire wins, the configured team (see _randomat_election_vamp_turninnocents below) are converted to Vampires.\ If a Drunk wins, they will instantly remember what role they are supposed to be.\ If the Old Man wins, everyone else will become as frail as they are (e.g. reduced to 1 health).\ If the Clown wins, whichever team (Innocent or Traitor) has more players will be killed, causing the Clown to instantly trigger and go on a rampage. If only one team has players alive, a random living player from that team will be sacrificed to help the Clown toward victory.\ If the Beggar wins, an innocent or traitor team member will be chosen randomly to give the beggar a random shop weapon, causing the beggar to join that team.\ If the Bodysnatcher wins, they are given the role of a random dead player if there are any, or a random enabled role if there are no dead players.\ If a member of the independent team (that doesn't have a specific rule above) wins, they are healed to full or given bonus health if they are already near-full.\ If a member of the monster team (that doesn't have a specific rule above) wins, a random player (preferring a dead one, if there are any) are converted to the same role (and resurrected, if dead). \ \ ConVars \ _ttt_randomatelection - Default: 1 - Whether this event is enabled.\ _ttt_randomat_election_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_electionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_electiontimer - Default: 40 - The number of seconds each round of voting lasts.\ _randomat_election_winnercredits - Default: 2 - The number of credits given as a reward, if appropriate.\ _randomat_election_vamp_turninnocents - Default: 0 - Whether Vampires turn innocents. Otherwise, turns traitors.\ _randomat_election_showvotes - Default: 1 - Whether to show when a target is voted for in chat.\ _randomat_election_show_votesanon - Default: 0 - Whether to hide who voted in chat.\ _randomat_election_triggermrpresident - Default: 0 - Whether to trigger Get Down Mr. President if an Innocent wins.\ _randomat_election_breakties - Default: 0 - Whether to break ties by choosing a random winner.

Evasive Maneuvers

Causes players who are shot to "dodge" out of the way of further bullets \ \ ConVars \ _ttt_randomatevasive - Default: 1 - Whether this event is enabled.\ _ttt_randomat_evasive_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_evasiveweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_evasiveforce - Default: 2000 - Amount of force to push players with.\ _randomat_evasive_jumpingforce - Default: 1000 - Amount of force to push jumping players with.

Everything is as fast as Flash now! (XX% faster)

Causes everything (movement, firing speed, timers, etc.) to run a configurable amount faster than normal \ \ ConVars \ _ttt_randomatflash - Default: 1 - Whether this event is enabled.\ _ttt_randomat_flash_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_flashweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_flashscale - Default: 50 - The percentage the speed should increase. Treated as an additive increase on multiple uses (e.g. 1.0 -> 1.5 -> 2.0 (1.5 + 0.5) rather than 1.0 -> 1.5 -> 2.25 (1.5 + 1.5x0.5)

Fan Favorite

Cast your vote to resurrect a dead player \ \ ConVars \ _ttt_randomatfanfavorite - Default: 1 - Whether this event is enabled.\ _ttt_randomat_fanfavorite_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_fanfavoriteweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_fanfavoritetimer - Default: 40 - The number of seconds each round of voting lasts.\ _randomat_fanfavoritetiereses - Default: 1 - Whether ties result in a coin toss; otherwise, nobody is resurrected.\ _randomat_fanfavoritetotalpct - Default: 50 - % of player votes needed for a vote to pass, set to 0 to disable.\ _randomat_fanfavorite_showvotes - Default: 1 - Whether to show when a target is voted for in chat.\ _randomat_fanfavorite_show_votesanon - Default: 0 - Whether to hide who voted in chat.

Fault Lines

Shakes all props, weapons, and ammo on the map with increasing severity \ \ ConVars \ _ttt_randomatfaultlines - Default: 1 - Whether this event is enabled.\ _ttt_randomat_faultlines_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_faultlinesweight - Default: -1 - The weight this event should use during the randomized event selection process. _randomat_faultline_mindelay - Default: 20 - The minimum delay between quakes.\ _randomat_faultline_severitymax - Default: 10 - The maximum severity the earthquakes will have.\ _randomat_faultlineaftershocks - Default: 3 - The number of smaller quakes to happen after the peak.

Fiends for Life

Innocents win if they kill the jester, but traitors want them alive \ \ ConVars \ _ttt_randomatkilljester - Default: 1 - Whether this event is enabled.\ _ttt_randomat_killjester_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_killjesterweight - Default: -1 - The weight this event should use during the randomized event selection process.

Flip the Script

Inverses everyone's health \ \ ConVars \ _ttt_randomatflipthescript - Default: 1 - Whether this event is enabled.\ _ttt_randomat_flipthescript_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_flipthescriptweight - Default: -1 - The weight this event should use during the randomized event selection process.

Flu Season

Randomly infects a player with the flu, causing them to sneeze occasionally. Also has a chance to spread to other players within a configurable distance \ \ ConVars \ _ttt_randomatflu - Default: 1 - Whether this event is enabled.\ _ttt_randomat_flu_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_fluweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_flutimer - Default: 1 - Time a player must be near someone before it spreads.\ _randomat_fluinterval - Default: 10 - How often effects happen to infected.\ _randomat_fludistance - Default: 100 - Distance a player must be from another to be considered "near".\ _randomat_fluchance - Default: 25 - Spreading chance.\ _randomat_flu_speedfactor - Default: 0.8 - What speed the infected player should be reduced to.

Fog of War

Covers the map in a fog which restricts player view \ \ ConVars \ _ttt_randomatfogofwar - Default: 1 - Whether this event is enabled.\ _ttt_randomat_fogofwar_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_fogofwarweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_fogofwardefault - Default: 1.0 - The fog distance scale for non-traitors.\ _randomat_fogofwartraitor - Default: 1.5 - The fog distance scale for traitors.

FREEZE!

aka Winter has come at last.\ aka The Ice Man cometh.\ aka In this universe, there is only one absolute: everything freezes!\ aka Tonight, Hell freezes over.\ aka I'm afraid my condition has left me cold to your pleas of mercy.\ aka Cool party.\ aka You are not sending me to the cooler.\ aka Stay cool, bird boy.\ aka Alright, everyone! Chill!\ aka It's a cold town.\ aka Tonight's forecast: a freeze is coming!\ aka What killed the dinosaurs?! The ice age!\ aka Let's kick some ice!\ aka Can you feel it coming? The icy cold of space!\ aka Freeze in hell, Batman!\ \ All Innocents will Freeze (and become immune) every X seconds \ \ ConVars \ _ttt_randomatfreeze - Default: 1 - Whether this event is enabled.\ _ttt_randomat_freeze_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_freezeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_freezeduration - Default: 5 - Duration of the Freeze (in seconds).\ _randomat_freezetimer - Default: 30 - How often (in seconds) the Freeze occurs.\ _randomat_freezehint - Default: 1 - Whether to explain the event after triggering.

Full of Crabs and Fire!

Spawns hostile headcrabs and fire around the detective when they are killed \ \ ConVars \ _ttt_randomatcrabsandfire - Default: 1 - Whether this event is enabled.\ _ttt_randomat_crabsandfire_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_crabsandfireweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_crabsandfire_crabcount - Default: - The number of crabs to spawn.\ _randomat_crabsandfire_firecount - Default: - The amount of fire to spawn.\ _randomat_crabsandfire_firelength - Default: - How long the fire should last.\

Gaining life for killing people? Is it really worth it...

Heals players who kill other players \ \ ConVars \ _ttt_randomatlifesteal - Default: 1 - Whether this event is enabled.\ _ttt_randomat_lifesteal_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_lifestealweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_lifestealhealth - Default: 25 - The health gained per kill.\ _randomat_lifestealcap - Default: 0 - The maximum health a player can get from killing people. Set to 0 to disable.

Gaseous Snake

Turns everyone invisible but envelopes them in smoke \ \ ConVars \ _ttt_randomatgaseous - Default: 1 - Whether this event is enabled.\ _ttt_randomat_gaseous_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_gaseousweight - Default: -1 - The weight this event should use during the randomized event selection process.

Get Down Mr. President!

Gives Detectives extra health, but if they get killed, so do all other members of the Innocent team \ \ ConVars \ _ttt_randomatpresident - Default: 1 - Whether this event is enabled.\ _ttt_randomat_president_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_presidentweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_presidentbonushealth - Default: 100 - Extra health gained by the detective.\ _randomat_presidentannounce - Default: 1 - Whether to announce when the president dies.

Get Down Mr. Romero!

Gives Detectives extra health, but if they get killed, all living members of the Innocent team are converted to Zombies \ \ ConVars \ _ttt_randomatromero - Default: 1 - Whether this event is enabled.\ _ttt_randomat_romero_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_romeroweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_romerobonushealth - Default: 100 - Extra health gained by the detective.\ _randomat_romeroannounce - Default: 1 - Whether to announce when Mr. Romero dies.

Ghostly Apparition

Dead players become ghosts who leave a trail of smoke as they drift through the world \ \ ConVars \ _ttt_randomatapparition - Default: 1 - Whether this event is enabled.\ _ttt_randomat_apparition_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_apparitionweight - Default: -1 - The weight this event should use during the randomized event selection process.

Gifts from the Dead

Allows dead players to give the living a single gift \ \ ConVars \ _ttt_randomatgifts - Default: 1 - Whether this event is enabled.\ _ttt_randomat_gifts_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_giftsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_gifts_chargetime - Default: 60 - How many seconds before the dead can give a gift.\ _randomat_gifts_randomitems - Default: 1 - Whether everyone should get a random item to gift.\ _randomat_giftsblocklist - Default: - The comma-separated list of weapon IDs to not give out. For example: "ttt_m9k_harpoon,weapon_ttt_slam".

Glitch in the Matrix

Changes everyone's role to be either Glitch or Traitor and gives a random shop item \ \ ConVars \ _ttt_randomatglitch - Default: 1 - Whether this event is enabled.\ _ttt_randomat_glitch_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_glitchweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_glitchblocklist - Default: - The comma-separated list of weapon IDs to not give out. For example: "ttt_m9k_harpoon,weapon_ttt_slam".\ _randomat_glitch_traitorpct - Default: 25 - The percentage of players that will be traitors.\ _randomat_glitch_damagescale - Default: 1.0 - The multiplier for damage that the Glitches will take.\ _randomat_glitch_maxglitches - Default: 0 - The maximum number of Glitches this event will create. Setting to 0 will not limit the number of Glitches.\ _randomat_glitch_startinghealth - Default: 100 - The amount of health the Glitches should start with.\ _randomat_glitch_mintraitors - Default: 0 - The minimum number of Traitors before this event will run.

Good Cop, Bad Cop

Instead of a detective, you now have two deputies... or is one an impersonator? \ \ ConVars \ _ttt_randomatgoodcopbadcop - Default: 1 - Whether this event is enabled.\ _ttt_randomat_goodcopbadcop_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_goodcopbadcopweight - Default: -1 - The weight this event should use during the randomized event selection process.

Got any connies?!

Announces players that have shop items after a configurable number of seconds \ \ ConVars \ _ttt_randomatconnies - Default: 1 - Whether this event is enabled.\ _ttt_randomat_connies_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_conniesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_conniestimer - Default: 10 - The amount of time before the messages are shown.\ _randomat_connies_showrole - Default: 0 - Whether to show the role of the person.\ _randomat_connies_showname - Default: 1 - Whether to show the name of the person.\ _randomat_connies_showequipment - Default: 0 - Whether to show the equipment a person has.\ _randomat_connies_show_roleweapons - Default: 0 - Whether to show the role-specific weapons a person has.\

Gun Game

Periodically gives players random weapons that would normally be found throughout the map \ \ ConVars \ _ttt_randomatgungame - Default: 1 - Whether this event is enabled.\ _ttt_randomat_gungame_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_gungameweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_gungametimer - Default: 5 - Time between weapon changes.

Gunpowder, Treason, and Plot

Spawns explosive barrels around every player repeatedly until the event ends \ \ ConVars \ _ttt_randomatbarrels - Default: 1 - Whether this event is enabled.\ _ttt_randomat_barrels_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_barrelsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_barrelscount - Default: 3 - Number of barrels spawned per person.\ _randomat_barrelsrange - Default: 100 - Distance barrels spawn from the player.\ _randomat_barrelstimer - Default: 60 - Time between barrel spawns.

Harpooooooooooooooooooooon!!

Gives everyone a Harpoon and only allows players to use the Harpoon for the duration of the event. \ \ ConVars \ _ttt_randomatharpoon - Default: 1 - Whether this event is enabled.\ _ttt_randomat_harpoon_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_harpoonweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_harpoontimer - Default: 3 - Time between being given harpoons.\ _randomat_harpoonstrip - Default: 1 - The event strips your other weapons.\ _randomat_harpoonweaponid - Default: ttt_m9k_harpoon - Id of the weapon given.

Hedge Your Bets

Dead players bet on who is going to live to the end. Winners are respawned to fight them. \ \ ConVars \ _ttt_randomatbets - Default: 1 - Whether this event is enabled.\ _ttt_randomat_bets_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_betsweight - Default: -1 - The weight this event should use during the randomized event selection process.

Herd Immunity

Players vote for what type of damage they will be immune to for the rest of the round \ \ ConVars \ _ttt_randomatimmunity - Default: 1 - Whether this event is enabled.\ _ttt_randomat_immunity_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_immunityweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_immunitytimer - Default: 30 - The number of seconds the vote lasts.\ _randomat_immunitybullet - Default: 0 - Whether bullet damage can be voted for.\ _randomat_immunityslashing - Default: 0 - Whether slashing damage can be voted for.

Honey, I shrunk the terrorists

Scales each player's size by a configurable ratio \ \ ConVars \ _ttt_randomatshrink - Default: 1 - Whether this event is enabled.\ _ttt_randomat_shrink_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_shrinkweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_shrinkscale - Default: 0.5 - The shrinking scale factor.

I don't think you realise the gravity of the situation.

Gravity is changed every few seconds for a short period of time before reverting to normal.
It goes back and forth between being lowered and raised each time. \ \ ConVars \ _ttt_randomatgravity - Default: 1 - Whether this event is enabled.\ _ttt_randomat_gravity_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_gravityweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_gravitytimer - Default: 30 - How long between changes.\ _randomat_gravityduration - Default: 3 - How many seconds the change lasts.\ _randomat_gravityminimum - Default: 70 - The gravity when it is lowered.\ _randomat_gravitymaximum - Default: 2000 - The gravity when it is raised.

I love democracy, I love the republic.

Allows players to vote to kill someone repeatedly until the event ends \ \ ConVars \ _ttt_randomatdemocracy - Default: 1 - Whether this event is enabled.\ _ttt_randomat_democracy_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_democracyweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_democracytimer - Default: 40 - The number of seconds each round of voting lasts.\ _randomat_democracytiekills - Default: 1 - If 1, ties result in a coin toss; if 0, nobody dies in a tied vote.\ _randomat_democracytotalpct - Default: 50 - Percent of total player votes required for a vote to pass, set to 0 to disable.\ _randomat_democracyjestermode - Default: 0 - What to do when a jester team member is voted for. 0 - Kill a random player that voted for them. 1 - Kill the jester team member, activating their "ability" (NOTE: If the player is not a Jester or Swapper, this mode will behave like mode 0 instead). 2 - Let the jester team member choose who of their voters to kill.\ _randomat_democracy_show_jestervotes - Default: 1 - Whether to show when a jester votes for revenge in chat. Used for jestermode 2 only.\ _randomat_democracy_showvotes - Default: 1 - Whether to show when a target is voted for in chat.\ _randomat_democracy_show_votesanon - Default: 0 - Whether to hide who voted in chat.

I see dead people

Drops a Visualizer whenever a player is killed \ \ ConVars \ _ttt_randomatvisualiser - Default: 1 - Whether this event is enabled.\ _ttt_randomat_visualiser_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_visualiserweight - Default: -1 - The weight this event should use during the randomized event selection process.

I'm feeling kinda ILL

Causes players to slowly lose health over time \ \ ConVars \ _ttt_randomatfeelingill - Default: 1 - Whether this event is enabled.\ _ttt_randomat_feelingill_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_feelingillweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_feelingilltimer - Default: 3 - How often (in seconds) a player will lose health.\ _randomat_feelingillhealth - Default: 1 - How much health per tick you lose.

Incriminating Evidence

Forces a random player to say something incriminating without their knowledge \ \ ConVars \ _ttt_randomatincriminating - Default: 1 - Whether this event is enabled.\ _ttt_randomat_incriminating_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_incriminatingweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_incriminating_timermin - Default: 3 - The minimum time before the message is sent.\ _randomat_incriminating_timermax - Default: 10 - The maximum time before the message is sent.\ _randomat_incriminating_mistakechance - Default: 0.2 - The chance that an "oops" message is sent.

Infinite Ammo!

Gives all weapons infinite ammo, allowing players to constantly shoot without reloading \ \ ConVars \ _ttt_randomatammo - Default: 1 - Whether this event is enabled.\ _ttt_randomat_ammo_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_ammoweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_ammoaffectbuymenu - Default: 0 - Whether it gives buy menu weapons infinite ammo too.

Infinite Credits for Everyone!

Gives all players essentially infinite credits for use in their shop menus (if they have one) \ \ ConVars \ _ttt_randomatcredits - Default: 1 - Whether this event is enabled.\ _ttt_randomat_credits_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_creditsweight - Default: -1 - The weight this event should use during the randomized event selection process.

Insurance Policy

Players gain a credit every X damage they take \ \ ConVars \ _ttt_randomatinsurance - Default: 1 - Whether this event is enabled.\ _ttt_randomat_insurance_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_insuranceweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_insurancedamage - Default: 20 - How much damage before a player gets paid.

It's hunting season!

Randomly turns a vanilla Innocent into an active Loot Goblin \ \ ConVars \ _ttt_randomathuntingseason - Default: 1 - Whether this event is enabled.\ _ttt_randomat_huntingseason_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_huntingseasonweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_huntingseasondelay - Default: 5 - How much damage before a player gets paid.\ _randomat_huntingseason_showname - Default: 1 - Whether to show the target player's name in the event title.

It's over Anakin! I have the high ground!

Does damage over time to the player who is closest to the ground \ \ ConVars \ _ttt_randomathighground - Default: 1 - Whether this event is enabled.\ _ttt_randomat_highground_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_highgroundweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_highgrounddamage - Default: 1 - The amount of health the player will lose each interval.\ _randomat_highground_damagedelay - Default: 10 - The delay before damage starts.\ _randomat_highground_damageinterval - Default: 2 - How often the player will take damage.

Jump Around!

Players can only move by multi-jumping\ NOTE: Only runs if a double-jump mod which supports the "multijump_default_jumps" convar is running \ \ ConVars \ _ttt_randomatjumparound - Default: 1 - Whether this event is enabled.\ _ttt_randomat_jumparound_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_jumparoundweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_jumparoundjumps - Default: 5 - How many multi-jumps the players can do.

Life Insurance

Traitors get credits when one of their teammates is killed \ \ ConVars \ _ttt_randomatlifeinsurance - Default: 1 - Whether this event is enabled.\ _ttt_randomat_lifeinsurance_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_lifeinsuranceweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_lifeinsurance_firsttraitor - Default: 0 - Whether only first traitor death pays.\ _randomat_lifeinsurance_first_perplayer - Default: 1 - Whether only first death per player pays.\ _randomat_lifeinsurancepayment - Default: 3 - Amount of credits to pay.

Lonely Yogs

Drops a discombob between two players who get too close \ \ ConVars \ _ttt_randomatlonelyyogs - Default: 1 - Whether this event is enabled.\ _ttt_randomat_lonelyyogs_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_lonelyyogsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_lonelyyogsdistance - Default: 200 - The minimum distance allowed between players.\ _randomat_lonelyyogsinterval - Default: 2 - The number of seconds between discombob blasts.

Loose Clips

Sprinting causes your gun clip to fall out, forcing reloads \ \ ConVars \ _ttt_randomatlooseclips - Default: 1 - Whether this event is enabled.\ _ttt_randomat_looseclips_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_looseclipsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_looseclips_keepammo - Default: 1 - Whether drained ammo is kept or destroyed.\ _randomat_looseclipsaffectbuymenu - Default: 0 - Whether buy menu weapons lose ammo too.

Malfunction

Causes players to randomly shoot their gun \ \ ConVars \ _ttt_randomatmalfunction - Default: 1 - Whether this event is enabled.\ _ttt_randomat_malfunction_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_malfunctionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_malfunctionupper - Default: 15 - The upper limit for the random timer.\ _randomat_malfunctionlower - Default: 1 - The lower limit for the random timer.\ _randomat_malfunctionaffectall - Default: 0 - Set to 1 for the event to affect everyone at once.\ _randomat_malfunctionduration - Default: 0.5 - Duration of gun malfunction (set to 0 for 1 shot).

Meet Cute

Causes players who collide while sprinting to swap inventories \ \ ConVars \ _ttt_randomatmeetcute - Default: 1 - Whether this event is enabled.\ _ttt_randomat_meetcute_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_meetcuteweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_meetcutedistance - Default: 1400 - The maximum distance between two players to be considered 'touching'.\ _randomat_meetcute_swapdelay - Default: 5 - The minimum delay (in seconds) between swaps.

Narration

Narrates common game activities \ \ ConVars \ _ttt_randomatnarration - Default: 1 - Whether this event is enabled.\ _ttt_randomat_narration_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_narrationweight - Default: -1 - The weight this event should use during the randomized event selection process.

No more Fall Damage!

Prevents any player from taking damage when they fall \ \ ConVars \ _ttt_randomatfalldamage - Default: 1 - Whether this event is enabled.\ _ttt_randomat_falldamage_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_falldamageweight - Default: -1 - The weight this event should use during the randomized event selection process.

NO NERD HEALING

Prevents any player from regaining lost health \ \ ConVars \ _ttt_randomatnoheal - Default: 1 - Whether this event is enabled.\ _ttt_randomat_noheal_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_nohealweight - Default: -1 - The weight this event should use during the randomized event selection process.

No one can die from my sight

Puts a green outline around every dead player \ \ ConVars \ _ttt_randomatcorpsehighlight - Default: 1 - Whether this event is enabled.\ _ttt_randomat_corpsehighlight_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_corpsehighlightweight - Default: -1 - The weight this event should use during the randomized event selection process.

No one can hide from my sight

Puts a green outline around every player \ \ ConVars \ _ttt_randomatwallhack - Default: 1 - Whether this event is enabled.\ _ttt_randomat_wallhack_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_wallhackweight - Default: -1 - The weight this event should use during the randomized event selection process.

NOT THE BEES

Spawns bees randomly around players \ \ ConVars \ _ttt_randomatbees - Default: 1 - Whether this event is enabled.\ _ttt_randomat_bees_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_beesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_beescount - Default: 4 - The number of bees spawned per player.

Olympic Sprint (aka Infinite Sprint)

Disables sprint stamina consumption, allowing players to sprint forever.\ NOTE: Only works with the latest Custom Roles version and will auto-disable on older versions. \ \ ConVars \ _ttt_randomatolympicsprint - Default: 1 - Whether this event is enabled.\ _ttt_randomat_olympicsprint_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_olympicsprintweight - Default: -1 - The weight this event should use during the randomized event selection process.

One traitor, One Detective. Everyone else is a Jester. Detective is stronger.

This one is pretty self-explanatory except for the "Detective is stronger" part. That just means the detective has 200 health.\ NOTE: This event is automatically disabled in the outdated version of Custom Roles for TTT. This is due to an issue where the round would not end if a Jester was killed and there were multiple Jesters. \ \ ConVars \ _ttt_randomatjesters - Default: 1 - Whether this event is enabled.\ _ttt_randomat_jesters_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_jestersweight - Default: -1 - The weight this event should use during the randomized event selection process.

Opposite Day

Swaps movement keys to their opposites (e.g. Left is Right, Forward is Backward) and swaps the Fire and Reload keys.\ NOTE: Sprinting will only work when going backwards in the outdated version of Custom Roles for TTT. \ \ ConVars \ _ttt_randomatopposite - Default: 1 - Whether this event is enabled.\ _ttt_randomat_opposite_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_oppositeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_oppositehardmode - Default: 1 - Whether to enable hard mode and switch Jump/Crouch.

Our Little Secret

Pairs players together, temporarily revealing their roles after a short delay \ \ ConVars \ _ttt_randomatoursecret - Default: 1 - Whether this event is enabled.\ _ttt_randomat_oursecret_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_oursecretweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_oursecret_mindelay - Default: 15 - The minimum delay before showing role.\ _randomat_oursecret_maxdelay - Default: 30 - The maximum delay before showing role.\ _randomat_oursecret_highlighttime - Default: 5 - How long to show the player's role color.

Paranoid

Periodically plays gun and death sounds randomly around players \ \ ConVars \ _ttt_randomatparanoid - Default: 1 - Whether this event is enabled.\ _ttt_randomat_paranoid_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_paranoidweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_paranoid_timermin - Default: 15 - The minimum time before the sound should play.\ _randomat_paranoid_timermax - Default: 30 - The maximum time before the sound should play.\ _randomat_paranoid_shotsmin - Default: 2 - The minimum times the sound should play.\ _randomat_paranoid_shotsmax - Default: 6 - The maximum times the sound should play.\ _randomat_paranoidvolume - Default: 125 - The volume the sound should play at.\ _randomat_paranoidblocklist - Default: weapon_pulserif,weapon_ttt_dislocator,tfa_jetgun - The comma-separated list of weapon IDs to not use for sounds. For example: "weapon_pulserif,weapon_ttt_dislocator".

Paranormal Activity

Allows the dead to buff or debuff their targets \ \ ConVars \ _ttt_randomatspecbuff - Default: 1 - Whether this event is enabled.\ _ttt_randomat_specbuff_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_specbuffweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_specbuff_chargetime - Default: 60 - How many seconds it takes to charge to full power.\ _randomat_specbuff_healpower - Default: 75 - The amount of power to heal the target.\ _randomat_specbuff_healamount - Default: 10 - The amount of to heal the target.\ _randomat_specbuff_fastpower - Default: 25 - The amount of power to make the target faster.\ _randomat_specbuff_fastfactor - Default: 1.2 - The speed factor for target when fast.\ _randomat_specbuff_fasttimer - Default: 3 - How long the effect lasts.\ _randomat_specbuff_slowpower - Default: 25 - The amount of power to slow the target.\ _randomat_specbuff_slowfactor - Default: 0.8 - The speed factor for target when slow.\ _randomat_specbuff_slowtimer - Default: 3 - How long the effect lasts.\ _randomat_specbuff_slappower - Default: 75 - The amount of power to slap the target.\ _randomat_specbuff_slapforce - Default: 500 - How hard to slap the target.

Partial Mayhem

Causes players to explode when killed by teammates \ \ ConVars \ _ttt_randomatpartialmayhem - Default: 1 - Whether this event is enabled.\ _ttt_randomat_partialmayhem_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_partialmayhemweight - Default: -1 - The weight this event should use during the randomized event selection process.

Poltergeists

Allows dead players to see and activate traitor traps \ \ ConVars \ _ttt_randomatpoltergeists - Default: 1 - Whether this event is enabled.\ _ttt_randomat_poltergeists_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_poltergeistsweight - Default: -1 - The weight this event should use during the randomized event selection process.

praW emiT (aka Reverse Time Warp)

Causes everything (movement, firing speed, timers, etc.) to run a configurable amount slower than normal and intensifies on a configurable interval \ \ ConVars \ _ttt_randomatreversetimewarp - Default: 1 - Whether this event is enabled.\ _ttt_randomat_reversetimewarp_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_reversetimewarpweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_reversetimewarpscale - Default: 15 - The percentage the speed should decrease. Treated as an subtractive decrease on multiple uses (e.g. 1.0 -> 0.85 -> 0.7 (0.85 - 0.15) rather than 1.0 -> 0.85 -> 0.1275 (0.85 - 0.85x0.15).\ _randomat_reversetimewarp_scalemin - Default: 0.15 - The minimum scale the speed should decrease to.\ _randomat_reversetimewarptimer - Default: 15 - How often (in seconds) the speed will be decreased.

Praw emiTime Warp (aka Time Flip)

Time scale is changed every few seconds for a short period of time before reverting to normal \ \ ConVars \ _ttt_randomattimeflip - Default: 1 - Whether this event is enabled.\ _ttt_randomat_timeflip_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_timeflipweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_timefliptimer - Default: 30 - How often the time scale should change.\ _randomat_timeflip_durationslow - Default: 3 - How long the time scale should change for when slow.\ _randomat_timeflip_durationfast - Default: 30 - How long the time scale should change for when fast.\ _randomat_timeflipminimum - Default: 0.33 - The minimum time scale.\ _randomat_timeflipmaximum - Default: 2.5 - The maximum time scale.

Prop Hunt

Converts all Jester/Swapper and innocent team members to the Innocent role, strip their weapons, and gives them a Prop Disguiser. Converts all monster and traitor team members to the Traitor role. \ \ ConVars \ _ttt_randomatprophunt - Default: 1 - Whether this event is enabled.\ _ttt_randomat_prophunt_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_prophuntweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_prophunttimer - Default: 3 - Time between being given prop disguisers.\ _randomat_prophuntstrip - Default: 1 - The event strips your other weapons.\ _randomat_prophunt_blindtime = Default: 0 - How long to blind the hunters for at the start.\ _randomat_prophunt_roundtime = Default: 0 - How many seconds the Prop Hunt round should last.\ _randomat_prophuntweaponid - Default: weapon_ttt_prophide - Id of the weapon given.\ _randomat_prophunt_shopdisable - Default: 0 - Whether to disable the weapon shop.\ _randomat_prophunt_props_joinhunters - Default: 0 - Whether to have the props join the hunters when they are killed.\ _randomat_prophunt_specs_joinhunters - Default: 0 - Whether to have the spectators join the hunters when the event starts.

Pump You Up

Vote to buff a player. Votes can be changed at any time \ \ ConVars \ _ttt_randomatpumpyouup - Default: 1 - Whether this event is enabled.\ _ttt_randomat_pumpyouup_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_pumpyouupweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_pumpyouupbuff - Default: 0 - Which buff the target should get. 0 - Damage, 1 - Speed, 2 - Health regeneration, 3 - Damage resistance.\ _randomat_pumpyouup_damagescale - Default: 1.1 - Target damage modifier (1.1 == 110% or a 10% bonus).\ _randomat_pumpyouup_speedfactor - Default: 1.2 - Target speed modifier (1.1 == 110% or a 10% bonus).\ _randomat_pumpyouup_regentimer - Default: 0.66 - How often (in seconds) the target should be healed.\ _randomat_pumpyouup_shieldfactor - Default: 0.25 - Percent less damage the target should take.\ _randomat_pumpyouup_allow_selfvote - Default: 0 - Whether to allow players to vote for themselves.\ _randomat_pumpyouup_showvotes - Default: 1 - Whether to show when a target is voted for in chat.\ _randomat_pumpyouup_show_votesanon - Default: 0 - Whether to hide who voted in chat.

Quake Pro

Increases each player's Field of View (FOV) so it looks like you're playing Quake \ \ ConVars \ _ttt_randomatfov - Default: 1 - Whether this event is enabled.\ _ttt_randomat_fov_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_fovweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_fovscale - Default: 1.5 - Scale of the FOV increase.\ _randomat_fov_scaleironsight - Default: 1.0 - Scale of the FOV increase when ironsighted.

Random Health for everyone!

Gives everyone a random amount of health within the configurable boundaries \ \ ConVars \ _ttt_randomatrandomhealth - Default: 1 - Whether this event is enabled.\ _ttt_randomat_randomhealth_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_randomhealthweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_randomhealthupper - Default: 100 - The upper limit of health gained.\ _randomat_randomhealthlower - Default: 0 - The lower limit of health gained.

Random xN

Triggers a configurable number of random events, one every 5 seconds \ \ ConVars \ _ttt_randomatrandomxn - Default: 1 - Whether this event is enabled.\ _ttt_randomat_randomxn_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_randomxnweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_randomxntriggers - Default: 5 - Number of Randomat events activated.\ _randomat_randomxntimer - Default: 5 - How often (in seconds) a random event will be triggered.\ _randomat_randomxnmultiple - Default: 1 - Allow event to run multiple times.\ _randomat_randomxntriggerbyotherrandom - Default: 1 - Allow being triggered by other events like Randomness Intensifies.

Randomness Intensifies

Periodically triggers random Randomat events for the duration of this event \ \ ConVars \ _ttt_randomatintensifies - Default: 1 - Whether this event is enabled.\ _ttt_randomat_intensifies_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_intensifiesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_intensifiestimer - Default: 20 - How often (in seconds) a random event will be triggered.\ _randomat_intensifiestriggerbyotherrandom - Default: 1 - Allow being triggered by other events like Random xN.

Ransomat

Chooses a random person with a buy menu and forces them to buy an item from the shop or else they die \ \ ConVars \ _ttt_randomatransom - Default: 1 - Whether this event is enabled.\ _ttt_randomat_ransom_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_ransomweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_ransomtraitorsonly - Default: 0 - Only target Traitors for the event.\ _randomat_ransomdeathtimer - Default: 60 - The amount of time the person has to buy something.

Red Light, Green Light

Hurts a player if they move during a red light \ \ ConVars \ _ttt_randomatredlight - Default: 1 - Whether this event is enabled.\ _ttt_randomat_redlight_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_redlightweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_redlightmindelay - Default: 3 - Minimum time for each phase.\ _randomat_redlightmaxdelay - Default: 10 - Maximum time for each phase.\ _randomat_redlightdamage - Default: 3 - Amount of damage a player takes per second.

RISE FROM YOUR GRAVE

Causes anyone who dies to be resurrected as a Zombie \ \ ConVars \ _ttt_randomatgrave - Default: 1 - Whether this event is enabled.\ _ttt_randomat_grave_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_graveweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_gravehealth - Default: 30 - The health that the Zombies respawn with.\ _randomat_grave_includedead - Default: 1 - Whether to resurrect dead players at the start.

RISE FROM YOUR... Bees?

Dead players become harmless bees \ \ ConVars \ _ttt_randomatspecbees - Default: 1 - Whether this event is enabled.\ _ttt_randomat_specbees_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_specbeesweight - Default: -1 - The weight this event should use during the randomized event selection process.

Rock, Paper, Scissors

Starts a game of Rock, Paper, Scissors between two players... to the death! A tie results in the players being soulbound to each other. \ \ ConVars \ _ttt_randomatrockpaperscissors - Default: 1 - Whether this event is enabled.\ _ttt_randomat_rockpaperscissors_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_rockpaperscissorsweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_rockpaperscissorsbestof - Default: 3 - How many rounds to play.

Run For Your Life!

Hurts a player while they are sprinting \ \ ConVars \ _ttt_randomatrunforyourlife - Default: 1 - Whether this event is enabled.\ _ttt_randomat_runforyourlife_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_runforyourlifeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_runforyourlifedelay - Default: 0.2 - Time between player taking damage.\ _randomat_runforyourlifedamage - Default: 3 - Amount of damage a player takes.

Scouts Only

Forces everyone to use a rifle and lowers everyone's gravity \ \ ConVars \ _ttt_randomatscoutsonly - Default: 1 - Whether this event is enabled.\ _ttt_randomat_scoutsonly_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_scoutsonlyweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_scoutsonlygravity - Default: 0.1 - The gravity scale.

Second Chance

Respawns the first player who is killed as a random vanilla role \ \ ConVars \ _ttt_randomatsecondchance - Default: 1 - Whether this event is enabled.\ _ttt_randomat_secondchance_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_secondchanceweight - Default: -1 - The weight this event should use during the randomized event selection process.

Sharing is Caring

When a player kills another, their inventory is swapped with their victim's. \ \ ConVars \ _ttt_randomatsharingiscaring - Default: 1 - Whether this event is enabled.\ _ttt_randomat_sharingiscaring_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_sharingiscaringweight - Default: -1 - The weight this event should use during the randomized event selection process.

Shh... It's a Secret!

Runs another random Randomat event without notifying the players. Also silences all future Randomat events while this event is active. \ \ ConVars \ _ttt_randomatsecret - Default: 1 - Whether this event is enabled.\ _ttt_randomat_secret_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_secretweight - Default: -1 - The weight this event should use during the randomized event selection process.

SHUT UP!

Disables all sounds for the duration of the event \ \ ConVars \ _ttt_randomatshutup - Default: 1 - Whether this event is enabled.\ _ttt_randomat_shutup_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_shutupweight - Default: -1 - The weight this event should use during the randomized event selection process.

Somebody set us up the bomb

Gives all traitors C4. If a C4 explodes by running out of time, the traitors win. \ \ ConVars \ _ttt_randomatdefusemode - Default: 1 - Whether this event is enabled.\ _ttt_randomat_defusemode_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_defusemodeweight - Default: -1 - The weight this event should use during the randomized event selection process.

Smoke Signals

Allows dead players to envelope their target in smoke \ \ ConVars \ _ttt_randomatsmoke - Default: 1 - Whether this event is enabled.\ _ttt_randomat_smoke_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_smokeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_smoke_chargetime - Default: 30 - How many seconds it takes to charge the next attack.\ _randomat_smoketime - Default: 5 - How many seconds the smoke lasts.

So that's it. What, we're some kind of suicide squad? (aka Detonators)

Gives everyone a detonator for a random other player. When that detonator is used, the target player is exploded. \ \ ConVars \ _ttt_randomatsuicide - Default: 1 - Whether this event is enabled.\ _ttt_randomat_suicide_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_suicideweight - Default: -1 - The weight this event should use during the randomized event selection process.

Social Distancing

Does a small amount of damage over time to players who spend too much time close to each other. \ \ ConVars \ _ttt_randomatdistancing - Default: 1 - Whether this event is enabled.\ _ttt_randomat_distancing_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_distancingweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_distancingtimer - Default: 10 - Seconds a player must be near another player before damage starts.\ _randomat_distancinginterval - Default: 2 - How often damage is done when players are too close.\ _randomat_distancingdistance - Default: 100 - Distance a player must be from another to be considered "near".\ _randomat_distancingdamage - Default: 1 - Damage done to each player who is too close.

Sosig.

Changes all primary weapon shooting sounds to "Sosig" \ \ ConVars \ _ttt_randomatsosig - Default: 1 - Whether this event is enabled.\ _ttt_randomat_sosig_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_sosigweight - Default: -1 - The weight this event should use during the randomized event selection process.

Soulmates

Pairs random players together. When either of the paired players is killed, the other is automatically killed as well \ \ ConVars \ _ttt_randomatsoulmates - Default: 1 - Whether this event is enabled.\ _ttt_randomat_soulmates_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_soulmatesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_soulmatesaffectall - Default: 0 - Whether everyone should have a soulmate.\ _randomat_soulmatessharedhealth - Default: 0 - Whether soulmates should have shared health.

Stick With Me

Pairs all players with another random player. Does a small amount of damage over time to players who spend too much time away from their partner. \ \ ConVars \ _ttt_randomatstickwithme - Default: 1 - Whether this event is enabled.\ _ttt_randomat_stickwithme_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_stickwithmeweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_stickwithme_warningtimer - Default: 30 - Time a player has to find their partner at the start of the event.\ _randomat_stickwithme_damagetimer - Default: 10 - Time a player must be away from their partner before damage starts.\ _randomat_stickwithme_damageinterval - Default: 2 - How often damage is done when partners are too far".\ _randomat_stickwithme_damagedistance - Default: 200 - Distance a player must be from their partner to be considered "near".\ _randomat_stickwithme_damageamount - Default: 1 - Damage done to each player who is too far.\ _randomat_stickwithmehighlight - Default: 1 - Whether to highlight player partners.

Stop, I'm Bees!

Spawns a configurable number of bees when a player is killed \ \ ConVars \ _ttt_randomatimbees - Default: 1 - Whether this event is enabled.\ _ttt_randomat_imbees_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_imbeesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_imbeescount - Default: 3 - The amount of bees spawned when someone dies.

Sudden Death!

Changes everyone to have only 1 health \ \ ConVars \ _ttt_randomatsuddendeath - Default: 1 - Whether this event is enabled.\ _ttt_randomat_suddendeath_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_suddendeathweight - Default: -1 - The weight this event should use during the randomized event selection process.

T-Rex Vision

Your vision is now based on movement. All players who aren't moving are invisible \ \ ConVars \ _ttt_randomattrexvision - Default: 1 - Whether this event is enabled.\ _ttt_randomat_trexvision_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_trexvisionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_trexvision_revealtime - Default: 5 - How long to reveal a player who shoots their gun.

Taking Inventory

Swaps player inventories periodically throughout the round. There are some caveats to how this event interacts with special roles:

ConVars \ _ttt_randomatinventory - Default: 1 - Whether this event is enabled.\ _ttt_randomat_inventory_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_inventoryweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_inventorytimer - Default: 15 - Time between inventory swaps.

That Doesn't Sound Right

Shuffles weapon sounds at the start of the event

ConVars \ _ttt_randomatsoundright - Default: 1 - Whether this event is enabled.\ _ttt_randomat_soundright_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_soundrightweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_soundrightblocklist - Default: weapon_pulserif,weapon_ttt_dislocator,tfa_jetgun - The comma-separated list of weapon IDs to not use for sounds. For example: "weapon_pulserif,weapon_ttt_dislocator".

The 'bar has been raised!

Increases the damage and push force of the crowbar \ \ ConVars \ _ttt_randomatcrowbar - Default: 1 - Whether this event is enabled.\ _ttt_randomat_crowbar_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_crowbarweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_crowbardamage - Default: 2.5 - Damage multiplier for the crowbar.\ _randomat_crowbarpush - Default: 30 - Push force multiplier for the crowbar.

The Cake is a Lie

Rains cakes down around players which have a 50/50 chance or either healing or hurting when eaten \ \ ConVars \ _ttt_randomatcakes - Default: 1 - Whether this event is enabled.\ _ttt_randomat_cakes_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_cakesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_cakescount - Default: 2 - Number of cakes spawned per person.\ _randomat_cakesrange - Default: 200 - Distance cakes spawn from the player.\ _randomat_cakestimer - Default: 60 - Time between cake spawns, in seconds.\ _randomat_cakeshealth - Default: 25 - The amount of health the player will regain from eating a cake.\ _randomat_cakesdamage - Default: 25 - The amount of health the player will lose from eating a cake.\ _randomat_cakes_damagetime - Default: 30 - The amount of time the player will take damage after eating a cake, in seconds.\ _randomat_cakes_damageinterval - Default: 1 - How often the player will take damage after eating a cake, in seconds.\ _randomat_cakes_damage_overtime - Default: 1 - The amount of health the player will lose each tick after eating a cake.

The Sky is Lava

Players take damage while they are in the air \ \ ConVars \ _ttt_randomatskyislava - Default: 1 - Whether this event is enabled.\ _ttt_randomat_skyislava_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_skyislavaweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_skyislavainterval - Default: 0.25 - How often (in seconds) damage is done while players are in the air.\ _randomat_skyislavadamage - Default: 1 - How much damage is done.

There's a cooldown on the jump!

Players can only jump once every configurable number of seconds \ \ ConVars \ _ttt_randomatjumpcooldown - Default: 1 - Whether this event is enabled.\ _ttt_randomat_jumpcooldown_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_jumpcooldownweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_jumpcooldownlength - Default: 5 - The length of the jump cooldown.

There's this game my father taught me years ago, it's called "Switch"

Randomly switches positions of two players on a configurable interval \ \ ConVars \ _ttt_randomatswitch - Default: 1 - Whether this event is enabled.\ _ttt_randomat_switch_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_switchweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_switchtimer - Default: 15 - How often players are switched.

They have a cave troll

Chooses a random traitor and makes them a strong giant with a club. Other random players are chosen to be smaller and given knives \ \ ConVars \ _ttt_randomatcavetroll - Default: 1 - Whether this event is enabled.\ _ttt_randomat_cavetroll_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_cavetrollweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_cavetroll_trollscale - Default: 1.5 - The scale factor to use for the troll.\ _randomat_cavetroll_trolldamage - Default: 50 - How much damage the troll's "club" should do.\ _randomat_cavetroll_trollhealth - Default: 150 - The amount of health the troll should have.\ _randomat_cavetroll_hobbitscale - Default: 0.5 - The scale factor to use for the hobbits.\ _randomat_cavetroll_hobbitpct - Default: 0.34 - The percent of non-traitors to be hobbits.\ _randomat_cavetroll_hobbitdamage - Default: 20 - How much damage the hobbits' "swords" should do.

Time Warp

Causes everything (movement, firing speed, timers, etc.) to run a configurable amount faster than normal and intensifies on a configurable interval \ \ ConVars \ _ttt_randomattimewarp - Default: 1 - Whether this event is enabled.\ _ttt_randomat_timewarp_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_timewarpweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_timewarpscale - Default: 50 - The percentage the speed should increase. Treated as an additive increase on multiple uses (e.g. 1.0 -> 1.5 -> 2.0 (1.5 + 0.5) rather than 1.0 -> 1.5 -> 2.25 (1.5 + 1.5x0.5).\ _randomat_timewarp_scalemax - Default: 8 - The maximum scale the speed should increase to.\ _randomat_timewarptimer - Default: 15 - How often (in seconds) the speed will be increased.

Total Magnetism

When a player dies, all nearby players will be pulled toward their corpse \ \ ConVars \ _ttt_randomatmagnetism - Default: 1 - Whether this event is enabled.\ _ttt_randomat_magnetism_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_magnetismweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_magnetismradius - Default: 1000 - The radius around the dead player for magnetism.

Total Mayhem

Causes players to explode when killed \ \ ConVars \ _ttt_randomatmayhem - Default: 1 - Whether this event is enabled.\ _ttt_randomat_mayhem_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_mayhemweight - Default: -1 - The weight this event should use during the randomized event selection process.

Trickle-Down Economics

Spent credits are redistributed to other people with shops \ \ ConVars \ _ttt_randomattrickledown - Default: 1 - Whether this event is enabled.\ _ttt_randomat_trickledown_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_trickledownweight - Default: -1 - The weight this event should use during the randomized event selection process.

Tunnel Vision

Players are having trouble seeing things on the edge of their screen... \ \ ConVars \ _ttt_randomattunnelvision - Default: 1 - Whether this event is enabled.\ _ttt_randomat_tunnelvision_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_tunnelvisionweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_tunnelvisionviewpct - Default: 33 - What percent of the screen the player should be able to see through

Two Lies and a Truth

One of these three events has been started... but which one? \ \ ConVars \ _ttt_randomattwolies - Default: 1 - Whether this event is enabled.\ _ttt_randomat_twolies_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_twoliesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_twoliesblocklist - Default: - The comma-separated list of event IDs to not start. For example: "skyislava,boo".

Try your best...

Gives each player a random pistol and main weapon that they cannot drop \ \ ConVars \ _ttt_randomatrandomweapon - Default: 1 - Whether this event is enabled.\ _ttt_randomat_randomweapon_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_randomweaponweight - Default: -1 - The weight this event should use during the randomized event selection process.

Typeracer

Type each word/phrase in chat within the configurable amount of time OR DIE! \ \ ConVars \ _ttt_randomattyperacer - Default: 1 - Whether this event is enabled.\ _ttt_randomat_typeracer_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_typeracerweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_typeracertimer - Default: 15 - The amount of time players have to type each given word.\ _randomat_typeracer_killwrong - Default: 1 - Whether to kill players who type the word incorrectly.

Custom Phrases \ This event also supports custom phrases to be added by server administrators. This allows servers to use their own phrases that may not work in the core event by default -- things like inside jokes or phrases that use other alphabets. The custom phrases are stored, one per line, in the data/randomat/typeracer.txt file on the server. \ \ You can also use the following commands in the server console to help you manage the custom phrases: \ _randomat_typeracer_addphrase {phrase} - Adds the given phrase to the list of custom phrases (if it doesn't exist) and updates the data/randomat/typeracer.txt file.\ _randomat_typeracer_removephrase {phrase} - Removes the given phrase from the list of custom phrases (if it exists) and updates the data/randomat/typeracer.txt file.\ _randomat_typeracer_listphrases - Lists all of the current custom phrases.

Variety is the Spice of Life

Prevents players from killing using the same type of damage (bullets, crowbar, etc.) twice in a row \ \ ConVars \ _ttt_randomatvariety - Default: 1 - Whether this event is enabled.\ _ttt_randomat_variety_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_varietyweight - Default: -1 - The weight this event should use during the randomized event selection process.

Wasteful!

Every gun shot uses two bullets \ \ ConVars \ _ttt_randomatwasteful - Default: 1 - Whether this event is enabled.\ _ttt_randomat_wasteful_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_wastefulweight - Default: -1 - The weight this event should use during the randomized event selection process.

We learned how to heal over time, its hard, but definitely possible... (aka Regeneration)

Causes players to slowly regenerate lost health over time \ \ ConVars \ _ttt_randomatregeneration - Default: 1 - Whether this event is enabled.\ _ttt_randomat_regeneration_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_regenerationweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_regenerationdelay - Default: 10 - How long after taking damage you will start to regen health.\ _randomat_regenerationhealth - Default: 1 - How much health per second you heal.

We've updated our privacy policy.

Alerts all players when an item is bought from a shop \ \ ConVars \ _ttt_randomatprivacy - Default: 1 - Whether this event is enabled.\ _ttt_randomat_privacy_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_privacyweight - Default: -1 - The weight this event should use during the randomized event selection process.

What? Moon Gravity on Earth?

Changes the gravity of each player to the configurable scale \ \ ConVars \ _ttt_randomatmoongravity - Default: 1 - Whether this event is enabled.\ _ttt_randomat_moongravity_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_moongravityweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_moongravitygravity - Default: 0.1 - The gravity scale.

What did I find in my pocket?

Gives each player a random buyable weapon \ \ ConVars \ _ttt_randomatpocket - Default: 1 - Whether this event is enabled.\ _ttt_randomat_pocket_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_pocketweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_pocketblocklist - Default: - The comma-separated list of weapon IDs to not give out. For example: "ttt_m9k_harpoon,weapon_ttt_slam".

What gamemode is this again? (aka Murder)

Changes the rules so the round plays like the Murder gamemode:

Player roles are also adjusted when this event begins:

ConVars \ _ttt_randomatmurder - Default: 1 - Whether this event is enabled.\ _ttt_randomat_murder_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_murderweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_murder_pickupsratio - Default: 0.75 - Ratio of weapons required to get a revolver. Value = (ConVarValue x TotalWeapons)/Players.\ _randomat_murderknifespeed - Default: 1.2 - Player move speed multiplier whilst knife is held.\ _randomat_murderknifedmg - Default: 50 - Damage of the traitor's knife.\ _randomat_murder_highlightgun - Default: 1 - Whether to highlight dropped revolvers.\ _randomat_murder_allowshop - Default: 0 - Whether to allow the shop to be used.

You can only jump once.

Kills any player who jumps a second time after this event has triggered \ \ ConVars \ _ttt_randomatjump - Default: 1 - Whether this event is enabled.\ _ttt_randomat_jump_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_jumpweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_jumpspam - Default: 0 - Whether to show the message again for a player who doesn't die.\ _randomat_jump_kill_blastimmune - Default: 1 - Whether to kill players who are immune to blast damage.

Zom-Bees!

Spawns bees who spread zombiism to their victims. See the "RISE FROM YOUR GRAVE" event for additional configuration. \ \ ConVars \ _ttt_randomatzombees - Default: 1 - Whether this event is enabled.\ _ttt_randomat_zombees_minplayers - Default: 0 - The minimum number of players required for this event to start.\ _ttt_randomat_zombeesweight - Default: -1 - The weight this event should use during the randomized event selection process.\ _randomat_zombeescount - Default: 1 - The number of bees spawned per player.

ULX Support

This version of the Randomat 2.0 should be compatible with all versions of the ULX Module for Randomat 2.0 (other than any new events or ConVars or renamed ConVars).\ That being said, I have created my own version of the ULX Module which supports these new events as well as dynamic event loading with little-to-no developer interaction.

Developers

This section is information that is relevant to developers who want to create their own Randomat events

Forcing a Randomat-4000 Weapon to Trigger a Specific Event

If, for whatever reason, you want to force a specific instance of a Randomat-4000 weapon to trigger a specific event, then you can set the EventId property on the weapon instance. For example: ply:Give("weapon_ttt_randomat").EventId = "boo".

If you want to pass arguments to the forced event, you can set the EventArgs property to be a table of arguments. For example:

local wep = ply:Give("weapon_ttt_randomat")
wep.EventId = "choose"
wep.EventArgs = {false, false, nil, 4}

Additionally, if you want the event to be started silently, you can set the EventSilent property. For example:

local wep = ply:Give("weapon_ttt_randomat")
wep.EventId = "choose"
wep.EventSilent = true

Application Programming Interface (API)

The API for the Randomat is available on GitHub here.

ULX Support

To implement support for my dynamic ULX Module, define the EVENT:GetConVars method as described in the API. There is an example available on the GitHub for my ULX plugin as well, here.

Description Support

One of the additions made in this version of the Randomat 2.0 is the ability to print a description of an event on screen and/or in chat when the event starts.\ All existing events have been updated to support this functionality and any external events that exist will still operate as they have done before.\ If a developer of an external Randomat event would like to add support for this functionality, simply add a Description property to the event definition.\ \ Another thing that was added is the concept of an event "type". This is currently being used to make sure multiple events that override weapons (like Harpoon, Slam, Prop Hunt, etc.) don't run concurrently. To set your event to not conflict with those as well, set the Type property to EVENT_TYPE_WEAPON_OVERRIDE.

Special Thanks

Steam Workshop

https://steamcommunity.com/sharedfiles/filedetails/?id=2055805086