/ttt-trophies

An achievement system for Gmod TTT

Primary LanguageLua

Trophies/Achievements for TTT

This is a mod for Garry's Mod TTT to add achievements (a.k.a. trophies) to the game.
All achievements are listed below, immediately below are convars to customise the mod on the client and server.

Words in italics are console commands.
Press ` or ~ in a game of TTT to open the console and type in the words in italics (plus a space and a number) to change this mod’s settings.

Alternatively, add the italic text to your server.cfg (for dedicated servers)
or listenserver.cfg (for peer-to-peer servers)

Client Convars

All client settings can also be changed using the trophies list. Press 'L' to open, or press 'F1' and select the 'Trophies' tab

ttt_trophies_chat - Default: 1
Whether this mod puts messages in chat. e.g. when others earn a trophy, you make progress towards a trophy, or a trophy gets suggested to you
Turning this off also disables buy menu icons being added, indicating items to do with unlocking certain trophies

ttt_trophies_hide_enabled_checkboxes - Default: 1
Whether the enabled/disabled trophy checkboxes are hidden (Normally only seen by admins, an admin can hide the checkboxes from appearing in their trophies list)

ttt_trophies_hotkey_rainbow - Default: J
Hotkey for toggling trophy chat messages, or rainbow effect if all trophies are earned

ttt_trophies_hotkey_list - Default: I
Hotkey for opening the trophies list

Server Convars

ttt_trophies_hide_all_trophies - Default: 0
Whether trophies have their descriptions hidden while unearned

ttt_trophies_suggestion_msgs - Default: 1
Whether messages should show in chat suggesting a trophy to earn

ttt_trophies_progress_msgs - Default: 1
Whether messages should show in chat showing progress towards earning a trophy

Trophies

Trophies marked as (hidden) do not have their descriptions displayed in-game

A lesson in trickery

Kill someone using the Quack's bomb station

trophies_quack - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

A perfect map

Don't loose karma for a whole map

trophies_perfectmap - Default: 1 - Whether this trophy is enabled

All alone

(Hidden) As a Veteran, be the last innocent alive

trophies_quack - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Back to basics

As a traitor, win a round after buying only original TTT items

trophies_basics - Default: 1 - Whether this trophy is enabled

Blaze it

Play 420 rounds of TTT

trophies_blazeit - Default: 1 - Whether this trophy is enabled

Boom! Headshot

Kill someone with a headshot to prevent them from making a noise

trophies_headshot - Default: 1 - Whether this trophy is enabled

But I did not kill the deputy

As a Marshal, win a round with a player you promoted still alive

trophies_marshal - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

CoD but hide-and-seek

As a traitor, win a round without taking damage and killing at least 1 innocent

trophies_traitor - Default: 1 - Whether this trophy is enabled

Completely impractical

As a traitor, get a kill with a backwards shotgun

trophies_backwardsshotgun - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Joke Weapons Pack

Confirmed innocent buddies

As a Paramedic, revive an innocent who's body has been searched

trophies_paramedic - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Customise your colours

In the F1 settings tab, scroll and set your role colours setting to "Simplified"

trophies_rolecolours - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Directed by Robert B. Weide

(Hidden) As a Jester, win

trophies_rolecolours - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Don't wanna hear this noise

Use the mute button to mute and unmute music (Press 'M')

trophies_mute - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Music Mute Button/Auto-mute

Don't worry, it's the detective

(Hidden) See a detective equip a One Punch

trophies_onepunch - Default: 1 - Whether this trophy is enabled
Requires: [TTT] One Punch with Skin Fixed

Fast weapon switch

In the F1 settings tab, turn on the checkbox for "Fast weapon switch"

trophies_fastweaponswitch - Default: 1 - Whether this trophy is enabled

Bought 'em all! (Detective)

Buy every detective item at least once

trophies_buyemalldetective - Default: 1 - Whether this trophy is enabled

Bought 'em all! (Traitor)

Buy every traitor item at least once

trophies_buyemalltraitor - Default: 1 - Whether this trophy is enabled

I'm, spinnin' around

Turn around instantly by right-clicking with the backwards shotgun

trophies_spinning - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Joke Weapons Pack

How's your tummy feeling?

Suggested by /u/MightyBobTheMighty on Reddit
As a Parasite, win a round within 2 seconds of taking over a player

trophies_parasite - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

I've got you now

As an Informant, track someone through walls by looking at them long enough

trophies_informant - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Jack of all trades

As a Vampire, use every fangs ability in 1 round

trophies_vampire - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Maximise the odds

As a Drunk, remember your role while only 1 other player is alive

trophies_drunk - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Naughty list

As a Santa, kill a traitor with a coal piece by right-clicking

trophies_santa - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT Jingle Jam 2021 Roles Pack

Nice

Play 69 rounds of TTT

trophies_nice - Default: 1 - Whether this trophy is enabled

Nice save

(Hidden) Save yourself from a high damage fall by double-jumping

trophies_fall - Default: 1 - Whether this trophy is enabled Requires: Improved Double Jump!

no u

Kill someone with an uno reverse card

trophies_uno - Default: 1 - Whether this trophy is enabled Requires: [TTT] UNO Reverse

Nope, doesn't work

As a Mad Scientist, try to revive someone that's already a zombie

trophies_madscientist - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Oh barnacles

(Hidden) Get freed from a barnacle you placed

trophies_barnacle - Default: 1 - Whether this trophy is enabled
Requires: TTT Barnacle

Oh no! Anyway

As an Assassin, win the round after breaking your contract

trophies_assassin - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

One mistake is all it takes

Don't loose karma at all for 5 maps in a row

trophies_onemistake - Default: 1 - Whether this trophy is enabled

Oops, wrong button

(Hidden) Use a poison potion on yourself

trophies_poison - Default: 1 - Whether this trophy is enabled Requires: TTT Minecraft Potions

Oops

(Hidden) Die before the round has even started

trophies_oops - Default: 1 - Whether this trophy is enabled

Our win, comrade

As a Communist, win with 5 or more players converted to communism

trophies_communist - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT Jingle Jam 2021 Roles Pack

PaP Experimenter

Pack-a-Punch 30 unique weapons

trophies_papexperimenter - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Pack-a-Punch Item (Weapon upgrader!)

Playing the long game

As an Impersonator, search a body and buy a detective item in 1 round

trophies_impersonator - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Quake Pro

Pack-a-Punch yourself!

trophies_papself - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Pack-a-Punch Item (Weapon upgrader!)

Random item button?

As a detective, win only using items bought with the "buy random item" button

trophies_randomitems - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Reverse healing

As a jester, use a health station while injured to lose max health

trophies_jesterheal - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Risky move

As a Hypnotist, win the round after reviving a detective

trophies_hypnotist - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Rythian-Doing-Murders

As an innocent, don't lose karma for a whole round

trophies_innocent - Default: 1 - Whether this trophy is enabled

See? I'm not a traitor

(Hidden) As a Mercenary, kill a traitor using a weapon you bought

trophies_mercenary - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Sneaky little goblin

(Hidden) As a Loot Goblin, survive to the end of the round

trophies_lootgoblin - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Squat walk

Stay crouched and alive from first 10 seconds of a round to the end

trophies_crouch - Default: 1 - Whether this trophy is enabled

Super secret traitor chat

Communicate to your fellow traitors in secret using "traitor chat" (Press 'U')

trophies_traitorchat - Default: 1 - Whether this trophy is enabled

Sure, just play Minecraft

(Hidden) Place 50 or more blocks down using the Minecraft Block

trophies_minecraft - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Minecraft SWEP (Detective)

Survivor

Survive 2 minutes after being damaged to less than 5HP
Suggested by /u/Stuf404 on reddit

trophies_survivor - Default: 1 - Whether this trophy is enabled

The pusher strikes again

See someone killed shortly after you crowbar-pushed them

trophies_crowbarpush - Default: 1 - Whether this trophy is enabled

The reward is yours

Earn all other trophies (Only requires trophies that can be obtained)

trophies_crowbarpush - Default: 1 - Whether this trophy is enabled

Totem pole

Survive to the end of a round while stood on another player or being stood on

trophies_totempole - Default: 1 - Whether this trophy is enabled

Traitor speedrun

(Hidden) As a traitor, win a round in less than 60 seconds

trophies_speedrun - Default: 1 - Whether this trophy is enabled

Trust the ghosts?

As a Medium, kill a traitor while a dead player is near them

trophies_medium - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Twist ending

As a Turncoat, win the round within 2 seconds of turning

trophies_turncoat - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Two for one

Type "bloxwich" in chat

trophies_bloxwich - Default: 1 - Whether this trophy is enabled

Unique Upgrade

Pack-a-Punch a classic randomat-only weapon

trophies_paprandomat - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Pack-a-Punch Item (Weapon upgrader!)

Wait, this thing is useful?

As a Detective, use your DNA Scanner on a body to track their killer

trophies_detective - Default: 1 - Whether this trophy is enabled

Wait, what?

Kill someone as a jester
Suggested by /u/kainereygalo on Reddit

trophies_waitwhat - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Wait, what are we playing?

Through the randomat, win a round where you aren't playing TTT!

trophies_gamemode - Default: 1 - Whether this trophy is enabled
Requires: 100 More Randomats!

Weeeeee

Look upwards and shoot a backwards shotgun

trophies_weee - Default: 1 - Whether this trophy is enabled
Requires: [TTT] Joke Weapons Pack

We achieved world peace?

Suggested by /u/DiscoDan3580 on Reddit
(Hidden) Have 1/2 the round go on without anyone dying

trophies_worldpeace - Default: 1 - Whether this trophy is enabled

What is happening?

As a Randoman, be alive while 4 or more randomats are active

trophies_randoman - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT Jingle Jam 2021 Roles Pack

What's a buy menu?

(Hidden) Win a round as a traitor without buying anything

trophies_whatsbuymenu - Default: 1 - Whether this trophy is enabled

Zombies can buy stuff?

As a Zombie, buy an item

trophies_zombie - Default: 1 - Whether this trophy is enabled
Requires: Custom Roles for TTT

Steam Workshop Link

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