Skip to content

Overlay reference

The overlay component and the overlay Anim Blueprints (pose, body, first person, layer blending).

How to read these tables

Settings are the values you tune: select the component in your pawn Blueprint (or open the asset) and look in the Details panel under the category shown. Runtime state is written by the system while it runs; read it, do not set it. Functions marked pure have no execution pins. The descriptions are the same as the Details panel tooltips. Default is the class default; where a sample pawn sets a different value on its component, the description says so ().

AC_OverlaySystem

/GASPALS/Systems/OverlaySystem/AC_OverlaySystem · parent ActorComponent · implements BPI_OverlaySystem_C

Settings

Overlay > General

Variable Type Default Description
Enable Overlay
bEnableOverlay
Boolean true Turns the overlay system on or off (read at start, default only). Off: default overlay pose and body, overlay input ignored.

Overlay > Selection

Variable Type Default Description
Overlay Body
OverlayBody
Enum_OverlayBody Default Selected overlay body (Default, Masculine, Feminine); replicated, OnRep relinks the body anim layer. (replicated (RepNotify))
Overlay Pose
OverlayPose
Enum_OverlayPose Default Selected overlay pose (held item or stance, e.g. Default, Injured, HandsTied); replicated, OnRep relinks the pose anim layer. (replicated (RepNotify))
Overlay Pose Layers
OverlayPoseLayers
Map of Enum_OverlayPose Enum_OverlayPose::NewEnumerator0, ABP_Overlay_Default, Enum_OverlayPose::NewEnumerator17, ABP_Overlay_Injured, Enum_OverlayPose::NewEnumerator18, ABP_Overlay_HandsTied Anim layer class (ALI_OverlayPose) linked for each overlay pose: Default, Injured, HandsTied. To add a stance: add an Enum_OverlayPose entry, an ABP implementing ALI_OverlayPose, and a row here (the menu lists new enum entries automatically). A pose with no row keeps the current layer and prints a warning. Item poses come from the equipment data instead.
Overlay Body Layers
OverlayBodyLayers
Map of Enum_OverlayBody Enum_OverlayBody::NewEnumerator17, ABP_OverlayBody_Default, Enum_OverlayBody::NewEnumerator12, ABP_OverlayBody_Masculine, Enum_OverlayBody::NewEnumerator13, ABP_OverlayBody_Feminine Anim layer class (ALI_OverlayBody) linked for each overlay body: Default, Masculine, Feminine. To add a body style: add an Enum_OverlayBody entry, an ABP implementing ALI_OverlayBody, and a row here. A body with no row keeps the current layer and prints a warning.

Overlay > UI

Variable Type Default Description
Overlay Pose Menu Widget Class
OverlayPoseMenuWidgetClass
UserWidget class W_Switcher_Pose Widget shown while the overlay pose menu key is held. Default W_Switcher_Pose. A replacement only needs to display HighlightedOverlayPose; scrolling and selecting are handled by this component.
Overlay Body Menu Widget Class
OverlayBodyMenuWidgetClass
UserWidget class W_Switcher_Body Widget shown while the overlay body menu key is held. Default W_Switcher_Body. A replacement only needs to display HighlightedOverlayBody; scrolling and selecting are handled by this component.
Menu Time Dilation
MenuTimeDilation
Float 0.35 World time dilation while the menu is open (1 = no slow motion). Global: on a listen server the host's menu slows every player. Default 0.35.
Runtime state (2 variables)
Variable Type Default Description
Highlighted Overlay Pose
HighlightedOverlayPose
Enum_OverlayPose Default Pose highlighted in the open overlay pose menu: starts on OverlayPose, moved by scrolling, selected on release. The menu widget displays it.
Highlighted Overlay Body
HighlightedOverlayBody
Enum_OverlayBody Default Body style highlighted in the open overlay body menu: starts on OverlayBody, moved by scrolling, selected on release. The menu widget displays it.

Functions

Function Inputs Outputs Description
RefreshOverlayPose   bHandled (Boolean) Re-links the selected overlay pose layers (UpdateOverlayPose). (BPI_OverlaySystem)
UpdateOverlayBody     Links the anim layer class OverlayBodyLayers gives for the selected OverlayBody onto the parent mesh. No row or no class for the body: nothing is linked, so the mesh keeps every layer, and a warning names the owner and the body. Does nothing until InitializeSystem has set ParentMesh.
UpdateOverlayPose     Links the anim layer class OverlayPoseLayers gives for the selected OverlayPose onto the parent mesh (replacing the previous pose layer). No row or no class for the pose: nothing is linked, so the mesh keeps every layer, and a warning names the owner and the pose. Does nothing until InitializeSystem has set ParentMesh.
ApplyOverlaySwitch     When bEnableOverlay is off: default pose and body before the layers are linked.
InitializeSystem ParentMesh (SkeletalMeshComponent ref)   Stores the parent mesh and links the initial overlay body and pose anim layers. Called once by the owner on setup.
CloseOverlayMenus     Closes the overlay pose and body menus without selecting anything: removes the switcher widgets and restores global time dilation to 1. Called from EndPlay, so a pawn destroyed with a menu open does not leave the game slowed down.
ConfirmOverlayBodyMenu     Closes the overlay body style menu and selects HighlightedOverlayBody.
ConfirmOverlayPoseMenu     Closes the overlay pose menu and selects HighlightedOverlayPose.
CycleHighlightedOverlayBody bNext (Boolean)   Moves HighlightedOverlayBody one entry up the menu (bNext: the previous enum value) or down (the next value), wrapping around.
CycleHighlightedOverlayPose bNext (Boolean)   Moves HighlightedOverlayPose one entry up the menu (bNext: the previous enum value) or down (the next value), wrapping around.
OpenOverlayBodyMenu     Opens the overlay body style menu for the owning player: MenuTimeDilation, highlight on the current body style, OverlayBodyMenuWidgetClass added to the viewport.
OpenOverlayPoseMenu     Opens the overlay pose menu for the owning player: MenuTimeDilation, highlight on the current pose, OverlayPoseMenuWidgetClass added to the viewport.

Events

  • UpdateSelectedOverlayPose (NewOverlayPose (Enum_OverlayPose)): Server RPC, reliable.
  • UpdateSelectedOverlayBody (NewOverlayBody (Enum_OverlayBody)): Server RPC, reliable.
  • SelectNewOverlayBody (OverlayBody (Enum_OverlayBody)): custom event.
  • SelectNewOverlayPose (OverlayPose (Enum_OverlayPose)): custom event.

BPI_OverlaySystem

/GASPALS/Systems/OverlaySystem/BPI_OverlaySystem · parent Interface

What other systems ask the overlay system.

Functions

Function Inputs Outputs Description
RefreshOverlayPose   bHandled (Boolean) Re-links the selected overlay pose layers (UpdateOverlayPose).

ABP_OverlayPose_Base

/GASPALS/Systems/OverlaySystem/OverlayPose/ABP_OverlayPose_Base · parent AnimInstance · implements ALI_OverlayPose_C

Settings

Overlay > Aim

Variable Type Default Description
Aim Sweep Interp Speed Local
AimSweepInterpSpeed_Local
Float 0 Arm pitch (aim sweep) interpolation speed on the machine that controls the pawn. 0 (default) = no interpolation: the weapon pitch follows the view at once. Above 0 it trails the camera (stepping when turning slowly). Set on every overlay child too (class defaults are not inherited by existing children).
Aim Sweep Interp Speed Remote
AimSweepInterpSpeed_Remote
Float 10 Arm pitch (aim sweep) interpolation speed on other machines, where the pitch arrives in network steps.

Overlay > General

Variable Type Default Description
Can Aim
bCanAim
Boolean false Whether this overlay allows aiming; when false the aim poses are skipped by the pose state machine.
Ready Hold Time Idle
ReadyHoldTime_Idle
Float 3 Seconds the weapon stays raised (Ready) after aiming before it is lowered (Relaxed) while standing still. Set per overlay in the child's class defaults; a very large value keeps it raised. Default 3.
Ready Hold Time Moving
ReadyHoldTime_Moving
Float 2 Same while moving. Sprinting always lowers it at once. Default 2.
Aim Min Time
AimMinTime
Float 0.75 Minimum time (s) in the Aiming state before releasing aim returns to Ready, so a short tap still shows the aim pose. Default 0.75.

Overlay > Poses > Crouch

Variable Type Default Description
Crouch Relax Idle
Crouch_Relax_Idle
Struct_OverlayCurves Overlay pose animation for crouch idle, relaxed (weapon lowered).
Crouch Ready Idle
Crouch_Ready_Idle
Struct_OverlayCurves Overlay pose animation for crouch idle, ready (weapon raised, not aiming).
Crouch Aim Idle
Crouch_Aim_Idle
Struct_OverlayCurves Overlay pose animation for crouch idle, aiming.
Crouch Relax Move
Crouch_Relax_Move
Struct_OverlayCurves Overlay pose animation for crouch moving, relaxed (weapon lowered).
Crouch Ready Move
Crouch_Ready_Move
Struct_OverlayCurves Overlay pose animation for crouch moving, ready (weapon raised, not aiming).
Crouch Aim Move
Crouch_Aim_Move
Struct_OverlayCurves Overlay pose animation for crouch moving, aiming.
Crouch Aim Sweep
Crouch_Aim_Sweep
AnimSequence ref Additive aim sweep animation for crouched aim, blended by AimSweepValue (aim pitch up to down).

Overlay > Poses > Stand

Variable Type Default Description
Stand Relax Idle
Stand_Relax_Idle
Struct_OverlayCurves Overlay pose animation for stand idle, relaxed (weapon lowered).
Stand Ready Idle
Stand_Ready_Idle
Struct_OverlayCurves Overlay pose animation for stand idle, ready (weapon raised, not aiming).
Stand Aim Idle
Stand_Aim_Idle
Struct_OverlayCurves Overlay pose animation for stand idle, aiming.
Stand Relax Walk
Stand_Relax_Walk
Struct_OverlayCurves Overlay pose animation for stand walking, relaxed (weapon lowered).
Stand Ready Walk
Stand_Ready_Walk
Struct_OverlayCurves Overlay pose animation for stand walking, ready (weapon raised, not aiming).
Stand Aim Walk
Stand_Aim_Walk
Struct_OverlayCurves Overlay pose animation for stand walking, aiming.
Stand Relax Run
Stand_Relax_Run
Struct_OverlayCurves Overlay pose animation for stand running, relaxed (weapon lowered).
Stand Ready Run
Stand_Ready_Run
Struct_OverlayCurves Overlay pose animation for stand running, ready (weapon raised, not aiming).
Stand Aim Run
Stand_Aim_Run
Struct_OverlayCurves Overlay pose animation for stand running, aiming.
Stand Relax Sprint
Stand_Relax_Sprint
Struct_OverlayCurves Overlay pose animation for stand sprinting, relaxed (weapon lowered).
Stand Aim Sweep
Stand_Aim_Sweep
AnimSequence ref Additive aim sweep animation for standing aim, blended by AimSweepValue (aim pitch up to down).

Overlay > Setup

Variable Type Default Description
Use Thread Safe Update Animation
UseThreadSafeUpdateAnimation
Boolean false Cached DDCVar.ThreadSafeAnimationUpdate.Enable, read once at initialize. Picks whether the game-thread or the thread-safe update runs Update_OverlayValues.

Functions

Function Inputs Outputs Description
Update_OverlayValues DeltaTime (Float)   Interpolates AimSweepValue towards the pawn's aim pitch, using the Local or Remote interp speed. Runs every animation update.
Update_PropertiesFromCharacter     Caches the owning pawn's animation properties and whether it is locally controlled. Runs on the game-thread update.

ABP_OverlayBody_Base

/GASPALS/Systems/OverlaySystem/OverlayBody/ABP_OverlayBody_Base · parent AnimInstance · implements ALI_OverlayBody_C

Settings

Variable Type Default Description
Pose Stand Idle
Pose_Stand_Idle
AnimSequence ref Overlay body pose animation for standing idle.
Pose Stand Move
Pose_Stand_Move
AnimSequence ref Overlay body pose animation for standing movement.
Pose Crouch Idle
Pose_Crouch_Idle
AnimSequence ref Overlay body pose animation for crouched idle.
Pose Crouch Move
Pose_Crouch_Move
AnimSequence ref Overlay body pose animation for crouched movement.

Functions

Function Inputs Outputs Description
Update_PropertiesFromCharacter     Caches the owning pawn's animation properties into CharacterProperties. Runs on the game-thread update.

ABP_OverlayFirstPerson_Base

/GASPALS/Systems/OverlaySystem/FirstPerson/ABP_OverlayFirstPerson_Base · parent AnimInstance · implements ALI_OverlayFirstPerson_C

Settings

Overlay > General

Variable Type Default Description
Can Aim
bCanAim
Boolean false Whether this overlay allows aiming; when false the aim poses are skipped by the pose state machine.

Overlay > Poses > Crouch

Variable Type Default Description
Crouch Relax Idle
Crouch_Relax_Idle
Struct_OverlayCurves First-person arms pose animation for crouch idle, relaxed (weapon lowered).
Crouch Ready Idle
Crouch_Ready_Idle
Struct_OverlayCurves First-person arms pose animation for crouch idle, ready (weapon raised, not aiming).
Crouch Aim Idle
Crouch_Aim_Idle
Struct_OverlayCurves First-person arms pose animation for crouch idle, aiming.
Crouch Relax Move
Crouch_Relax_Move
Struct_OverlayCurves First-person arms pose animation for crouch moving, relaxed (weapon lowered).
Crouch Ready Move
Crouch_Ready_Move
Struct_OverlayCurves First-person arms pose animation for crouch moving, ready (weapon raised, not aiming).
Crouch Aim Move
Crouch_Aim_Move
Struct_OverlayCurves First-person arms pose animation for crouch moving, aiming.

Overlay > Poses > Stand

Variable Type Default Description
Stand Relax Idle
Stand_Relax_Idle
Struct_OverlayCurves First-person arms pose animation for stand idle, relaxed (weapon lowered).
Stand Ready Idle
Stand_Ready_Idle
Struct_OverlayCurves First-person arms pose animation for stand idle, ready (weapon raised, not aiming).
Stand Aim Idle
Stand_Aim_Idle
Struct_OverlayCurves First-person arms pose animation for stand idle, aiming.
Stand Relax Walk
Stand_Relax_Walk
Struct_OverlayCurves First-person arms pose animation for stand walking, relaxed (weapon lowered).
Stand Ready Walk
Stand_Ready_Walk
Struct_OverlayCurves First-person arms pose animation for stand walking, ready (weapon raised, not aiming).
Stand Aim Walk
Stand_Aim_Walk
Struct_OverlayCurves First-person arms pose animation for stand walking, aiming.
Stand Relax Run
Stand_Relax_Run
Struct_OverlayCurves First-person arms pose animation for stand running, relaxed (weapon lowered).
Stand Ready Run
Stand_Ready_Run
Struct_OverlayCurves First-person arms pose animation for stand running, ready (weapon raised, not aiming).
Stand Aim Run
Stand_Aim_Run
Struct_OverlayCurves First-person arms pose animation for stand running, aiming.
Stand Relax Sprint
Stand_Relax_Sprint
Struct_OverlayCurves First-person arms pose animation for stand sprinting, relaxed (weapon lowered).

Functions

Function Inputs Outputs Description
Update_PropertiesFromCharacter     Caches the owning pawn's animation properties into CharacterProperties. Runs on the game-thread update.

ABP_LayerBlending

/GASPALS/Systems/OverlaySystem/ABP_LayerBlending · parent AnimInstance

Settings

Variable Type Default Description
Use Thread Safe Update Animation
UseThreadSafeUpdateAnimation
Boolean false Cached DDCVar.ThreadSafeAnimationUpdate.Enable; when false the overlay values update on the game thread.
Runtime state (2 variables)
Variable Type Default Description
Parent Skeletal Mesh
ParentSkeletalMesh
SkeletalMeshComponent ref Parent character skeletal mesh reference for the layering (not read by this ABP's graphs at the moment).
Character Properties
CharacterProperties
S_CharacterPropertiesForAnimation Snapshot of the owning pawn's animation properties (SCharacterPropertiesforAnimation), refreshed every animation update.

Functions

Function Inputs Outputs Description
Update_OverlayValues     Reads the Layering_* and Enable_HandIK_* anim curves into the hand, hand IK and arm local/mesh-space weights used by the layer blend.
Update_PropertiesFromCharacter     Caches the owning pawn's animation properties into CharacterProperties. Runs on the game-thread update.