Trouble in Terrorist Town: Level Creation: Difference between revisions
TheBlokker (talk | contribs) |
(Added ttt_filter_role, a better description to ttt_logic_role, and a new page. I hope to improve the TTT pages over time, as there are MANY entities going undocumented and pages going unwritten.) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Rewrite}} | ||
{{toc-right}} | |||
A Level Creation Guide for {{ | A Level Creation Guide for {{ttt|4}} | ||
For general mapping tutorials, see [[:Category:Level Design]] | For general mapping tutorials, see [[:Category:Level Design]] | ||
<br> | <br> | ||
For {{ | For {{ttt2|4}} see [[Trouble in Terrorist Town 2: Level Creation |here]] | ||
You need for Trouble in Terrorist Town: | You need for Trouble in Terrorist Town: | ||
* {{ | * {{gmod|4}} | ||
* {{ | * {{css|4}} (Materials, Textures, Models) | ||
{{category header | {{category header | ||
Line 23: | Line 20: | ||
| border-color = lightgray | | border-color = lightgray | ||
}} | }} | ||
== Getting Started == | == Getting Started == | ||
* [[Getting started in the Hammer editor for TTT!|Getting started in the Hammer Editor]] | * [[Getting started in the Hammer editor for TTT!|Getting started in the Hammer Editor]] | ||
Line 31: | Line 29: | ||
* [[Traitor-Doors|Traitor Doors]] | * [[Traitor-Doors|Traitor Doors]] | ||
* [[Traitor_Traps|Traitor Traps]] | * [[Traitor_Traps|Traitor Traps]] | ||
* [[Traitor_Traps|Level Design Conventions]] | |||
{{category end}} | |||
<br> | |||
Making maps for {{ttt|4}} is essentially the same as creating maps for other {{src|4.1}} games with a few exceptions. TTT has its FGD file available [[Garrys Mod.fgd/Trouble in Terrorist Town.fgd|here]] which includes gamemode-specific entities. Map examples are available at https://www.troubleinterroristtown.com/development/mapping/ | |||
== Entities == | |||
{{ent|ttt_credit_adjust}} This entity allows you to give or take credits away from a Detective or Traitor player. | |||
{{ent|ttt_damageowner}} This entity allows you to correctly attribute damage to the player that activated it. (Traitor traps, etc) | |||
{{ent|ttt_game_text}} This entity allows you to display text on the screens of a role, or all players | |||
{{ent|ttt_logic_role}} This entity allows you to test the role of the !activator, letting you make things such as detective/innocent-only buttons that everyone can see. | |||
{{ent|ttt_filter_role}} This entity, like ttt_logic_role, allows you to test the role of the activator, but as a filter, directly choosing which roles can activate a trigger. | |||
{{ent|ttt_map_settings}} This entity allows you to control things related to your map, like player models or prop procession. |
Latest revision as of 14:37, 28 March 2025

You can discuss the changes here.
A Level Creation Guide for Trouble in Terrorist Town
For general mapping tutorials, see Category:Level Design
For Trouble in Terrorist Town 2 see here
You need for Trouble in Terrorist Town:
Garry's Mod
Counter-Strike: Source (Materials, Textures, Models)
Getting StartedSpecial Objects |
Making maps for Trouble in Terrorist Town is essentially the same as creating maps for other
Source games with a few exceptions. TTT has its FGD file available here which includes gamemode-specific entities. Map examples are available at https://www.troubleinterroristtown.com/development/mapping/
Entities
ttt_credit_adjust This entity allows you to give or take credits away from a Detective or Traitor player.
ttt_damageowner This entity allows you to correctly attribute damage to the player that activated it. (Traitor traps, etc)
ttt_game_text This entity allows you to display text on the screens of a role, or all players
ttt_logic_role This entity allows you to test the role of the !activator, letting you make things such as detective/innocent-only buttons that everyone can see.
ttt_filter_role This entity, like ttt_logic_role, allows you to test the role of the activator, but as a filter, directly choosing which roles can activate a trigger.
ttt_map_settings This entity allows you to control things related to your map, like player models or prop procession.