Skip to content
Jakub Baranowski edited this page Jun 27, 2021 · 2 revisions

Shortcuts

The mission editor shares a lot of shortcuts with Unreal Engine Editor, so you might try those. Anyway here are some that I find useful:

Key Description
F2 allows to rename selected actor. It's a bit clunkyand you might need to click on the entry in the actor list on the right-hand side of the editor.
End places the selected actor, or actors, on the ground. If multiple actors are selected it might bury/levitate some actors.
F moves the editor camera to the selected actor.

Creating the mission

To create a mission simply:

  1. Start Ground Branch.
  2. Open the console using the tilda key ~.
  3. Write open <mapname>, where <mapname> is the name of the map e.g.: open smalltown, in the console and press enter.
  4. Open the console again using the tilda key ~.
  5. Write editmission in the console and press enter.
  6. Click on the "hamburger" icon menu in the top-left corner and select "Save as" from the drop-down.
  7. Input the data you want (it can be anything) and confirm,
  8. Click on the "script" icon menu in the top-left corner and select "Create" from the drop-down.
  9. Input the data you want (it can be anything) and confirm,
  10. Click on the "hamburger" icon menu in the top-left corner and select "Save" from the drop-down.

The following steps are not required but are handy if you'll want to restart the level using the restartlevel console command (otherwise restart level command will restart the "empty" mission):

  1. Exit to main menu, select "Lone wolf" from the list.
  2. On the mission select screen select your game mode and the mission.

From here on out you can open the mission editor with the editmission console command.

Refreshing game mode script

You can refresh the game mode script at any time when in the editor by using the "script" icon menu in the top-left corner and selecting "Refresh" from the drop-down.

Note: while this will refresh the game mode script, if your script depend on modules (lua scripts in separate files imported using the "require" keyword) you will need to restart the game to "see" changes made in the modules. Also to see changes made in the localisation tables you'll need to restart the game.

Restarting the mission

You can restart the current mission using the restartlevel console command at any time.

I found that some changes in the mission file aren't properly updated when using the refresh script option. And so if something does not work after using the refresh script option I would advise restarting the level.

If that doesn't work try restarting the entire game.