H2 standalone build (2021)
The Halo 2 Anniversary Editing Kit includes a standalone build of that game (halo2_tag_test.exe). This build doesn't include network functionality and it intended for testing single-player maps. It includes AI debugging code not included in other published builds of the engine. Using custom content paths is supported.
The standalone build is still somewhat experimental and bugs should be expected. Maps should always receive final testing as map cache files loaded by MCC itself.
The UI works is largely functional so you can load built in maps using it or add your own maps to the UI but loading maps is easier to do using the
game_start command in the console. Note: you need to use the full scenario tag path as this is a tag build. For example:
; load tags\scenarios\solo\01b_spacestation\01b_spacestation.scenario: game_start scenarios\solo\01b_spacestation\01b_spacestation ; load tags\scenarios\multi\halo\coagulation\coagulation.scenario: game_start scenarios\multi\halo\coagulation\coagulation
If you modify tags for the currently loaded map it will be automatically reloaded. You do not need to do anything to enable this behaviour, just edit and let it reload! Major changes might result in the map restarting, minor changes should be seamless apart from a loading screen.
This build offers a number of benefits for testing over compiling cache files or using player simulation:
- As mentioned above tag reloading is enabled for standalone and Sapien.
- You have access to a HaloScript console which lets you toggle globals and call functions at will.
- It will be closer to the experience of playing through level in the cache build than using player simulation.
Some of these shortcuts are only used in certain windows or editor modes.
- ~: Opens the command console.
- Esc: Opens the pause menu.
- Pause/Break: Opens the pause menu.
- Shift+Esc: Exit Standalone
- Ctrl+M: Disables mouse look and enables the cursor
- Shift+Return: Clears console output
- Home Opens the debug menu. Use the arrow keys and
enterto select an item The menu or a submenu is closed using End.
- F1: Selects the spawned actor in the center of the game view.
- F2 Select next encounter. You can also use the console command
- F3: Select previous encounter.
- F4: When an encounter is selected, selects the next actor.
- Shift+F4: Selects the previous actor.
- F6: Erase all spawned actors, e.g. those created with
- Shift+Return: Clears console output
- Left Parenthesis Teleports the player to location they are looking at. Only seems to work if it's further above the player?
- Ctrl+C: Toggles deathless players
- Ctrl+Shift+C: Toggles infinite ammo
- Ctrl+F: Toggles display framerate
- Ctrl+Shift+F: Toggles infinite framerate
- Ctrl+R: Toggles render model vertex
- Ctrl+Shift+R: Toggles render models names
- Ctrl+J: Saves current camera position
- Ctrl+K: Loads last camera position
- Ctrl+L: Teleports player to camera position
- Ctrl+O: Loads last xsync camera position
- Ctrl+4: Toggles sound cache status
- Shift+4: Toggles sound cache graph
- Ctrl+5: Toggles animation size
- Ctrl+6: Toggles texture cache usage
- Shift+6: Toggles texture cache debug mip
- Ctrl+7: Toggles texture cache status
- Shift+7: Toggles texture cache graph
- Ctrl+Shift+7: Toggles texture cache list
- Ctrl+8: Toggles geometry cache status
- Shift+8: Toggles geometry cache graph
- Ctrl+Shift+8: Toggles geometry cache list
- Ctrl+Right: Increase game speed by 0.10 units
- Ctrl+Left: Decrease game speed by 0.10 units
- Ctrl+Shift+Right: Increase game speed by 1.00 units
- Ctrl+Shift+Left: Decrease game speed by 1.00 units
- Ctrl+0: Toggles memory summery
- 3: Toggles 3D sound
- 4: Toggles remastered sound
- Backslash: While controlling a unit, press this key to posses the closest unit.
- Right Parenthesis While controlling a unit, press this key to switch to through any existing units.
To enter into the debug camera, open the console and enter
debug_camera_save followed by
debug_camera_load or press Backspace until you are in flying camera mode. Movement of the camera is a little different than in Sapien. You do not need to hold the middle mouse button and the camera moves in the direction it's pointed rather than its vertical movement being controlled exclusively with buttons.
- Backspace: Cycle camera modes (1st person, 3rd person, flying)
- Use the mouse to aim
- Move with W, A, S, and D
- Go up with R and down with F (camera relative, not world relative)
- Increase/decrease camera speed by scrolling down/up
- Temporarily boost camera speed by holding Ctrl
- Rotate clockwise with G
You can quickly spawn a variety of objects for testing:
- Spawn all vehicles by entering
cheat_all_vehiclesinto the console.
- Spawn all weapons by by entering
cheat_all_weaponsinto the console.