DocsKitSave, build and share

Building and verifying

Building

Compile Map

Ctrl+B runs in the background, and the status bar says when it's done. It refuses scripts that don't compile. Other maps' objects have their data merged in and packed into the map, and painted decorators, decals and lights are built in. A compile cut short leaves large working files beside the package: closing the Kit or the next start removes them.

Re-bake Lighting

File → Re-bake Lighting, also in a scenario light's panel, needs the tags folder. The map loads again.

  • On an installed map it's a change on top: the map's lightmaps stay as they are, and the bake of the lights you changed is added to them, shadows and bounce included. A light that the map's lightmaps held and you moved or deleted is taken out again. With no light changed, nothing happens.
  • Which lights count: one you added is baked, unless it's lit for the game alone or for cinematics only. One of the map's own is baked only if it says lightmaps itself.
  • On an imported level the whole level is baked, its scenario lights among the lights.

A re-baked map is built with your tags folder, so its package carries the whole map.

Render Cubemaps

File → Render Cubemaps sends the Kit's camera to each cubemap the map's levels show, and renders its six faces from the game. The results are saved with the map like imported pictures, and each is also kept as a strip in Kit Exports/<map>/cubemaps/. It needs no tags folder.

Add → Cubemap point adds a new point, but only in a generated level. Import the level with Generate a level's data, not a map's build first.

Generating a level's data

A level's BSP and lightmap imported from the tags folder build as Tool builds them. What Tool generates beyond its tags comes from the installed map's build if it has one. With Generate a level's data, not a map's build, or for a BSP no installed map has built, the Kit makes it: pathfinding, water tessellation, decorators, ambient sound, decals and cubemap assignments.

Sierra 117's first BSP, Sandtrap's and Guardian's, generated this way, play as the originals do. Pathfinding has one sector per walkable surface, so AI walks it, but doors aren't made.

ASS levels

An ASS file chosen in Import Tags, version 2 or Bungie's own version 7, becomes a BSP of the scenario with its lightmap: its collision, portals, clusters and visibility built, and its design (soft ceilings, kill and slip surfaces, water) from a design file beside it. An FBX or glTF file in a level's structure folder imports the same way. It takes the first BSP's place, or Becomes a new BSP of the scenario. Several ASS files make the BSPs of their names, joined at their seams. The level can be lit evenly, or baked by the Kit as Tool lights it.

  • Open edges are taken. Tool refuses a level whose collision has a gap. The Kit closes each gap, and a part that stays open becomes a two-sided sheet that players and objects collide with from both sides. A multiplayer level plays on it; a mission's or Firefight's level still wants sealed geometry for its AI.
  • Detailed levels. A level whose collision has more than 32,767 edges, surfaces or vertices is built in the engine's large form, so detailed terrain doesn't have to be cut down.

A level made this way plays, hosts and joins, but it's still partial: its lightmaps hold about half the detail of Tool's, its sound doesn't follow doors, and its breakable and conveyor surfaces are left plain. Its ladders (^), slip surfaces (') and two-sided surfaces (%) work: see material symbols and limits.

Verify Map

File → Verify Map… walks every tag of a map and lists every problem, not just the first:

  • Tag references that name no tag (errors), or a tag of another group than the field's (warnings).
  • String IDs the map lacks.
  • Blocks and data outside the tags.
  • Resources that name no entry, page or installed shared map.
  • Bad indices: a render model's meshes, materials and nodes, and the scenario's palette entries.

Choose Verify the open map, Verify the compiled map, which checks what the last Compile Map wrote, or Verify a map file…. Problems are grouped by kind with a count, and a double-click opens one's tag in the Tags workspace. No problems: every reference, string, resource and index resolves. is what you want. Every installed map passes.

From the command line, with no window:

Shell
project-reclaimer --verify-map FILE [--installed FOLDER]

It prints the report and exits with status 1 when the map has errors. --installed names MCC's halo3/maps folder, for the shared maps. Without it, the map's own folder is used.