Arena Shooter

A multiplayer team deathmatch you can open, host and read, the Arena Shooter variant of the First Person template, built on the ArenaKit Kit, the Combat weapons and the session layer.

Last updated Dec 4, 2026Version 1.1.0

The Arena Shooter variant of the First Person template is a small multiplayer game: two teams, a warmup, a timed live round, a results screen, bots that fill empty seats and a scoreboard. The rules live in the ArenaKit Feature or Kit so another project can reuse them; the variant is the project around it. It is a template to read, not a framework to extend.

Open and play

Create a project from the First Person template and choose the Arena Shooter variant in the Project Launcher. The variant enables the Combat and ArenaKit Features and Kits and opens Assets/ArenaShooter/Scenes/Arena.mmap. The bots build their navigation when the map loads, so there is nothing to bake by hand. Press Play: the warmup runs while you are in the match, then the round starts. Fire with the left mouse button and reload with R.

The match is local: to play with others, host a session or join one by address:port with the session commands in Sessions and hosting. The template ships no front-end menu; the Feature or Kit registers the menu, practice and find-match actions in the MiriGraphics action registry (Arena.Menu:<page>, Arena.Practice, Arena.EnterArena, Arena.BackToMenu, Arena.FindMatch, Arena.CancelMatch) for a screen of your own to fire. See Game screens.

Match rules

PhaseWhat happens
WarmupWeapons are off. The timer runs only while a human is in the match.
LiveA kill on the other team adds one to the killer's team. A friendly kill takes one point off. A killed player respawns after arena.RespawnTime at the team start farthest from the enemy.
ResultsThe winning team is shown for arena.ResultsTime, then a fresh warmup starts with scores cleared.

The first team to arena.ScoreLimit, or the higher score at arena.TimeLimit, wins; equal scores are a draw. Humans take the seats of bots on their team (arena.TeamSize seats per team). The rules are console variables, so a dedicated server sets them in Config/DefaultGame.ini.

VariableDefaultMeaning
arena.ScoreLimit15Team kills that end the match
arena.TimeLimit300Seconds a live match lasts
arena.WarmupTime10Seconds of warmup
arena.ResultsTime15Seconds of results
arena.RespawnTime3Seconds dead
arena.TeamSize3Seats per team, bots included
arena.BotstrueFill empty seats with bots
arena.ReplaytrueRecord live matches when the Replay Feature is loaded

How it is built

  • Authority. The host, a dedicated server or an offline game runs FArenaMatchSystem, which owns the match. Clients never run the rules; they receive a snapshot event (phase, clock, team scores, every seat) twice a second and on every change, plus one event per kill for the kill feed. Both ride the session's gameplay event channel.
  • Teams. A joining human is put on the team with fewer humans and the choice is written to the replicated player record, so the scoreboard and team colours read it like any other player state. See Player state.
  • Weapons. BP_ArenaPlayer equips the Weapons pack's carbine.weapon through the Combat weapon system. Clients fire locally and send the request to the server, which validates and applies damage. Weapons are disabled outside the live phase.
  • Kills. Damage goes through the engine's damage pipeline; the match system listens for deaths and credits the instigator.
  • Bots. A bot is a pawn with a navigation agent. A pure decision function picks the nearest visible enemy, strafes inside engage range, fires when aimed and roams between the spawns otherwise; the system turns its decision into an agent destination, a facing and the trigger. Bots use the same weapon and damage code as players.
  • HUD and scoreboard. ArenaHUD.ui and ArenaScoreboard.ui bind to the arena.* sources (arena.timer, arena.score.team1, arena.row.N.name, arena.feed.N, arena.health) and to the Combat weapon.* sources. The scoreboard shows during warmup and results.
  • Remote players. On a client, other players and bots arrive as replicated ghosts; the system gives each a capsule coloured by team. The local pawn is first person and hidden from its own camera.

Optional hooks

ArenaKit works alone. When another Feature or Kit is present it uses it, and does nothing when it is not.

Feature or KitWhat the variant does with it
ReplayRecords each live match with replay.record and stops at the results.
Anti-cheatExposes "Anti-cheat: protected" as the arena.anticheat text source when a service is registered, for your HUD or menu to show.
MatchmakingArena.FindMatch and Arena.CancelMatch start and cancel the queue, and the status is a text source. Join the match it found with Direct Connect.

Run a dedicated server

Shell
MowoServer --project <YourProject>.mproject --map Assets/ArenaShooter/Scenes/Arena.mmap

Clients join with address:port. See Dedicated server and Sessions and hosting.

Engine sources

This page describes behavior implemented in these files of the engine repository, checked against commit 23111c146.

  • Engine/Kits/ArenaKit/ArenaKit.mkit
  • Engine/Kits/ArenaKit/Api/ArenaKit/ArenaMatch.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/ArenaMatchSystem.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/ArenaBotBrain.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/AArenaGameMode.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/AArenaCharacter.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/AArenaBot.h
  • Engine/Kits/ArenaKit/Api/ArenaKit/ArenaServices.h
  • Templates/TP_FirstPerson/Config/TemplateDefs.ini
  • Templates/TP_FirstPerson/Config/DefaultGame.ini
  • Templates/TP_FirstPerson/Assets/ArenaShooter/Scenes/Arena.mmap
  • Templates/TP_FirstPerson/Assets/ArenaShooter/Blueprints/BP_ArenaGameMode.vscript
  • Templates/TP_FirstPerson/Assets/ArenaShooter/UI/ArenaHUD.ui
  • Templates/TP_FirstPerson/Assets/ArenaShooter/UI/ArenaScoreboard.ui

Page feedback

Was this page helpful?