Play Riftwood
Riftwood is the sample match that comes with the plugin: a three-lane map, five champions, minions, a jungle and bots. Playing it is the quickest way to see every system at work. This page plays it in Play In Editor three ways: alone against bots, as a listen server where the host plays too, and with a dedicated server in the background; and then as separate programs from a command line.
Before you start, install and enable the plugin. A new project needs no other setup to play Riftwood.
Open the map
In the Content Browser, with Show Plugin Content ticked, open Plugins > Pioneer MOBA Framework Content >
Sample > Riftwood and double-click L_Riftwood. The map holds everything a match needs: the three lanes, 30
structures, the fountains, the jungle camps and the two objective pits, 48 brush patches and the fog of war volume.
Alone, with bots
- In the toolbar, open the menu beside Play and set Net Mode to Play Standalone, with Number of Players at 1.
- Press Play.
You spawn at your team's player start, in the fountain. One second after you arrive the match fills every empty seat with a bot, so you play with 4 bot allies against 5 bot enemies. The first minion wave leaves at 1:00.
A match played straight from its map has no lobby, so you play the game mode's Default Champion, Varra, with Leap and
Mend on D and F. To play another champion, see the console commands below. To go through the whole match flow instead, open
/PioneerMOBA/Maps/L_MainMenu, press Play, and choose Practice: you pick a champion and two spells in champion
select, and the nine bots pick theirs.
As a listen server
On a listen server one player hosts the match and plays in it; the others join that player's game.
- Set Net Mode to Play As Listen Server and Number of Players to 2.
- Press Play.
The first window is the host, the second a client that joins it. Each joining player goes to the smaller team, so the two of you play on opposite teams, and bots fill the eight other seats. Each window shows only what its own team sees.
The host's champion needs no prediction: the host is the server. The client predicts its own movement and casts, as it would against a dedicated server.
With a dedicated server
- Set Net Mode to Play As Client and Number of Players to 1 or 2.
- Press Play.
The editor starts a dedicated server in the background and connects each window to it as a client. With one player you play with nine bots; with two, the players take opposite teams.
To feel the game at a real connection's delay, open Play > Advanced Settings > Multiplayer Options, turn on Network Emulation and set, for example, 50 ms of latency and 1% packet loss. Run Under One Process keeps the clients quick to start.
As separate processes
To try a server and its clients as separate programs, as they run outside the editor, start the editor binary from a command line. This works with the Epic Games Launcher's engine; a packaged dedicated server needs a source-built engine (see Dedicated servers).
A dedicated server:
UnrealEditor.exe <YourProject>.uproject /PioneerMOBA/Sample/Riftwood/L_Riftwood -server -port=7777 -log
Each client, in its own command line:
UnrealEditor.exe <YourProject>.uproject 127.0.0.1:7777 -game
A listen server, where the first game hosts and plays, is the same with L_Riftwood?listen in place of the server's
map and options:
UnrealEditor.exe <YourProject>.uproject /PioneerMOBA/Sample/Riftwood/L_Riftwood?listen -game
UnrealEditor.exe is in the engine's Engine\Binaries\Win64 folder; give the full path to your .uproject. With
-game the engine logs some LogEditorDataStorageUI warnings; they are the engine's and harmless.
Keys
| Key | What it does |
|---|---|
| Right mouse button | Move, or attack the enemy under the cursor |
| A, then left mouse button | Attack-move |
| S, H | Stop, hold |
| Q, W, E, R | Abilities |
| Left Ctrl + Q, W, E or R | Put an ability point into that ability (or click the glowing slot) |
| D, F | Summoner spells |
| 1, 2, 3, 5, 6, 7 | Items |
| 4 | Place a ward |
| B | Recall to the fountain |
| P | Open the shop. You buy in your fountain, or anywhere while dead |
| Y, Space, F7 | Lock the camera, center it on your champion, free camera |
| Tab | Scoreboard |
| Enter | Chat with your team; start the line with /all for everyone |
| Alt + left click | Ping, on the ground or on the minimap |
| F10 | The match's settings. In Play In Editor, Escape ends the session |
Console commands for playtests
These work outside Shipping builds. Open the console with the backquote key.
| Command | What it does |
|---|---|
Moba.MatchTime 0:55 | Puts the match clock at 0:55: the first wave leaves 5 s later |
Moba.SpawnWave | Sends the next wave at once; Moba.SpawnWave 9 sends wave 9 |
Moba.SetLevel 6 | Puts your champion at level 6, with the ability points of the levels gained |
Moba.SetChampion /PioneerMOBA/Sample/Champions/Rook/DA_Champion_Rook.DA_Champion_Rook | Makes you play another champion from level 1 |
Moba.GiveGold 3000 | Gives you gold |
Moba.GiveItem Recurve Bow | Puts an item in your inventory for nothing |
Moba.Shop recommended | Opens the shop on your champion's recommended build |
Moba.Destroy | Knocks down the standing structure nearest your champion |
Moba.Kill | Kills your champion |
Moba.FillBots, Moba.AddBot Red | Fills the empty seats with bots, or adds one |
Moba.EndMatch Blue | Ends the match with a winner |
moba.Vision.ShowAll 1 | Sends everything to everyone, to compare with the fog |
Moba.MeasureGrid 1 | Draws a 1 m grid on Riftwood's surfaces, to judge ranges; 0 hides it. See the measure view |
What to try
- The lane.
Moba.MatchTime 0:55, then walk to a lane. Minions come out of the fog as they enter your sight. Last-hit a few: the gold rises over each one. - A fight. Cast every ability. A skillshot leaves the moment you press the key, even at 50 ms of latency.
- Brush. Step into tall grass. Your champion turns see-through on your screen; enemies outside the patch lose sight of you.
- The shop. Press B to recall, then P in the fountain. Buy a component, then an item built from it, and undo the purchase.
- The push.
Moba.SetLevel 18and push a lane: towers, the inhibitor, both core towers and the core fall in order. The core's fall ends the match on the end screen.
Riftwood describes the map, the champions and the rest of the sample in full.