• Stars
    star
    172
  • Rank 220,083 (Top 5 %)
  • Language
    Lua
  • Created over 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Trouble in Terrorist Town 2 for Garry's Mod (gmod)

TTT2 - Trouble in Terrorist Town 2 (Advanced Update)

CI Steam Subscriptions Steam Downloads Discord

This is still a beta version. Bugs are expected and a documentation is available here. Please report bugs and suggestions here! Please make sure to check out the FAQ page before asking the same questions each and every day.

MOTIVATION

TTT2 (TTT 2.0) was the next logical step after TTT was such a massive success. It is a spiritual successor to this classic gamemode by Bad King Urgrain which aims to introduce many new features, to fix old bugs and to lift the user interface into a modern era.

ADDONS

We know that TTT lives from its huge community and all its great addons. Because of this, compatibility is one of the highest priorities. Almost every item that works with TTT also works well with TTT2. There are a few minor exceptions though. Addons that modify the hud, eg. Octagonal HUD, will not work with TTT2. If you plan on creating a new HUD for TTT2, you have to use the way more powerful hud system from TTT2. Additionally addons that rely on roles may not work as intended with the newly added roles.

Additionally there's a compatibility checker, that prints a list of incompatible or outdated addons in the server console. More on this in our documentation here.
Hint: You do not need addons like “Better Equipment Menu”, “Drowning Indicator” or “TTT Sprint”, because features like these are included in TTT2 by default.

NEW GAMEMODES

There are a few new gamemodes based on TTT2. Click on these icons to open a list of needed addons to play these currently available official gamemodes.

https://i.imgur.com/5JAsxin.png https://i.imgur.com/qwEkCPb.png https://i.imgur.com/WVuPmxP.png

SETUP

The setup is fairly easy. Just subscribe to TTT2 and the addons you want to use and get started. It’s recommended to use ULX to set it up ingame, there’s an ULX addon for TTT2. Commands for the admin shop editor etc. are found in this wiki article.



Custom roles are a very big part of TTT2. It adds the possibility to introduce new roles to the game and to change the gameplay to everybodies preferences. All of this is achieved while maintaining an easy to access framework to create new roles and a high level of compatibility.

Check out this workshop list for a overview of roles for TTT2.

If you plan on creating your own custom role, check out this wiki article.



Inspired by TTT Fate and vastly improved for TTT Heroes, classes are another possibility to change the default gameplay. They add the possibility to have a custom property besides roles. Classes can contain whatever the author likes to introduce. From passive effects to traitor items to custom abilities like in TTT Heroes. You have to use the addon TTTC in order to play with custom classes.

Check out this workshop list for a overview of classes for TTT2.

If you plan on creating your own custom class, check out this wiki article.



The user interface was long overdue and became a huge new project. It started with a simple icon swap and evolved into an complete overhaul. Besides a new default skin, called PureSkin, which was developed with continuous community feedback, is the new and powerful HUD management system, called HudSwitcher. It is now possible to change HUDs ingame from the F1-menu without changing or editing any files. Additionally the HudSwitcher allows for customizability. Also, it is now possible to move and resize every element, even setting a base color for your HUD is possible.



Currently Available Themes:

  • TTT Old Hud [built-in]: The classic look of TTT
  • TTT Pure skin [built-in]: our new redesign of the TTT user interface. Modern and elegant!
  • TTT Octagonal Hud: [Download here]: A reinterpretation of the beloved HUD addon

If you plan on adding your own HUD design check out this wiki article. The nice thing about the new system is, that you only have to extend the base class in order to have features like rescaling, positioning and on-the-fly hud switching. Besides relying on these features for a new hud-design, addons can use this system for an easy UI integration too.



The passive item system was changed completely. Previously TTT limited the amount of passive items to 16. You might have noticed that after buying a passive item, it wasn’t buyable anymore but at the same time wasn’t transparent. Additionally perks and status effects are displayed in a sidebar. Learn here how to add this feature to your addon.



Inspired by the ideas in TOT and BEM, we created a new shop system. The shop now has a search bar and a system to set favorites. You can even edit your shop when you're dead by pressing C and selecting a role. Additionally features like an admin shop editor and a random shop (team or role basis) are implemented. The admin shop editor is a very powerful yet simple tool to edit team-based shops, link them together and set preferences to each item (team limitation, credit cost, ...). But you don't have to. You can always use the default settings. Learn here how to configure your server.



A main aspect of TTT2 is the new dev interface which allow for greater compatibility between different addons. Check them out in our documentation! This design guideline helps you with creating custom addons visually fitting seamless into TTT2. A WIP autogenerated API-Docu is available as well here.

Again: This is an open-source beta addon. You can report issues on GitHub and contribute to the source code!

Make sure to check out the FAQ page before asking questions or reporting bugs!


THE HISTORY OF TTT2

The idea of TTT2 was born in early 2018 by Alf21. He was annoyed of all these different role mods (such as TTT Totem and Town Of Terror) that wouldn’t work together. So he created a new role system and called it TTT2. Mineotopia was the first one to join his team. He is by himself a very active player and server admin and liked the concept. There was only one big problem: The icons were the definition of ugly. He offered to help with graphics and over time he became an active member of TTT2.

The next big step was a project with two german youtubers, Dhalucard and PietSmiet. We created an exclusive addon for TTT2, called TTT Heroes. At this point, Tobse joined the team and the development rate increased. The idea of a completely revamped user interface was born!

Credits

Credits by https://sketchfab.com/rubiez for creating the DNA Scanner model. It was ported to source engine and animated. The original can be found here: https://sketchfab.com/3d-models/flir-e5-c5c37e8cd607424fbdb06c7ae2924924. It is licensed under the CC BY 4.0 license (https://creativecommons.org/licenses/by/4.0/).

More Repositories

1

TTTC

This is an addon for TTT. It's useful to add custom classes easily to the game
Lua
8
star
2

ttt_addon_graphics

list of steam icons for the workshop; designfiles included
7
star
3

ttt2-role_jes

This is the "Jester" role for TTT2. Clientside effect is made by KingsNJenssons
Lua
5
star
4

ttt2-ulx

This is an addon to support ulx settings for the new custom roles in TTT2. Original addon by Bender180 and Skillz (https://steamcommunity.com/sharedfiles/filedetails/?id=127865722&searchtext=trouble+in+terrorist+town+ulx)
Lua
5
star
5

ttt2-totem

TTT Totem for TTT2 (https://github.com/GamefreakDE/TTT_Totem)
Lua
4
star
6

ttt2-advanced_spectator

A TTT2 addon that displays more player information while in spectator mode
Lua
4
star
7

ttt2-role_siki

This is the "Sidekick" role for TTT2
Lua
4
star
8

ttt2-roundinfo

This is a edited version of another addon (https://steamcommunity.com/sharedfiles/filedetails/?id=656662924) to support the rolesetup of TTT2 and make it multilangual
Lua
4
star
9

ttt2-role_amne

Lua
3
star
10

ttt2-role_pri

A new holy role for TTT2
Lua
3
star
11

ttt2-octagonal-hud

a TTT2 HUD inspired by Octagonal HUD
Lua
3
star
12

ttt2mg

TTT2 Minigames gamemode
Lua
3
star
13

ttt-command-to-chat

a small addon that makes it easy for server owners to configure chat commands
Lua
3
star
14

ttt2-role_wra

Lua
3
star
15

ttt2-role_jack

This is the "Jackal" role for TTT2
Lua
3
star
16

ttt2-role_mark

A new role for TTT2: The Marker
Lua
3
star
17

ttt2-role_necro

TTT2 necromancer role that is able to revive player and transform them into deagle armed zombies.
Lua
2
star
18

ttt2h-pack-default

This is the default heroes pack
Lua
2
star
19

ttt2-role_pir

This is the "Pirate" role for TTT2. See https://github.com/Alf21/TTT2/issues/306 for details.
Lua
2
star
20

ttt2-pointer

Lua
2
star
21

ttt2-role_inf

This is the "Infected" role for TTT2
Lua
2
star
22

ttt2-wep_defi

Lua
2
star
23

ttt2-super-soda

Lua
2
star
24

ttt2-role_vamp

This is the "Vampire" role for TTT2
Lua
2
star
25

ttt2-heroes

TTT2 Gamemode made by Alf21, saibotk, Mineotopia, Speedy and LeBroomer. This requires https://github.com/TTT-2/TTTC/
Lua
2
star
26

ttt2-role_cv

This is the "Clairvoyant" role for TTT2
Lua
2
star
27

ttt2-role_sk

This is the "Serialkiller" role for TTT2
Lua
2
star
28

ttt2-role_hit

This is the "Hitman" role for TTT2
Lua
2
star
29

ttt2-role_pha

Lua
2
star
30

NeoDoc

A simple documentation tool focused on language extensibility and simplicity
C#
1
star
31

neodoc-luals-definition-gen

Generate luals definition files from NeoDoc json
Lua
1
star
32

ttt2h-class-faceless

A new class for TTTC: The Faceless (perfect for Heroes)
Lua
1
star
33

ttt2-language_parser

A python tool that parses the language files and cleans them up
Python
1
star
34

ttt2-role_shini

Lua
1
star
35

ttt2-coffeecup

Lua
1
star
36

ttt2-wep_doorlocker

Lua
1
star
37

ttt2mg-pack_1

Lua
1
star
38

docs

TTT2 documentation / getting started guide
1
star
39

ttt2-wep_dancegun

Lua
1
star
40

ttt2-item_cybergun

Lua
1
star
41

ttt2mg-randomat

Lua
1
star
42

ttt2-weaponstats

Lua
1
star
43

ttt2-role_surv

This a the "Survivalist" role for TTT2 (base template for custom roles)
Lua
1
star
44

ttt2-translation

Translation of the TTT2-Addon
Lua
1
star
45

ttt2-role_ut

Lua
1
star
46

ttt2-role_unk

Lua
1
star
47

ttt2-role_bnc

Lua
1
star
48

addon-ideas

Please open a discussion for new addon ideas in the main repo: https://github.com/TTT-2/TTT2/discussions
1
star
49

ttt2-role_sher

This is the Sheriff and Deputy role for TTT2
Lua
1
star
50

ttt2-acrylic-hud

Another HUD for TTT2
Lua
1
star
51

ttt2-wep_identity_disguiser

Lua
1
star
52

ttt2-role_pest

Lua
1
star
53

ttt2-server-loading

The website displayed while connecting to the official TTT2 servers
JavaScript
1
star
54

tttc-class_shooter

Lua
1
star
55

ttt2-wep_boom_body

Lua
1
star
56

ttt2-vskin_pack

A pack of skins for the menu
Lua
1
star
57

ttt2-item_infini_shoot

Lua
1
star
58

tttc-class_pack

This addon adds different (currently the "Manipulator", "Ghost", "Santa" and "Speeder") class to the TTTC addon
Lua
1
star
59

ttt2-role_snif

This is the "Sniffer" role for TTT2
Lua
1
star
60

ttt2-util_animations

This addon adds different animation effects to the client for TTT2
Lua
1
star
61

ttt2-wep_class_drop

https://steamcommunity.com/sharedfiles/filedetails/?id=1374409183
Lua
1
star
62

ttt2-wep_spartan_kick

Lua
1
star
63

ttt2-wep_minifier

Lua
1
star
64

tttc-class_diver

Lua
1
star
65

ttt2-container

Shell
1
star