Adaptive Camera - Official Documentation

Standalone Unreal Engine 5.8 C++ camera, depth of field, and post-tonemap RDG HLSL plugins by Fractum Software (Win64 and Linux).


Project maintained by fractumsoftware Hosted on GitHub Pages — Theme by mattgraham

Adaptive Camera: Action - Adventure - Third-Person Combat Camera and Impact FX (UE 5.8)

Fab Title: Adaptive Camera: Action - Adventure - Third-Person Lock-On Camera System
Author: Fractum Software
Support: fractumsoftware@gmail.com
Target Engine: Unreal Engine 5.8 (Win64, Linux - SM5/SM6 desktop renderers)

Blueprint-ready third-person camera modifier cooperating with USpringArmComponent, centered and over-the-shoulder exploration framing with combat offset, orbital inertia, diagonal and low-angle boss lock-on with target rack focus DOF, synchronized dolly-zoom, two-shot dialogue camera, jump and landing motion, critical hit-stop with optional single-player world time dilation, low-health and healing states, animation notifies, and post-tonemap HLSL combat impact passes for Action - Adventure games in Unreal Engine 5.8.


1. Architecture and Modules

Adaptive Camera: Action - Adventure (Plugins/AdaptiveCamera_Action/) is a standalone C++ plugin with no external plugin or game-module dependencies. It can be installed on its own or alongside the other plugins in the Adaptive Camera suite (Adaptive Camera: Shooter, Adaptive Camera: Horror, Adaptive Camera: Strategy) in the same project.

Module Type LoadingPhase PlatformAllowList Responsibility
AdaptiveCameraAction Runtime PostConfigInit Win64, Linux Mounts /Plugin/AdaptiveCamera_Action (Shaders/AdaptiveCameraActionFX.usf), registers r.AdaptiveCameraAction.Enable and r.AdaptiveCameraAction.Debug CVars, registers FAdaptiveCameraActionViewExtension after FCoreDelegates::GetOnPostEngineInit(), and provides the runtime classes (UAdaptiveCameraActionProfileDataAsset, UAdaptiveCameraActionCameraModifier, UAdaptiveCameraActionComponent, UAdaptiveCameraActionAnimNotify, and FAdaptiveCameraAction* structs). Zero editor dependencies.
AdaptiveCameraActionEditor Editor PostEngineInit Win64, Linux Registers FAdaptiveCameraActionEditorStyle (Resources/Icon128.png, Resources/IconToolbar.svg), the dockable Adaptive Camera: Action - Adventure panel (AdaptiveCameraActionStudioTab) via FGlobalTabmanager, and the Play toolbar button (AdaptiveCameraActionStudioToolbarButton) under AdaptiveCameraActionToolbar, providing a unified top profile/preset bar and 4 feature rack tabs (Third-Person, Combat and Lock-On, Post-Process, Accessibility), Live Preview, A/B Split Compare, Save as DataAsset (under /Game/), Apply/Revert Viewport (on selected actors/volumes), and Live PIE impulse/state testing.

2. Installation and Integration

Step 1 - Enable the Plugin and Add UAdaptiveCameraActionComponent

  1. Copy AdaptiveCamera_Action/ into <PathToProject>/Plugins/ and enable it under Edit -> Plugins -> Camera -> Adaptive Camera: Action - Adventure or in <PathToProject>.uproject:
    "Plugins": [
      { "Name": "AdaptiveCamera_Action", "Enabled": true }
    ]
    
  2. Open your player ACharacter or APawn Blueprint/C++ class, click Add Component, and add Adaptive Camera: Action - Adventure Component (UAdaptiveCameraActionComponent).
  3. Dedicated servers and non-local simulated proxies are bypassed automatically; only locally controlled players register UAdaptiveCameraActionCameraModifier on their APlayerCameraManager and push per-player HLSL state.

Step 2 - Select, Customize, or Create a UAdaptiveCameraActionProfileDataAsset

  1. Included Adaptable Starter Profiles (Content/Presets/ - 6 data assets):
    • /AdaptiveCamera_Action/Presets/DA_Action_SoulsLikeLockOn (Precision Duel Lock-On)
    • /AdaptiveCamera_Action/Presets/DA_Action_HackAndSlash (Crowd Hack and Slash)
    • /AdaptiveCamera_Action/Presets/DA_Action_CinematicExecution (Cinematic Execution)
    • /AdaptiveCamera_Action/Presets/DA_Action_AggressiveSpectacle (Aggressive Combo Spectacle)
    • /AdaptiveCamera_Action/Presets/DA_Action_BossLowAngle (Boss Low-Angle Duel)
    • /AdaptiveCamera_Action/Presets/DA_Action_NarrativeExploration (Narrative Exploration) All 6 starter profiles are designed as customizable baselines that you can tune or duplicate per combat style or encounter.
  2. Adaptive Camera: Action - Adventure Panel: Open from the Level Editor Play toolbar (AdaptiveCameraActionStudioTab):
    • Use the top profile/preset bar to load any of the 6 starter profiles from the 3x2 Apply Preset selector, and edit parameters across the 4 feature rack tabs (Third-Person, Combat and Lock-On, Post-Process, Accessibility).
    • Use Live Preview, A/B Split Compare, Save as DataAsset…, Apply to Viewport / Revert Viewport (Ctrl+Z on selected Camera/Post Process actors), and Live PIE Tester (Test Parry, Test Critical Hit, Test Hit-Stop, Test Rack Focus, Test Dialogue, Test Low Health, Test Heal).
  3. USpringArmComponent and Camera Collision Note: UAdaptiveCameraActionCameraModifier cooperates with USpringArmComponent setups (with or without bUsePawnControlRotation) and sweeps the complete camera offset (including diagonal and boss low-angle lock-on framing and two-shot dialogue offsets) against ECC_Camera (bPreventCameraObstruction, CollisionProbeSize).

Step 3 - Connect Blueprint Events, Delegates, and UAdaptiveCameraActionAnimNotify

Blueprint / C++ Function Signature and Defaults Gameplay Usage
SetLockOnTarget (AActor* TargetActor) Enables diagonal or boss low-angle (bEnableBossLowAngleLockOn) dual-target framing, dynamic Dutch tilt, constrained free-look (bRestrictLockOnFreeLook, LockOnVerticalFreeLookRestriction), optional synchronized dolly-zoom (bEnableLockOnCinematicZoomPullback), and target Rack Focus (bMandatoryRackFocusOnLockOn).
ClearLockOnTarget () Disengages lock-on and returns to exploration framing.
NotifyCombatEngagement / TriggerAttackMotion (float HoldDuration = 2.2f) / (const FVector& LocalSwingDirection, float Intensity = 1.0f) Opens combat lateral framing and injects directional melee follow-through impulse (AttackCameraMotionScale, AttackInstabilityScale, CloseCombatChaosOrderAlpha).
SetSprintState / SetCrouchState (bool bNewSprinting) / (bool bNewCrouched) Explicit runtime sprint/crouch overrides (also auto-detected on ACharacter), driving sprint motion + peripheral blur (GetSprintEffectAlpha) and crouch camera transitions.
SetLockOnDollyZoomOverride / ClearLockOnDollyZoomOverride (bool bEnabled) / () Enables or disables synchronized Lock-On dolly-zoom at runtime without mutating data assets (IsLockOnDollyZoomEnabled).
SetLockOnDuelSide / GetLockOnDuelSide (float SideSign) / () const -> float Flips or centers the lateral duel offset relative to the player-to-enemy axis (-1.0 = left, 0.0 = centered, +1.0 = right).
StartDialogueCamera / StopDialogueCamera / IsInDialogueCamera (AActor* DialoguePartner, float BlendTime = 0.35f) / (float BlendTime = 0.35f) / () const -> bool Engages or exits two-shot dialogue framing between protagonist and NPC (DialogueTargetFOV, DialogueTwoShotLateralOffsetCm, DialogueForwardCloseInCm) with automatic speaker DOF focus (DialogueApertureFStop).
TriggerJump / TriggerLandingImpact (float Intensity = 1.0f) / (float DownwardSpeedCmPerSec = 500.0f, float Intensity = 1.0f) Triggers jump and landing camera motion (also auto-detected on ACharacter).
TriggerNegativeImpactFrame (float DurationOverride = -1.0f, float Intensity = 1.0f) Triggers a negative impact frame burst (suppressed when bReduceFlashIntensity == true).
TriggerCriticalHitImpact (const FVector& WorldImpactLocation, float Intensity = 1.0f) Triggers critical hit-stop with optional single-player world time dilation, release impulse (HitStopReleasePunchScale), impact contrast grading, radial blur, and optional negative impact frame (bTriggerNegativeOnCritical).
SetCriticalMicroHitStopOverride / ClearCriticalMicroHitStopOverride (bool bEnabled) / () Toggles critical/combo Hit-Stop and world time dilation ON/OFF at runtime without mutating data assets.
TriggerHitStopPulse (float Duration = 0.45f, float Intensity = 1.0f) Triggers hit-stop freeze (0.02..1.20 s), release impulse, impact grading, and optional negative impact frame (bTriggerNegativeOnComboHitStop).
TriggerParryImpact (const FVector& WorldImpactLocation, float Intensity = 1.0f) Triggers parry FOV impulse (ParryFOVPunch), radial blur centered at WorldImpactLocation, parry ring flash, and accent tint.
SetHealthNormalized / IsLowHealth (float Health01) / () const -> bool Below LowHealthThreshold (0.30), ramps low-health sway, red vignette pulse, and desaturation.
TriggerHealEffect (float Intensity = 1.0f, float DurationOverride = -1.0f) Triggers upward relief pitch lift, FOV relaxation, low-health sway attenuation, and a healing shader wave.
StartRackFocus / ClearRackFocus / IsRackFocusActive (float TargetDistanceCm, float TargetApertureFStop = 2.2f, float Duration = -1.0f) / () / () const -> bool Manual focal distance and aperture transition (Duration < 0 holds until ClearRackFocus); notifies OnRackFocusChanged when timed rack focus expires.
IsLockedOn / GetLockOnTarget / GetCurrentProfile () const -> bool / () const -> AActor* / () const -> DataAsset* BlueprintPure accessors for active lock-on state, locked adversary, and assigned profile asset.
SwitchProfile (UAdaptiveCameraActionProfileDataAsset* NewProfile, float BlendTime = -1.0f) Interpolates between profiles while preserving active runtime overrides; passing nullptr reverts to DefaultProfile (or default settings if unset).

3. Adaptable Starter Profiles Summary (6 Built-In data assets)

All 6 starter profiles default to Profile.MasterIntensity = 0.65 with each category MasterIntensity = 1.0, bUseIncomingBaseFOV = true, and bOverrideExplorationDOF = false. BaseFOV applies when bUseIncomingBaseFOV = false.

Parameter Precision Duel Lock-On Crowd Hack and Slash Cinematic Execution Aggressive Combo Spectacle Boss Low-Angle Duel Narrative Exploration
BaseFOV (deg, optional) 74.0 79.0 66.0 80.0 76.0 72.0
ShoulderHorizontalOffset (cm) 28.0 14.0 36.0 26.0 20.0 42.0
SprintPeripheralBlurStrength 0.24 0.30 0.22 0.32 0.22 0.08
LockOnPitchBiasDegrees (deg) -3.8 +0.5 -0.8 +0.6 4.8 (+6.6 Boss) -1.5
LockOnVerticalOffsetCm (cm) +24.0 +80.0 +2.0 -4.0 -36.0 (-48.0 Boss) +6.0
LockOnDuelLateralOffsetCm (cm) 78.0 64.0 88.0 88.0 92.0 78.0
LockOnBasePullbackCm (cm) 34.0 24.0 18.0 42.0 46.0 20.0
bEnableLockOnCinematicZoomPullback (Pull / FOV) true (118 / -15.0) false (110 / -13.5) true (152 / -20.5) true (96 / -14.5) true (128 / -18.5) false (115 / -14.0)
bEnableBossLowAngleLockOn / RestrictFreeLook false / true (86%) false / false false / true (90%) false / true (42%) true / true (88%) false / true (88%)
AttackCameraMotionScale / ChaosOrder 0.68 / 0.85 0.88 / 0.35 0.90 / 0.80 1.65 / 0.10 0.78 / 0.78 0.52 / 0.85
bEnableCriticalMicroHitStop (Duration s) true (0.40) false true (0.58) true (0.50) true (0.48) false
bMandatoryRackFocusOnLockOn (f-stop) true (2.6) false (4.5) true (1.8) true (2.8) true (2.2) true (2.8)
DialogueTargetFOV (deg) / f-stop 54.0 / 2.6 56.0 / 3.5 50.0 / 2.4 52.0 / 2.4 52.0 / 2.4 50.0 / 2.0
bEnableNegativeImpactFrame (Crit / Combo) false false true (Crit) true (Crit+Combo) false false
LowHealthVignetteStrength / Desat 0.74 / 0.50 0.62 / 0.40 0.84 / 0.62 0.74 / 0.52 0.72 / 0.50 0.64 / 0.46

4. Building, Automation Tests, and Packaging

Includes 27 built-in C++ automation tests (AdaptiveCamera.ActionAdventure.*) under WITH_DEV_AUTOMATION_TESTS covering spring convergence, preset blending, accessibility scaling, runtime override persistence, exploration autofocus, lock-on framing, dialogue framing, critical hit-stop, low-health/healing states, animation notify radius isolation, collision avoidance, non-finite input safety, HDR detection, and pause/cutscene bypass:

& "<UE_5.8>\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" "<PathToProject>.uproject" `
  -unattended -nop4 -nosplash -RenderOffScreen -d3d12 `
  "-ExecCmds=Automation RunTests AdaptiveCamera.ActionAdventure;Quit" `
  "-TestExit=Automation Test Queue Empty"

Config/FilterPlugin.ini includes /Config/..., /Content/..., /Resources/..., /Shaders/..., /Source/..., and /README.md under [FilterPlugin] so BuildPlugin packages source, icon, all 6 starter profiles, and Shaders/AdaptiveCameraActionFX.usf without Binaries/ or Intermediate/:

# Ensure LINUX_MULTIARCH_ROOT points to Unreal Engine 5.8's v26_clang-20.1.8-rockylinux8 toolchain when compiling Linux targets
& "<UE_5.8>\Engine\Build\BatchFiles\RunUAT.bat" BuildPlugin `
  -Plugin="<PathToProject>\Plugins\AdaptiveCamera_Action\AdaptiveCamera_Action.uplugin" `
  -Package="<OutputDir>\AdaptiveCamera_Action" `
  -TargetPlatforms=Win64+Linux -Rocket -StrictIncludes

5. License and Support