Installation¶
There are two ways to use GASPALS:
- Open the template project (
GASPALS.uproject). Everything is already configured. Use this to explore the demo, and as the starting point of a new game. - Add the plugin to an existing project. Copy the plugin folder, then copy a few project settings that a plugin cannot carry by itself.
GASPALS comes as a project download (the whole template project) and a plugin-only download (just the Plugins/GASPALS folder). Option A needs the project download; option B works with either. Each download comes in three builds, one with both pawns and one for each side: see Which build you have.
Upgrading
Replace the plugin folder as described in Updating GASPALS, then follow the upgrade steps in the release notes: Upgrading to 1.3 from 1.2, and Upgrading to 1.2 first when you come from 1.0 (the collision channels moved, and several assets were renamed or replaced).
Requirements¶
| Engine | Unreal Engine 5.8 |
| Code | None. GASPALS is a content plugin with no C++ module; the project can be Blueprint only. |
| Engine plugins | Declared in GASPALS.uplugin and enabled with GASPALS (see below). GASPALS itself is enabled in the project's .uproject: the template project does this, and option B below shows how. |
| Packaging | A C++ toolchain (Visual Studio 2022 on Windows). GASPALS needs engine plugins that are off by default, so the packaging tool builds a small game target even for a Blueprint-only project. Running in the editor needs no compiler. |
| Disk space | The plugin holds the Game Animation Sample animation set and a MetaHuman, so expect several gigabytes. |
Engine plugins enabled by GASPALS
| Area | Plugins |
|---|---|
| Animation | PoseSearch (motion matching), Chooser, BlendStack, AnimationWarping, MotionWarping, CurveExpression, FullBodyIK, RigLogic, MovieSceneAnimMixer, PhysicsControl |
| Movement | Mover, ChaosMover, MoverExamples (Mover brings NetworkPrediction) |
| Interaction and AI | GameplayInteractions, SmartObjects, StateTree, GameplayStateTree |
| Characters and UI | HairStrands, LiveLink (MetaHuman), ModelViewViewModel, DrawDebugLibrary |
| Editor tools only | EditorScriptingUtilities, GeometryScripting |
The camera system uses Gameplay Cameras, which is enabled by default in 5.8.
The Mover plugins (Mover, ChaosMover, MoverExamples) are only listed by the builds that contain the Mover pawn: the CMC build needs none of them.
Which build you have¶
GASPALS comes in three builds. Each one is a complete plugin with the demo; a one-side build leaves out what only the other pawn uses (its pawn and components, the animations only it plays, and the demo platforms that need Mover).
| Build | Download name | Name in Edit > Plugins | Content Browser folder | Pawns |
|---|---|---|---|---|
| Both | GASPALS-1.3 | GASPALS | GASPALS Content | SandboxCharacter_Mover and SandboxCharacter_CMC |
| Mover | GASPALS-1.3-Mover | GASPALS (Mover) | GASPALS (Mover) Content | SandboxCharacter_Mover |
| CMC | GASPALS-1.3-CMC | GASPALS (CMC) | GASPALS (CMC) Content | SandboxCharacter_CMC |
The plugin-only downloads add -plugin to the name. To tell which build a project has:
- Open Edit > Plugins and look at the plugin's name and description: a one-side build ends its description with "This build contains the Mover side only." (or "the CMC side only"). The same text is in
GASPALS.uplugin(FriendlyNameandDescription). - Or look in
Blueprintsin the Content Browser: a build has the pawn Blueprint of each side it contains.
What a one-side build changes:
- Engine plugins. The CMC build lists no Mover plugin, so the editor never loads Mover, ChaosMover or MoverExamples. The Mover build lists them.
- Project settings. The CMC build has no
DefaultNetworkPrediction.ini(only the Mover pawn uses it), and its data-driven console variables leave out the four that only the Mover pawn reads:DDCvar.LocomotionSetupMover,DDCvar.FootPlacementMode,DDCvar.StrafeStyleandDDCvar.AimStyle. Leave them out of your own project too when you use the CMC build; keeping them does no harm. The warning at play start does not list them for a CMC pawn. - The demo. The pawns of the demo levels come from spawners that fall back to the side you have, and the demo game mode starts on the pawn that exists: see Demo cast and Mover sublevels. In the CMC build the moving platforms and the turntable of the demo levels are absent. Pressing N keeps the only pawn.
- Your own pawn. Build it as the sample of the side you have (Add the systems to your own pawn).
Option A: open the template project¶
- Extract the project download. The project folder contains
GASPALS.uproject,Config/andPlugins/GASPALS/. - Right-click
GASPALS.uproject> Switch Unreal Engine version if it is not associated with 5.8, then open it. The project has no code, so it opens without compiling. - The first launch compiles shaders and builds the motion matching databases. This takes a while once.
- The editor opens
/GASPALS/Levels/DefaultLevel, the main demo. Press Play and continue with the Quick start.
Option B: add GASPALS to your project¶
1. Copy the plugin¶
Close the editor, then copy the folder Plugins/GASPALS (from either download) into your project's Plugins folder (create it if needed):
YourProject/
├── YourProject.uproject
├── Config/
└── Plugins/
└── GASPALS/
├── GASPALS.uplugin
├── Content/
└── Docs/
Then enable GASPALS in your project. With the editor closed, add it to the Plugins array of your .uproject:
(Or open the project, tick GASPALS under Project in Edit > Plugins and restart.) GASPALS is not enabled by default on purpose: enabling it in the project file is what makes the packaging tool build a game target with its engine plugins. Without that, a packaged game closes at start ("Unable to load plugin 'GASPALS' ... missing dependency").
Open the project. The engine enables the plugins GASPALS depends on. In the Content Browser, enable Settings > Show Plugin Content to see the GASPALS Content folder (GASPALS (Mover) Content or GASPALS (CMC) Content for a one-side build).
2. Copy the project settings¶
Some settings live in the project's config files, not in the plugin: collision channels and profiles, data-driven console variables, navigation, and a few engine settings. Without them, traversal finds no obstacles, the camera system and the locomotion setup fall back to defaults, and cover runs do not path on clients.
The Project settings reference explains each line. The short version: add these blocks to your project's Config/DefaultEngine.ini (merge with existing sections of the same name).
[/Script/Engine.CollisionProfile]
+Profiles=(Name="ObstaclePreset",CollisionEnabled=QueryAndPhysics,bCanModify=True,ObjectTypeName="Obstacle",CustomResponses=((Channel="WorldStatic",Response=ECR_Ignore),(Channel="WorldDynamic",Response=ECR_Ignore),(Channel="Pawn",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore),(Channel="Vehicle",Response=ECR_Ignore),(Channel="Destructible",Response=ECR_Ignore)),HelpMessage="Moving Obstacles for Physics Obstacle Course")
+Profiles=(Name="TraversalObjectPreset",CollisionEnabled=QueryAndPhysics,bCanModify=True,ObjectTypeName="WorldDynamic",CustomResponses=((Channel="Traversable")),HelpMessage="Traversable Level Blocks")
+Profiles=(Name="CharacterCapsule",CollisionEnabled=QueryAndPhysics,bCanModify=True,ObjectTypeName="Pawn",CustomResponses=((Channel="Visibility",Response=ECR_Ignore),(Channel="Cover",Response=ECR_Ignore),(Channel="Camera",Response=ECR_Ignore)),HelpMessage="Pawn capsule of the sample characters: ignores Visibility, Camera and Cover so those traces pass through characters")
+DefaultChannelResponses=(Channel=ECC_GameTraceChannel15,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Traversable")
+DefaultChannelResponses=(Channel=ECC_GameTraceChannel16,DefaultResponse=ECR_Ignore,bTraceType=True,bStaticObject=False,Name="Mouse")
+DefaultChannelResponses=(Channel=ECC_GameTraceChannel17,DefaultResponse=ECR_Ignore,bTraceType=False,bStaticObject=False,Name="Obstacle")
+DefaultChannelResponses=(Channel=ECC_GameTraceChannel18,DefaultResponse=ECR_Block,bTraceType=True,bStaticObject=False,Name="Cover")
+EditProfiles=(Name="Ragdoll",CustomResponses=((Channel="Camera",Response=ECR_Ignore),(Channel="Obstacle"),(Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="WaterBodyCollision",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="NoCollision",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="OverlapAll",CustomResponses=((Channel="Cover",Response=ECR_Overlap)))
+EditProfiles=(Name="OverlapAllDynamic",CustomResponses=((Channel="Cover",Response=ECR_Overlap)))
+EditProfiles=(Name="Pawn",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="Spectator",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="CharacterMesh",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="InvisibleWall",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="InvisibleWallDynamic",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+EditProfiles=(Name="Trigger",CustomResponses=((Channel="Cover",Response=ECR_Ignore)))
+ProfileRedirects=(OldName="Obstacle",NewName="ObstaclePreset")
[/Script/Engine.DataDrivenConsoleVariableSettings]
+CVarsArray=(Type=CVarInt,Name="DDCvar.Traversal.DrawDebugLevel",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarFloat,Name="DDCvar.Traversal.DrawDebugDuration",ToolTip="",DefaultValueFloat=1.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.MMDatabaseLOD",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCvar.DrawVisLogShapesForFoleySounds",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCVar.AttributeBasedRootMotion.Enable",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarFloat,Name="DDCvar.OffsetRootBone.TranslationRadius",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCVar.ExperimentalStateMachine.Enable",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCVar.ExperimentalStateMachine.Debug",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCVar.ThreadSafeAnimationUpdate.Enable",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=True)
+CVarsArray=(Type=CVarInt,Name="DDCvar.LocomotionSetupCMC",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.LocomotionSetupMover",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCVar.DefaultAnimSet",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=True)
+CVarsArray=(Type=CVarInt,Name="DDCvar.StrafeStyle",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.AimStyle",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.CameraStyle",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=1,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCvar.UseUnrealAnimationFramework",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCvar.DrawCharacterDebugShapes",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCvar.DrawCharacterDebugStates",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarBool,Name="DDCvar.DrawCharacterDebugGraphs",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.FootPlacementMode",ToolTip="0 == off, 1 == foot placement node, 2 == biped control rig",DefaultValueFloat=0.000000,DefaultValueInt=1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.PawnClass",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=-1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.VisualOverride",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=-1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCvar.AnalogInputStyle",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=1,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCVar.CharacterPhysics.DrawDebug",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
+CVarsArray=(Type=CVarInt,Name="DDCVar.CharacterPhysics.DefaultProfile",ToolTip="",DefaultValueFloat=0.000000,DefaultValueInt=0,DefaultValueBool=False)
[/Script/NavigationSystem.NavigationSystemV1]
bAllowClientSideNavigation=True
[/Script/PoseSearch.PoseSearchSettings]
AvailabilitiesBufferSize=230
[/Script/Engine.PhysicsSettings]
bSubstepping=True
MaxSubstepDeltaTime=0.016667
MaxSubsteps=16
[/Script/Engine.Engine]
NearClipPlane=1.000000
[ConsoleVariables]
p.EnableCharacterAccelerationReplication=1
net.SubObjects.DefaultUseSubObjectReplicationList=1
fx.Niagara.ForceLastTickGroup=1
For the on-screen touch controls on mobile (optional), add this to Config/DefaultInput.ini:
[/Script/Engine.InputSettings]
DefaultTouchInterface=/GASPALS/Input/TIS_MobileControls.TIS_MobileControls
Also copy these two files from the template's Config/ folder (or merge them if you already have them):
| File | Contents | Needed for |
|---|---|---|
DefaultNetworkPrediction.ini | Network Prediction settings: independent ticking, interpolated simulated proxies, input send counts. | The Mover pawn in multiplayer. Not part of the CMC build. |
DefaultGameplayTags.ini | Gameplay tags: Foley.Event.*, MotionMatching.*, SmartObject.*, StateTree.* and redirects. | Foley sounds, motion matching database tags, the smart object and NPC demos. |
Collision channels after the merge
GASPALS adds four channels in the last slots (ECC_GameTraceChannel15 to 18: Traversable, Mouse, Obstacle, Cover), so they don't take the slots a project fills first. Blueprints store a channel by its position among the custom channels, though, so if your project already has custom channels, open the pawns' components after the merge and pick the channels again by name: Traversable Trace Channel (AC_TraversalLogic), Cover Trace Channel (AC_CoverSystem) and Ragdoll Obstacle Object Types (AC_RagdollSystem). The +EditProfiles lines give the engine profiles a Cover response; if your project already edits one of those profiles, add the Cover response to your own line instead (only the first edit of a profile is used). See Project settings.
Rendering settings for the MetaHuman
The demo MetaHuman (Kellan) needs the skinning settings of the template's [/Script/Engine.RendererSettings] section: r.GPUSkin.Support16BitBoneIndex=True, r.GPUSkin.UnlimitedBoneInfluences=True, r.SkinCache.CompileShaders=True and r.SkinCache.DefaultBehavior=0. Copy them too if you keep Kellan.
For multiplayer, raise the per-client bandwidth. At the engine default (100 KB/s) a few Mover characters fill it, and remote characters move in steps on clients:
[/Script/OnlineSubsystemUtils.IpNetDriver]
MaxClientRate=300000
MaxInternetClientRate=300000
[/Script/Engine.Player]
ConfiguredInternetSpeed=300000
ConfiguredLanSpeed=300000
The template renders with DirectX 12 and Shader Model 6 on Windows. A project without these lines falls back to Shader Model 5: everything works, but it doesn't match the template's rendering. Add them if your project doesn't target SM6 yet (Project Settings > Platforms > Windows > Targeted RHIs):
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12
-D3D12TargetedShaderFormats=PCD3D_SM5
+D3D12TargetedShaderFormats=PCD3D_SM5
+D3D12TargetedShaderFormats=PCD3D_SM6
3. Packaging settings¶
In Config/DefaultGame.ini:
[/Script/UnrealEd.ProjectPackagingSettings]
+MapsToCook=(FilePath="/GASPALS/Levels/DefaultLevel")
Replace the map with your own levels.
If your project also enables a game feature plugin (the Game Features plugin) and packaging fails with exit code 25 (unknown cook failure), add a GameFeatureData asset type to scan:
[/Script/Engine.AssetManagerSettings]
+PrimaryAssetTypesToScan=(PrimaryAssetType="GameFeatureData",AssetBaseClass="/Script/GameFeatures.GameFeatureData",bHasBlueprintClasses=False,bIsEditorOnly=False,Directories=((Path="/Game/Unused")),SpecificAssets=,Rules=(Priority=-1,ChunkId=-1,bApplyRecursively=True,CookRule=AlwaysCook))
Don't add it otherwise: without the Game Features plugin, every editor start reports that the GameFeatureData class can't be loaded.
4. Restart and check¶
- Restart the editor so the collision channels and console variables load.
- Open
/GASPALS/Levels/DefaultLeveland press Play. You control the Mover pawn (press N to switch to the CMC pawn; a one-side build has only its own pawn). Run at a low block and press Space to vault: if the character only jumps, the collision channels are not set up (see the warning above). - Set a game mode and default map for your own levels: see Use GASPALS in your own project.
Updating GASPALS¶
GASPALS is a template: you are expected to change its assets. To take a newer version later, keep your changes in your own assets where you can (child Blueprints, your own data assets and levels) and replace the plugin folder. Assets you edited inside Plugins/GASPALS need merging by hand.
Then read the release notes of the new version. Each version lists the renamed, removed and re-typed assets and the project settings to update; from 1.2, follow Upgrading to 1.3, and from 1.0 start with Upgrading to 1.2.
Next steps¶
- Quick start: play the demo and try every feature.
- Controls: every key and gamepad button.
- Project tour: where things are in the plugin.