Example Content
Last updated
Last updated
The plugin ships with a set of example blueprints, maps, and widgets that are meant to serve as an example on how to use some of the more important features of the plugin. Feel free to customize and use these blueprints in your own project!
The examples can be found in the Content Browser inside the "Plugins" folder. If you do not see this folder then please make sure that the "Show Engine Content" and "Show Plugin Content" settings are enabled in the view options of the content browser.
IMPORTANT: Do not modify these assets directly! Since they reside in the plugin's content folder, you'll lose all changes in them once you update the plugin in the future. Always copy the blueprints into your own project's Content folder before modifying them.
Two example maps are included (main menu + lobby) with preconfigured game modes, widgets, and other blueprints that you can use to quickly implement the plugin into your project.
To have a fully functioning experience out of the box, please follow the steps below:
Follow the necessary steps in the Configuration page to configure the plugin.
Go to Edit → Project Settings -> Maps & Modes.
Change the default maps to KronosExampleMenu
.
Change the game instance class to BP_KronosExampleGameInstance
.
Go to Edit → Project Settings -> Kronos Matchmaking.
Change all Kronos classes to the example classes (where possible) such as the online session class, party classes, reservation classes and the user manager class.
If you try playing now you'll see that you have a main menu, where you can join or create parties and matches alike. Afterwards you'll end up in a lobby where you can ready up, wait for other players, and travel to a match.
Since there is no example match map provided, by default the lobby will transition into the default template map with an empty game mode.
To fix this, open the BP_KronosExampleLobbyGameMode
blueprint and simply replace the map name given in the ServerTravelToLevel
node with the map that you want to play the match on. The map name can be given in the following formats (without the quotes):
Short package name: "MyMap"
Long package name: "/Game/Maps/MyMap" (recommended)
In packaged projects you can only travel to maps that were included for packaging. You can do this by going to Project Settings -> Packaging and in the advanced options look for the "List of maps to include in a packaged build".