DocsHostingCampaign and co-op

Campaign servers

A dedicated server can host a campaign in co-op, with no player as host: Halo 3's, Halo: Combat Evolved's, Halo 2's, Halo 3: ODST's, Halo: Reach's, or a mod's. It holds a co-op lobby, starts the mission once enough players are in, and goes on to the next mission after each win. This guide covers the one line that sets it up, the names every game's missions go by, the files a server needs, mods' campaigns and the players' own characters.

Work in progressEarly development build. What this page describes may still change.

5games' campaigns, and mods' of each
16players at most
1line in dedicated.toml
0game files sent to players

In one minute

This assumes a server set up as in Host a dedicated server, and writes commands as that guide does: project-reclaimer dedicated …, run in the server folder.

  1. Copy the campaign's files On a PC with the game, fill the server folder from your own installation. Here Halo 3's campaign and Halo: CE's; what each game needs is below:
    Shell
    project-reclaimer dedicated init . --from "your game's folder" --maps campaign,halo1-campaign
  2. Give a server one campaign line In dedicated.toml, in place of the server's playlist, variant or map and game:
    dedicated.toml
    [[server]]
    name = "Combat Evolved Co-op"
    port = 49176
    max_players = 4
    campaign = { campaign = "halo1", mission = "a10", difficulty = "heroic" }
  3. Check, then start
    Shell
    project-reclaimer dedicated check
    project-reclaimer dedicated
    check says which mission the line was found to be, such as Mission: The Pillar of Autumn of Halo: Combat Evolved, or why it was refused, with the names it could have been.

To see everything the server can host, with the exact names to write, ask it. Words narrow the list:

Shell
project-reclaimer dedicated content            # everything
project-reclaimer dedicated content autumn     # what matches a word

Players find the server in the Server Browser, or join it by address, as they join any co-op lobby: see campaign servers in the player guide.

The campaign line

dedicated.toml
campaign = { campaign = "halo1", mission = "a10", difficulty = "heroic" }
FieldWhat it isLeft out
missionThe mission the server starts from: its file's name, its title or its number. See naming.Required
campaignWhose mission it is: a game's key or a mod's campaign's title.The campaign the mission is found in
difficulty"easy", "normal", "heroic" or "legendary"."normal"
insertionThe first mission's start (rally point), 0 for its beginning.0
modifiersSkulls, scoring, sprint, enemy health and damage, the camera. See modifiers.None
custom_characters, customization, no_vanilla_characters, character_modeWho the players play. See the players' own characters.Each mission's own characters

A server with campaign plays nothing else: it can't also have a playlist, variant, map, game, base_map, odst or reach. Another [[server]] in the same file can play something else, so one machine can host a campaign beside multiplayer servers.

Naming the campaign and the mission

The campaign is one of the five games' keys, or a mod's campaign:

"halo3"
Halo 3. Also what a Halo 3 mission means with campaign left out.
"halo1"
Halo: Combat Evolved
"halo2"
Halo 2
"odst"
Halo 3: ODST
"reach"
Halo: Reach
"Cursed Halo Again"
A mod's campaign, by its title, its package's title, or the key dedicated content lists. See mods' campaigns.

The mission can be written three ways, in any case:

  • its file's name: "a10", "010_jungle", "sc100", "m10", with or without .map;
  • its title: "The Pillar of Autumn", "Sierra 117", "Tayari Plaza";
  • its number, without quotes: 3010.

Names are the easy way. Halo: CE's and Halo 2's mission numbers are long ones made from the file's name (The Pillar of Autumn is 1221498293), and a Halo 3 number such as 3010 names nothing in another game's campaign.

Leaving campaign out works when the mission says enough:

  • a number of Halo 3's, CE's, Halo 2's or ODST's own missions is that game's mission. Reach's missions need campaign = "reach" or a name;
  • a name is looked for in the five games' own campaigns first, then in the mods'. mission = "a10" is CE's own even when a CE mod has an a10 too.

When a name is in more than one campaign, the server asks for the campaign. mission = "Halo" is both Halo 3's last mission and CE's second, and mission = "Epilogue" is Halo 3's and ODST's. The refusal names each one:

dedicated check
"Epilogue" is a mission of several campaigns (campaign = "halo3" (Halo 3), campaign = "odst" (Halo 3: ODST)): name the campaign too, as campaign = { campaign = "halo3", mission = "Epilogue" }