Garry's Mod

Garry's Mod

1,967 ratings
TTT2 (Base) - v0.14.4b
9
40
4
3
3
8
8
4
4
7
7
5
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
64.684 MB
Apr 9, 2018 @ 11:19am
Jun 15 @ 12:23pm
205 Change Notes ( view )

Subscribe to download
TTT2 (Base) - v0.14.4b

Description
# TTT2 # Custom Role Support # TTT Update # New Features #

This is still a beta version. The documentation is available here[docs.ttt2.neoxult.de]. Please report bugs and suggestions here[github.com]! Please make sure to check out the FAQ page[docs.ttt2.neoxult.de] before asking questions.



Discord: https://discord.gg/Npcbb4W
Source: https://github.com/TTT-2/TTT2

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.

We also implemented a compatibility checker, that prints a list of incompatible or outdated addons in the server console that looks like this[cdn.discordapp.com].

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.




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[docs.ttt2.neoxult.de].




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[docs.ttt2.neoxult.de].




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[docs.ttt2.neoxult.de].




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[docs.ttt2.neoxult.de]. 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[docs.ttt2.neoxult.de] 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[docs.ttt2.neoxult.de] 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 wiki[docs.ttt2.neoxult.de]! This design guideline[docs.ttt2.neoxult.de] helps you with creating custom addons visually fitting seamless into TTT2.


Make sure to check out the FAQ page[docs.ttt2.neoxult.de] before asking questions or reporting bugs!
Popular Discussions View All (33)
240
May 1 @ 3:19pm
PINNED: Bugs/Issues
Alf21
5
Nov 22, 2024 @ 6:27pm
Runde startet nicht mehr
HydaLp
30
Jul 20 @ 9:24pm
PINNED: Suggestions
Alf21
1,428 Comments
mexikoedi Aug 2 @ 2:30am 
@Cider
This might help you: https://github.com/TTT-2/TTT2/blob/717312d4b9565f5522813148a54a040f3126ee76/gamemodes/terrortown/gamemode/client/cl_tbuttons.lua#L61

Otherwise feel free to join the Discord server which has dedicated channels for programming, help, ... .
Cider Aug 2 @ 2:20am 
Is there a way to get the assigned color for a role/team? I'm attempting to set the color of a gadget so its clear whose team it belongs to but when I use team.GetColor(ply:GetTeam()) it always returns the players color and not any assigned to his team/role.
mexikoedi Jul 29 @ 2:48am 
@Poofy
Everything should be in these files:
server.cfg, server.vdf and sv.db
If you used autorun.cfg or another file then that too.
There is also a data folder in which addons place configs, logs and other files.
I hope that helps you.
Poofy Jul 28 @ 9:07pm 
Is there a way to export server settings?
b z nt,z Jul 28 @ 12:11am 
аддон байден зет росссия
mexikoedi Jun 24 @ 1:20pm 
@Cemuvi
Tritt am Besten dem Discord Server bei.
Da gibt es passende Kanäle dafür, in denen geholfen wird.
Cemuvi Jun 24 @ 11:51am 
Ok, habs teils nur verstanden. Aber bin fast fertig. nur iwie funktioniert die Hauptfunktion davon nicht. Es werden nicht zu anfangs die Spieler gecheckt und rollen nicht verteilt. Hab da slides eingefügt und so. jemand der mehr von coding versteht wäre es wahrscheinlich leichtes beim drüber schauen.
mexikoedi Jun 24 @ 7:24am 
@Cemuvi
Es gibt eine Dokumentation:
{LINK REMOVED}
Und eine API Dokumentation:
{LINK REMOVED}

Aber für diesen speziellen Fall gibt es glaube ich keine Doku.
Du kannst aber bei Addons vorbeischauen wie diese es machen (manche sind auch kommentiert).
Beispiel:
{LINK REMOVED}
Cemuvi Jun 24 @ 7:08am 
Ja, das wäre perfekt einfach. Weil ehrlich gesagt, wüsste ich nicht wie man das selber machen könnte überhaupt da. Hoffe das es möglich wäre, direkt in der Base mod zu haben. Würde einiges vereinfachen.

Gibt`s hier eigentlich auch nen guide, wie man mods, in die F1 Menü > Server Addons Einstellungen bekommt?
mexikoedi Jun 24 @ 6:51am 
@Cemuvi
Ah okay, das ist nicht möglich soweit ich weiß.
Aber du hast ja schon ein Issue erstellt, vielleicht wird das dann in Zukunft näher betrachtet.