Storm Game Framework 2.0.0
User guide
Loading...
Searching...
No Matches
Feature recipes for your project

Begin from the working character and configuration in Build your first SGF project. Use these recipes when you want to add a particular feature. The full beginner equipment and UI walkthroughs are linked below; the NPC recipe introduces its own editor assets and controller configuration.

Start with an equipped item

Follow Equip and show the item from the first-project guide. It covers the grant, compatibility, loadout, instance identity checks and a third-person prop display in one continuing project.

For native held presentation, use Native held-item integration. For a networked inventory-to-slot request, see authority and equipment requests. C++ item-to-weapon integration is covered in the composition guide.

Give an NPC a first behaviour

Use StormAI for states and StormAIActions to select a candidate action while a state is running.

  1. In Content Browser, create an SGF AI Action Set. Open it in AI Action Editor, add Wait with a positive weight, run Check Configuration, and save.
  2. Create a Data Asset of class Storm AI State Asset, add the Run Action Selector task, and assign the action set to its Action Sets array. In a Storm AI State Machine Config, add a gameplay tag to States By Tag, map it to the new state, and use that same tag as Default State Tag.
  3. Make a project Blueprint child of BP_HumanoidAIController. Add Storm AI Action Selector and set AI Configuration to the new configuration. Place a second Humanoid in the test map, set AI Controller Class to your new Blueprint, and set Auto Possess AI to include placed actors.
  4. Play and check Is Character AI Running and Get Last AI Result on the NPC’s controller. An idle pose looks the same when the wait action starts and when setup fails. In C++, inspect UStormAIComponent::GetCurrentStateTag and UStormAIActionSelectorComponent::GetActiveHandle on the server to check which state and action are active.

For transferring an existing player pawn to AI during play, follow the control handoff.

Open a CommonUI screen

Follow Add a screen for the complete editor and Blueprint workflow: layout, registry, help widget, focus, input configuration and a local-controller entry point. It also covers the startup timing and reopening the screen.

For C++ routing after map travel, see the travel and UI setup chain. The API entry point is UStormUISubsystem::RequestWidget.

Choose another feature, or return to the first-project guide.