DocsMegalithGame modes

Install, share and host

Install, share and host

Install a mode

Put the file in your Game Modes folder, or any folder inside it, and choose Refresh in the game type picker. Open Folder there takes you to the right place:

SystemGame Modes folder
Windows%LOCALAPPDATA%\ProjectReclaimer\Game Modes
macOS~/Library/Application Support/ProjectReclaimer/Game Modes
Linux~/.local/share/ProjectReclaimer/Game Modes (or under $XDG_DATA_HOME)

The game reads Megalith sources (.rmeg, .rvt), saved game types (.json), and Halo 3 game variants (.bin). It also lists MCC's own and Workshop variants by itself. ElDewrito game variants put in the folder are converted when the game starts or on Refresh.

Share a mode

A mode is one file, so share the file. The other host puts it in their own Game Modes folder and chooses Refresh. Players who join them don't need it. Share your .rmeg, not your whole player folder: profile.json and stats-key.json hold your private keys.

Game Options → Save as Variant saves the mode as the lobby has it, script and game options together, as a new .json file in your Game Modes folder. The file gets a random name; rename it if you like. It carries your nickname as its author, which the loading screen shows. It's a Megalith mode like the source it came from, and stays on the Megalith card.

On a dedicated server

Copy the file into the server folder's content/Game Modes, then use it like any game type there:

dedicated.toml
[[server]]
name = "Gun Game"
port = 49178
map = "Guardian"
game = "Gun Game"

[[server]]
name = "Battle Royale"
port = 49179
variant = "content/Game Modes/megalo-battle-royale.rmeg"

Or name it in a playlist with "game": "Battle Royale". dedicated content lists the game types a server can name, dedicated check checks the mode along with the rest, and the server's log says when a mode's script runs into trouble. Campaign characters need the campaign maps in the server's game folder: see campaign files.

Modes also travel inside a mod: a .rmeg in a mod's folder under Mods is listed as well.

Test before you share

mode-check finds mistakes in the file, but not in how the mode plays. Play it with at least one other player and check:

  • The first spawn, several kills, and the respawn after each death.
  • A suicide, a fall off the map and a betrayal.
  • A second round, which should start everyone over.
  • A player leaving and joining again, and a late join: traits, bodies, objects and the HUD on the joining player's screen.
  • The score, lives and time limit ending the game the way you meant, and the right winner.
  • Melee rules: a beat-down from the front, one from behind, and a sword or hammer kill.
  • A kill made after dying, with a grenade still in flight.
  • Timers: one that should repeat fires more than once, and one on a player keeps going after they die.
  • Zones: an empty zone, one player inside, two players inside, and a player dying inside.
  • Teams: joining, leaving, changing teams and a team going empty.
  • Objects: a placed object on several maps, its size, and that it's gone in the next round.
  • Script menus: click the widgets from the joined player's PC, not only the host's.
  • Classes: a full class, a class the player can't afford, and a player who joins mid-game.