Skip to content

Console variables

GASPALS uses data-driven console variables: variables declared in Project Settings > Engine > Data Driven CVars (stored in DefaultEngine.ini) that Blueprints read with Get Console Variable Int/Float/Bool Value. Some Blueprints also listen to changes (OnDataDrivenCVarChanged), so typing a new value in the console applies it immediately.

Change one at runtime from the console (`):

DDCvar.PawnClass 1
DDCvar.VisualOverride 0
DDCvar.Traversal.DrawDebugLevel 3

In the editor, the values persist for the editor session (across Play sessions). The demo levels also have an editor panel to set them: press the Game Animation Widget button in DefaultLevel or RagdollLevel to open it (it is an editor utility widget, so it only exists in the editor).

They are project settings

The variables are declared in the project's config, not in the plugin. If a project lacks them, an orange on-screen warning at play start lists the missing ones. DDCvar.PawnClass and DDCvar.VisualOverride then fall back to -1 (the game mode's default pawn, no override); every other read returns 0 or false, which changes behavior (for example DDCVar.ThreadSafeAnimationUpdate.Enable false moves the animation update to the game thread). The four variables that only the Mover pawn reads (DDCvar.LocomotionSetupMover, DDCvar.FootPlacementMode, DDCvar.StrafeStyle and DDCvar.AimStyle) are only checked on the Mover pawn, so a project that uses the CMC pawn only can leave them out. Copy them as described in Installation.

Game setup

Variable Type Default Read by Values
DDCvar.PawnClass Int -1 GM_Sandbox Index into the game mode's Pawn Classes Soft. -1 (or out of range): the game mode's Default Pawn Class. In GM_Sandbox: -1 and 0 = SandboxCharacter_Mover, 1 = SandboxCharacter_CMC. Changing it respawns every player in place. N cycles it.
DDCvar.VisualOverride Int -1 GM_Sandbox, AC_VisualOverrideManager Index into the game mode's Visual Overrides Soft. -1: no override (UEFN mannequin). 0 Kellan, 1 Manny, 2 Quinn. M cycles it.
DDCvar.CameraStyle Int 1 AC_CameraSystem Third-person camera distance: 0 close, 1 medium, 2 far, 3 debug view. Also picks the top-down and side-scroller rig variant.

Locomotion and animation

Variable Type Default Read by Values
DDCvar.LocomotionSetupMover Int 1 SandboxCharacter_Mover_ABP (Mover pawn only) 0 full motion matching, 1 state machine / blend stack hybrid.
DDCvar.LocomotionSetupCMC Int 0 SandboxCharacter_CMC_ABP 0 full motion matching (work in progress), 1 hybrid.
DDCVar.ExperimentalStateMachine.Enable Bool false SandboxCharacter_CMC_ABP Experimental state machine path of the CMC Anim Blueprint.
DDCvar.MMDatabaseLOD Int 0 Both character Anim Blueprints Pose search databases: 0 dense, 1 sparse, 2 extreme sparse. Sparser is cheaper and less precise.
DDCvar.StrafeStyle Int 1 Mover pawn Directions used while strafing: 0 forward, back, left, right; 1 forward and back; 2 forward only. Also changes when sprint is allowed while strafing.
DDCvar.AimStyle Int 0 Mover pawn The same direction sets while aiming.
DDCvar.AnalogInputStyle Int 1 Both pawns 0 single gait (always run); 1 walk or run by stick deflection (run above 0.7; on the CMC pawn above Analog Walk/ Run Threshold). Without it, the CMC pawn uses its Movement Stick Mode.
DDCvar.FootPlacementMode Int 1 SandboxCharacter_Mover_ABP Stored by the Mover Anim Blueprint but not used: the foot placement follows a.AnimNode.FootPlacement.Enable.
DDCvar.OffsetRootBone.TranslationRadius Float 0 Both character Anim Blueprints How far the root bone may drift from the capsule.
DDCVar.ThreadSafeAnimationUpdate.Enable Bool true Character, layer blending and overlay Anim Blueprints Run the animation update on worker threads. Overlay Anim Blueprints read it once at start.
DDCVar.CharacterPhysics.DefaultProfile Int 0 AC_RagdollSystem (Mover pawn, with its Physics Control component) Physics profile when not ragdolling: 0 kinematic (default), 1 physical animation (limbs react to contacts but can catch on walls).

Debug drawing

Variable Type Default Read by Shows
DDCvar.Traversal.DrawDebugLevel Int 0 AC_TraversalLogic 1 ledge points, 2 plus the initial trace, 3 plus the room checks and printed ledge data.
DDCvar.Traversal.DrawDebugDuration Float 1 AC_TraversalLogic How long traversal debug shapes stay.
DDCvar.DrawCharacterDebugShapes Bool false Character Anim Blueprints, Mover pawn Trajectory and movement debug shapes.
DDCvar.DrawCharacterDebugStates Bool false Character Anim Blueprints On-screen animation state.
DDCvar.DrawCharacterDebugGraphs Bool false Character Anim Blueprints Debug value graphs.
DDCvar.DrawVisLogShapesForFoleySounds Bool false AC_FoleyEvents Visual logger shapes for foley sounds.
DDCVar.CharacterPhysics.DrawDebug Int 0 AC_RagdollSystem, the Mover Ragdoll mode Ragdoll debug drawing: obstacle sweep, impact prediction traces, roll force arrow (Mover).

Declared but not read

These come with the Game Animation Sample's configuration and no GASPALS asset reads them: DDCVar.AttributeBasedRootMotion.Enable, DDCVar.ExperimentalStateMachine.Debug, DDCVar.DefaultAnimSet, DDCvar.UseUnrealAnimationFramework.

Engine console variables worth knowing

Command Use
show collision Draw collision: check cover walls and traversable blocks.
p.VisualizeMovement 1 Character movement debug.
GameplayCameras.Debug.Enable 1 Gameplay Cameras debug view (active rigs).
a.AnimNode.FootPlacement.Enable 0 Turn foot placement off to compare.
np.PrintReconciles 1 Print Network Prediction corrections (Mover multiplayer).
slomo 0.25 Slow motion.
t.MaxFPS 30 Cap the frame rate to test low frame rates.