Map checks
Each time you save in TrenchBroom, Map Kit checks the map for what would break a match: spawns in walls, missing bomb site parts, props it can't build. The list is on the map's page, worst first, and each row's How to fix opens its section here.
01Spawns inside a wall
A player is 30 units wide and 70 tall, standing on the spawn's origin. Map Kit puts that shape at each spawn and looks for brushes in it: walls, ceilings, and clip brushes too, since they block players. A ladder brush counts; the mantle brushes (Ladders and mantles) don't. A player spawning there is stuck.
Move the spawn into the open. The row gives the spawn's class, origin and its line in the .map file; in TrenchBroom, the origin is what the Entity inspector shows.
TipThe game stands a spawn on the ground it finds under it, so a spawn on a slope, or a step into the floor, is fine. Touching a wall or ceiling is fine too: a ceiling exactly 70 units up fits.
02Spawns on top of each other
Two spawns of the same kind closer than a player's width (30 units) on both axes, and less than a player's height (70) above one another, put two players in each other when both are used at once, as at the start of a round. The templates space them 64 apart.
03Spawns with no floor under them
Map Kit finds nothing solid within 128 units below the spawn, so a player spawning there falls. Lower it onto the floor.
NoteMap Kit doesn't count props as floors yet. A spawn standing on a crate shows here; if it really stands on one, it's fine.
04No mp_global_intermission
Every mode needs an mp_global_intermission: players look out from it before they spawn and between rounds, and Map Kit takes the map's picture from it. Place one high, looking over the map; its angles set where it looks.
05Search and Destroy spawns
Search and Destroy starts each round with every attacker on an mp_sd_spawn_attacker and every defender on an mp_sd_spawn_defender. With none of one, the mode can't start. ProMod X is five a side, so Map Kit asks for five of each.
A map with no Search and Destroy parts at all gets a note instead: ProMod X is played in Search and Destroy, and the Game modes page shows how to add it.
06Bomb sites and the bomb
Search and Destroy sets the bomb up first: a script_model named sd_bomb with a trigger_multiple named sd_bomb_pickup_trig around it. Without the bomb it sets up no sites at all.
Then every entity named bombzone is a site: a trigger_use_touch whose target names the site's model, whose own target names the defuse trigger. A site missing either link stops the script when the match starts, and the sites after it aren't made. The site's script_label, _a or _b, is only its letter on the HUD and compass.
The model's script_exploder names the wreck it turns into: a script_model named exploder with the same script_exploder. Without them the site doesn't change when it blows up, which Map Kit warns about.
TipThe easiest fix is to copy a whole site from a template map and move it: select every part and move them together.
07Team Deathmatch spawns
Team Deathmatch needs start spawns for both teams, mp_tdm_spawn_allies_start and mp_tdm_spawn_axis_start, and mp_tdm_spawn points to respawn at. A map missing any of the three can't start the mode. With fewer than five start spawns a team, players start on top of each other.
08Props Map Kit doesn't have
A build packs each prop (a misc_model, or a prop from the entity browser) from the game data Map Kit made: Shipment's and Crossfire's props, and those of the maps you imported on Stock props (Props). A model naming any other model can't be built: import the map it comes from, or pick another prop from TrenchBroom's entity browser. Custom models aren't supported yet. Map Kit checks props once it has made the game data.
09Note: stock smoke
ProMod X's smoke fills a map's spaces from its smoke grid: which parts of the map are open, half a metre at a time. Map Kit makes your map's grid with each build, from the same brushes players collide with, and packs it into the map itself, so players who download the map from a server get it too. Until the map is built with it, smoke grenades use the game's own smoke on it.
The grid follows the map wherever its usermaps folder goes. Props players collide with block smoke too.
10Note: no wallhack protection
On stock maps ProMod X sends each player only the enemies they could see, so a wallhack has nothing to show. That needs a graph of what can see what, made for each map, which Map Kit doesn't make yet. On your map every player is sent every other player's position, as in the stock game.
11Note: Shipment's minimap
Map Kit draws your map's minimap with each build, from straight above, as the stock maps' are drawn: the ground dark, walls and crates outlined, black outside the map. Until the map is built with it, the minimap and compass show Shipment.
The minimap covers the map's whole extent, sky included, so keep the sky close around the playable space for a bigger, clearer minimap.