Storm Game Framework 2.0.0
User guide
Loading...
Searching...
No Matches
Use your own level and package it

Move your working gameplay into a project map and run it outside the editor. This chapter checks whether the project's definitions, profiles and UI are available in the built game.

Before you start

Complete Add a screen. Restore the supply kit grant, Main hand compatibility and starting loadout after the failure tests. Compile and save the tutorial Blueprints.

Packaging SGF's C++ source requires the engine's supported C++ build tools even though the tutorial gameplay is authored in Blueprint. See requirements.

Create the room

  1. Duplicate L_SetupTest into Tutorial/Maps as L_SupplyRoom. Open the copy. This preserves the working floor, lighting and Player Start.
  2. In World Settings, confirm GameMode Override = BP_PlayerCharacter_GameMode. That game mode should select BP_PlayerCharacter and BP_TutorialController.
  3. Keep one clear Player Start above the floor. Add cube walls with a gap about 200 cm ahead of the start. The copy already contains the BP_SupplyDoor you placed in the door chapter: move that door into the gap rather than placing a second one. Its actor origin should be at the panel's centre, 100 cm above the floor, as configured in the door chapter. Keep its initial Open value false.
  4. Check the door can rotate clear of the frame. Use a movable DoorPanel with Visibility-blocking collision. Leave enough space for the character to walk through when it opens.
  5. Save and play L_SupplyRoom. Repeat the help, character, inventory, equipment and door checks.

Light the new walls and door before judging the result. If static lighting makes their fronts black, rebuild the lighting or use a movable fill light for this small test room.

The project settings and assets are shared between maps. The selected game mode, placed door and Player Start belong to this map. This chapter launches a map directly; runtime travel and loading transitions are separate features.

Choose startup and cook content

In Project Settings > Maps & Modes, set Game Default Map to L_SupplyRoom. You may also set Editor Startup Map to it. These have different jobs: the game default controls a normal game launch, while the editor startup controls the map the editor opens.

In Project Settings > Packaging:

  • Set Build Configuration to Development for this first check.
  • Add L_SupplyRoom to List of maps to include in a packaged build. Use the asset picker so the full project package path is correct.
  • Keep your primary asset scans covering the Tutorial folders and the starter's required plugin assets. Verify new scan entries' cook rules include the definitions and profiles they discover.

The game mode's controller reference, widget registry and settings must also lead to the layout and help widget in the cook. If those soft-referenced UI assets are missing, add the exact Tutorial/UI folder to Additional Asset Directories to Cook for this tutorial and rebuild. Avoid including the whole project as a way to hide a missing reference.

Package and run

Save all. Use Platforms > Windows > Package Project and choose a fresh output folder outside your Content folder. Wait for a successful package result; inspect the Output Log if the build or cook fails.

Close the editor or leave Play stopped, then launch the packaged executable directly. It should open L_SupplyRoom and show your help screen. Close help and check:

Check Expected result
Character The Quinn body appears and moves.
Views 2 switches views; first-person uses the configured FOV.
Inventory 3 identifies one supply kit in this Development build.
Equipment 4 reports its instance in Main hand; its third-person prop is visible.
Door 5 opens it when aimed in range.
UI 7 reopens help; Close and Back return to gameplay input.

For a packaged refusal check, make a separate test build with the game mode's Starter Item cleared and the starting loadout empty. The door should stay closed and explain that the kit is required. Restore the working configuration afterwards. Headless builds and an editor session alone cannot confirm these visible results.

Prepare for your actual release configuration

Print String is useful in Development and is removed from Shipping. A game that needs a player-visible inventory or refusal prompt in Shipping must show that information through its UI. The tutorial door rule and replicated state should not depend on debug printing.

Repeat packaging in the configuration and on the platforms you intend to ship. For multiplayer, test an owning client, another observer, and a late joiner. Record the engine version, SGF version and package configuration with your results.

If something does not match

Symptom Check
The game opens a different map. Check Game Default Map and the packaged map list, then rebuild into a fresh output folder.
The pawn is different. Check this map's GameMode Override and that mode's pawn/controller defaults.
The character or kit is missing only in the package. Check primary asset type, scan directory, unique ID and cook rule.
Help is absent only in the package. Check the UI settings, registry, widget soft references and cook inclusion.
The executable works only on the machine that built it. Check the staging result and runtime dependencies; test a fresh extracted package.

Checkpoint: the standalone package reproduces the small game you built in the editor.

Next: Choose the next feature, or return to Build your first SGF project.