Skip to content

1574887/TTT2

 
 

Repository files navigation

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/).

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%