The spawnpoint entity people tend to use is info_player_deathmatch. There is an equivalent command to become a detective: ttt_force_detective. If for some reason you need to be the traitor but you’re not, use ttt_force_traitor. If you manage to kill yourself, force a respawn as follows: ttt_force_terror This convar will be stored for future games once you’ve set it once (unlike the first convar). This is necessary because things like entity replacement do not occur until a round starts. The second convar sets the minimum required players to one, so that a round will start. You need this because with just you playing it looks like you’ve won immediately (seeing as no one else is alive). The first convar prevents a round from ending. Use the following commands in the console (enable it if you haven’t) to make it playable by yourself: ttt_debug_preventwin 1 TTT assumes you want to play with multiple people, so it will start out in “waiting for players” mode.
#How to make a map for gmod install
Once you have compiled a map, you can install it as any other Gmod map (in \garrysmod\maps), and start a local TTT game on it. Configuring the game for testing by yourself These and other entities are discussed below, after we cover how you can test your map. The basics you’ll need to include are spawnpoints, and most likely a ttt_map_settings entity. Hence you should not use Ep2 materials and models unless you know all your players will have it, but you can safely use CS:S stuff if you want.įrom this point on, you can make a map as any other. Note that TTT requires CS:S, but does not (by default) require Episode 2. It will add all TTT weapons (entities start with weapon_zm_* or weapon_ttt_*), ammo, and special entities (which start with ttt_*) to the entity list.
#How to make a map for gmod mod
If Garry’s Mod is in the list of configurations, that’s good too of course.Īs stated above TTT has an FGD that you can add in your Hammer options. Garry’s Mod runs on the Orange Box version of the engine, so you will probably want to select Episode 2 in the Source SDK launcher, so that you get the new version of Hammer etc. There you can also find the mapexamples directory that contains the example VMF files. If you find your Gmod directory, you can open \garrysmod\gamemodes\terrortown\ which will contain ttt.fgd. TTT includes an FGD file you will need, and a couple of simple example maps showing how certain entities can be used. You can find guides about Hammer basics elsewhere, this page will only cover TTT-specific stuff and assumes some Hammer familiarity.
Maps for Source engine games like Gmod, and therefore also TTT maps, are made using the Hammer map editor.