|
Storm Game Framework 2.0.0
User guide
|
Change the tutorial character's body and first-person field of view. Each change will live in a project asset, and you will know which reference makes it take effect.
Complete Make the project yours. Keep using BP_PlayerCharacter, BP_PlayerCharacter_GameMode and L_SetupTest. Enable Show Plugin Content in the Content Browser.
The duplicate needs its own Asset Tag as well as a different asset name. A shared selection slot is intentional: both body choices fill the same slot on the form. A shared asset tag would make tag lookup ambiguous.
Open L_SetupTest and play. The visible body should use Quinn and still follow the inherited animation. Stop Play. Open the original DA_PlayerCharacter_Appearance and confirm it still references the original Body part.
This change uses the compatible mannequin supplied with SGF. For a different skeleton or reference pose, follow native animation and retargeting; changing a mesh reference alone does not perform retargeting.
You set this in Play your first SGF character. Open BP_PlayerCharacter_GameMode > Class Defaults and confirm Player Controller Class is StormNativeHumanoidController, the native class from StormCharactersNative. If it isn't, set it, then compile and save. Use the class picker with All Classes visible if necessary.
This controller supplies the camera manager that presents the Humanoid's first- and third-person views. It is an existing C++ class you can select in the editor; you do not need another Blueprint for this step.
In Tutorial/Characters, choose Add > Miscellaneous > Data Asset, select StormCameraProfile, and name it DA_TutorialViews. This ordinary Data Asset supplies both views for the native camera manager.
Set Default Mode to Storm.Camera.Mode.ThirdPerson. Add these two Modes map entries, using the exact gameplay tags as keys:
| Field | Storm.Camera.Mode.ThirdPerson | Storm.Camera.Mode.FirstPerson |
|---|---|---|
| Pivot Offset | 0, 0, 60 | 0, 0, 64 |
| View Offset | -340, 65, 15 | 0, 0, 0 |
| Field Of View | 90 | 75 |
| Blend Seconds | 0.25 | 0 |
| Collision Radius | 12 | 0 |
Leave the remaining lag settings at their defaults for this first check. Save. In BP_PlayerCharacter > Class Defaults, set Storm Third Person Profile to DA_TutorialViews, then compile and save. Despite that property's name, its profile supplies the modes for both first and third person.
Play L_SetupTest. Press 2 to enter first-person view; the world view should be narrower. Press 2 again to return to the offset third-person view.
Keep the definition's Storm.Capability.Camera entry pointing to the generated DA_PlayerCharacter_Camera. That first-person profile supplies the arms/form mapping and viewmodel policy. The final world FOV comes from the StormCamera mode's Field Of View; changing the first-person profile's Normal FOV alone does not set that final view.
| Symptom | Check |
|---|---|
| The old body is visible. | Follow the pawn's Default Definition to DA_TutorialAppearance, then its Body part. |
| The body disappears after the change. | Check the new Asset Tag, unchanged form/slot tags, scan directory and restart. |
| Pressing 2 does not change the camera. | Check the active map's game mode and its Player Controller Class. |
| The FOV is unchanged. | Check Storm Third Person Profile on the pawn and the FirstPerson mode's Field Of View. |
Checkpoint: your tutorial definition selects the private Quinn body part, and the pawn uses your camera view profile while movement and view switching still work.
Next: Give the player an item.