UE4 / UE5 - PlayerStartPlugin




Introduction

The PlayStartPlugin for Unreal Engine version 4 or 5 enables you to easily setup, manage and switch between multiple PlayerStarts for your Maps / Levels in a Game. This is done via the WorldSettings in the Editor Outliner. You can inherit your Projects WorldSettings Class from the custom PlayerStartWorldSettings class provided by this Plugin. The system then automatically loads all available PlayerStarts and you can choose your default with a ComboBox in the WorldSettings in the Editor Outliner. Please check out the following documentation on how to include and implement and use the PlayStartPlugin in your own projects.

Install the PlayerStartPlugin

  1. Fire up the Epic Game Launcher

    (Pic.: EPIC_Launcher_Icon.png)
  2. Goto Marketplace and search for PlayerStartPlugin - Add it to your cart and checkout
  3. After the Plugin is downloaded you can add it to your projects by opening the PluginManager in the Unreal Editor and searching for PlayerStartPlugin and activating it

    (Pic.: PlayerStartPlugin_InPluginsManager.png)

 

Implement and use in your projects

  1. To get the plugins functionality you need to use the customized WorldSettings for your map / level
  2. Open ProjectSettings and setup the custom WorldSettings PSWorldSettingsBase as default - you can also create a own subclass and use that as WorldSettings.

    (Pic.: PlayerStart_ProjectSettings_WorldSettings_edt.png)
  3. Restart the Project / Unreal Editor (Important!)
  4. To automatically start the level from your selected PlayerStart you have to use the custom GameMode PlayerStartGameModeBase the plugin provides - or you can create a own subclass of this GameMode Class and then use that as GameMode.

    (Pic.: PlayerStart_SetCustomGameModeClass_edt.png)
  5. Now you can add your PlayerStarts to the map / level and they will be available for selection in the Editor Outliner

    (Pic.: PlayerStartPlugin_PlacePlayerStarts.png)
  6. After that you can set your disiered PlayerStart in the Editor Outliner like so

    (Pic.: PlayerStartPlugin_284x284_02.png)
  7. Now your all setup! You can start the game with the Play button to test the setup PlayerStart or you can discover and goto the selected PlayerStart in Edit Mode by clicking on the GoTo PlayerStart button in the Editor Outliner

    (Pic.: PlayerStart_GotoPlayerStart_02.png)

 

Setup without removing Player Character from Map

If you don't want to remove your Player Character from the map you can setup the plugin with the following procedure:

  • Create a child class (Blueprint) of PlayerStartGameModeBase and set this class as GameMode Override in the WorldSettings in your maps Editor Outliner.
  • Set your Player Character as Default Pawn Class in the Selected Game Mode Details > This way you can keep your Player Character on the map and use the functionality of the PlayerStartPlugin at the same time

 

Youtube demo video

 

Download PlayerStartPlugin