Combat Animation¶
The Combat Animation System manages montage selection and playback through UMontageManagerComponent. Montages are stored in weapon DataTables and looked up by gameplay tags. Animation notifies embedded in montages drive combat timing for hits, input windows, and effects.
Weapon animation is resolved along two orthogonal axes: WeaponHand (which arms hold equipment) selects the montage table and drives ABP arm-layer blending; WeaponSet (the weapon combination) drives the ALS locomotion overlay. See Two-Axis Animation Resolution.
Architecture¶
+------------------------+
| Ability Activation |
+------------------------+
|
v
+------------------------+
| IMontageManagerInterface|
| ::GetMontageByTag() |
+------------------------+
|
v
+------------------------+
| UMontageManagerComponent|
+------------------------+
|
v
+------------------------+
| DataTable Lookup |
| (FMontageAction rows) |
+------------------------+
| Row: LightAttack_1 |
| ActionTag: InputTag.LMB
| Montages: [Sword_L1] |
| Row: LightAttack_2 |
| ActionTag: InputTag.LMB
| Montages: [Sword_L2] |
+------------------------+
|
v
+------------------------+
| UAnimMontage returned |
+------------------------+
|
v
+------------------------+
| UAbilityTask_PlayMontageAndWait |
+------------------------+
|
v
+-----------------------------+
| Montage Playback |
+-----------------------------+
| Notify: ComboHitWindow |---> Hit Tracing
| Notify: ComboInputWindow |---> Input Acceptance
| Notify: CombatEffect |---> VFX/Audio/Camera Impulse
| Notify: WeaponTrail |---> Trail Effects
| Notify: IsInvincibleState |---> I-Frames
+-----------------------------+
Why This Design?¶
Tag-Based Lookup¶
Abilities request montages by FGameplayTag rather than direct asset references. This allows:
- Weapon swapping without ability changes
- Data-driven animation assignment
- Random selection from montage variants
DataTable Storage¶
Each weapon type has its own DataTable containing all its montages. This keeps data organized and allows weapon artists to iterate without touching code.
Notify-Driven Timing¶
All combat timing comes from animation notifies rather than hardcoded durations. This means: - Animators control game feel directly - Different montages can have different timing - Playback rate changes don't break combat windows
Two-Axis Animation Resolution¶
Weapon animation is split into two independent concerns rather than one "weapon type" concept. This lets the posture/overlay (driven by the weapon combination) vary independently from the montage moveset and arm blending (driven by which hands are occupied).
| Axis | What it represents | Drives | Source of truth |
|---|---|---|---|
| WeaponHand | Which arms hold equipment (solo, shield-only, sword+shield, dual-wield) | ABP arm-layer blending; montage-table lookup; per-hand combo/charge config | Resolved at runtime; tags WeaponHand.Right/Left/Both/RightWithShield/ShieldOnly |
| WeaponSet | The weapon combination (1H solo, 1H+shield, dual-wield, 2H, 2H hammer, unarmed) | ALS locomotion/idle overlay (and block overlay) | UEquipmentComponent resolves a WeaponSet.* tag; UWeaponSetConfigDataAsset maps it to overlay tags |
Equipment changes (main hand / off hand)
|
+---------------+----------------+
| |
v v
WeaponSet axis WeaponHand axis
(weapon combination) (which arms occupied)
| |
v v
UEquipmentComponent ICombatDataProvider
::UpdateWeaponSetOnCharacter() ::GetCurrentWeaponHand()
| |
v v
UWeaponSetConfigDataAsset FWeaponFragment
Find(WeaponSet) -> OverlayMode ::GetMontagesForHand(WeaponHand)
| | ::GetComboConfigForHand(WeaponHand)
v | ::GetChargeConfigForHand(WeaponHand)
AlsCharacter::SetOverlayMode() v
(locomotion posture) Montage table + combo/charge tuning
(moveset) + ABP arm-layer blend
Why Two Axes?¶
- Shield disambiguation: shield-only and sword+shield share the
WeaponSet_1H_Shieldoverlay but differ in arm blending — distinguished by theWeaponHand.ShieldOnlyvsWeaponHand.RightWithShieldtags. - Centralized overlay mapping: overlay activation lives in
UEquipmentComponent+ a singleUWeaponSetConfigDataAsset, instead of each weapon fragment activating its own overlay. Adding/retuning a weapon set is a data edit, not per-weapon wiring. - Per-hand-context moveset: a versatile weapon can ship different montages, combo counts, and charge levels depending on whether it is solo, paired with a shield, or dual-wielded.
- Single resolution path: tooltips and runtime both call
GetCurrentWeaponHand(), so displayed and actual behavior cannot diverge.
Known issue:
WeaponHandmay not replicate correctly for left-hand weapons on clients (off-hand resolution can be wrong remotely).
The Two-Handed Hammer Is Its Own Weapon Set¶
A two-handed weapon whose type tag is GameItems.Equipment.Weapons.TwoHanded.Hammer resolves to
WeaponSet.2H_Hammer, every other two-hander to WeaponSet.2H. The hammer rests on the shoulder and blocks with the
haft held across the body, so it needs a stance and a block overlay the sword cannot share: WeaponSetConfig maps
its set to Als.OverlayMode.Hammer (AB_Als_Hammer) and Als.OverlayMode.Blocking.Hammer (AB_Als_Block_Hammer).
Nothing else reads the weapon set, so two-hander rules that go by weapon type (the blocked off hand, hyper armor on
heavy swings) hold for the hammer unchanged.
Hammer hits that bring the head down on the floor carry a CombatEffect notify at that moment. The hard blows play
Effects.GroundHit.Heavy (thrown ground and dust, a thud, a camera shake) at the place the head lands, set on the
notify as an offset from the body; the softer ones play Effects.CameraShake.Heavy alone. The place is fixed per hit,
measured on flat ground. The ground hit row also leaves a mark: a Ground Decal layer finds the ground under the place
and lays a decal there (a dent and cracks with stepped depth) that fades out after a few seconds. The last blow of
each combo plays Effects.GroundHit.Finisher instead: the same row plus a Screen Burst layer, which throws the picture
outward from where the head lands for under half a second. The look these effects follow, and how to build another
in it, is in Tools/VfxForge/CLAUDE.md.
A hit can be given weight per animation, on its own notifies and without a new effect row: the swing slows as the
hammer is dragged up and the head lies where it struck before the recovery speeds up (PlayRateSpan Hold and Tempo), and the CombatEffect notify sets
how hard the row's shake plays (CameraShakeScale), a push of the camera forward and down
(DirectionalImpulseStrength, DownwardImpulseStrength), a zoom kick (ZoomImpulseStrength) and whether the row's
hit stop plays (bTriggerTimeEffects). The fourth heavy hit carries these (WEIGHT in
Tools/MotionForge/sets/hammer_montages.py).
The Off Hand Stops Under the Head¶
The hammer clips were made for a longer haft: in Light 2, Heavy 3 and Heavy 4 the left hand holds 60 to 80 cm above the main hand, which on a weapon with a large head is inside the head. A weapon mesh can carry two sockets on its root bone that give the off hand its range on the haft:
| Socket | Marks | Bell hammer |
|---|---|---|
Grip_OffHand |
The lowest place near the pommel a hand can hold | 55 cm below the grip |
Grip_OffHand_Max |
The highest place toward the head a hand may hold | 24 cm above the grip, under the collar |
FAnimNode_OffHandGrip reads them. A weapon with Grip_OffHand_Max is served on whichever mesh socket it hangs
(the hammer hangs on weapon_r, not weapon_r_2h), may hold the off hand on either side of the main hand, and has
it stopped at that socket. Where the clip changes sides the hand travels along the haft at OffHandSlideSpeed
instead of jumping. A weapon without the socket is served only on weapon_r_2h and keeps the off hand on the
pommel side of the main hand. The two-handed swords carry only Grip_OffHand, half a hand above where the pommel
widens (Zweihander 20.9 cm, Nightmare 22 cm below the mesh origin); a sword without it rests the hand at
GripInSocket, which on a longer grip sits on the pommel. Move the stop by moving the socket; no build is needed. Measure it with python Tools/Harness/run.py haft_hands weapon=Giant_Hammer: the left wrist should top out
just above the stop in every attack.
The off hand holds only where the arm can reach. Each frame FAnimNode_OffHandGrip works out which stretch of the
haft is within an arm's length of the shoulder (arm length from the pose's own bones, less ReachMargin) and holds
at the clip's place moved into that stretch. Where none of the allowed haft is in reach, as in the hammer's
one-handed follow-throughs (Heavy 1 from 0.65 s, Heavy 3 0.3 to 0.45 s, where the haft is 65 to 89 cm from a 57 cm
arm), the hand lets go and the clip's own hand shows, as the source animated it. The hand holds or is free and eases
between the two over HoldBlendTime; letting go and taking hold have a gap between them on both the clip's distance
(ReleaseStartDistance, ReleaseEndDistance) and the reach (ReachSlack), so it does not flicker. Before this the
hand was pulled at full strength toward a haft out of reach and hung 13 to 30 cm short of it with the arm straight.
Loose Parts on a Weapon¶
A weapon can carry parts that swing (the bell hammer's rope tail, two cloth flaps and the clapper inside the bell).
They are bones on the weapon's own skeleton, simulated by a Rigid Body node in the mesh's post-process anim blueprint
(ABP_BellHammer_PostProcess) against the weapon's physics asset. Nothing in game code knows about them, hit
detection does not use them, and they are not replicated. To build another:
- Give each part a short bone chain hanging from where it is tied, and a body per bone in the physics asset.
- Keep the end of a chain light. A heavy lump on a long chain swings as a stick, not as a rope.
- Give cloth and rope bodies damping, or they keep swinging on the idle sway.
- Set the node's simulation space to world, so the parts get their motion from the swing.
The parts collide with the wearer through Project Settings > Game > Weapon Effects > Wearer Body Shapes
(PA_Male3_EquipmentCollision): a torso capsule that ends under the shoulders, a head sphere and arm and thigh
capsules, handed to every socket-attached equipment mesh that has a post-process anim blueprint. It only acts where
that blueprint's Rigid Body node has
Use External Cloth Collision on. The character's ragdoll asset must not be used for this: a weapon carried on the
shoulder rests inside its shapes, and they push the parts about while the character stands still. For the same
reason the asset has no neck or collarbone shapes; keep it that way.
Two measurements check a weapon's loose parts, both on the live pose:
python Tools/Harness/run.py loose_parts_idle weapon=Giant_Hammer: how far each part moves while the character stands idle. At rest the bell hammer's parts move under 3 cm.python Tools/Harness/run.py loose_parts_body weapon=Giant_Hammer: how deep the parts get into the body shapes during the light and heavy chains. With the collider working nothing goes more than about 1.5 cm in;body=0runs the same swings without it for comparison.
A Clip Can Move the Weapon in the Hand¶
Each hand has a grip bone, grip_r under hand_r and grip_l under hand_l, resting exactly on the hand. The
weapon sockets hang on them: weapon_r and weapon_r_2h on grip_r, weapon_l on grip_l (the Shield socket
stays on the forearm). A clip with no track for a grip bone leaves the weapon in its rest hold, in locomotion, idle,
layering, hit reactions and every blend, because the bone is under the hand and blends work in each bone's own space.
A clip that keys the bone turns or slides the weapon in the hand, and blends into and out of that hold with the clip.
- The bones are on
SK_Alsand on every character mesh weapons hang on (SKM_Male3_Rigged, which the player, the echo figures and the menu preview use, plusSKM_ProxyandSKM_Als). A new body mesh onSK_Alsthat carries a weapon needs them too, or its weapon hangs at the mesh origin. - Where on a sword the main hand holds is the sword's own: its visual config's
RelativeTransformmoves the mesh up the blade so every joint of the hand sits at least 1 cm under where the guard starts (Zweihander +5.7 cm, Nightmare +6.5). The highest joint is the thumb's middle joint, 8.1 cm up from the socket. The socket's place in the hand is the centre of the idle pose's finger curl, so the fist closes round the grip;GripInSocketdoes the same for the off hand. weapon_r_2his turned so a sword mesh built with its blade up Z and its edges along X leads with an edge: the two-handed clips were animated with a sword whose edge lay a quarter turn from ours. A new two-handed sword follows that mesh layout;Tools/Harness/scenarios/blade_edge.pymeasures how much of each swing leads with the edge.- A grip key is in the hand's frame. To turn the weapon about the point it is held at, the key is the socket, then the
turn in the socket's frame, then the socket back.
Tools/MotionForge/sets/hammer_toll.py(grip_rows) does this for Toll, whose hammer turns head down to be driven into the ground and turns back as the body stands, andTools/MotionForge/sets/sword_2h_roll.pyfor the two-handed sword's attacks, whose blade rolls about its long axis as the clips were animated (up to 74 degrees in Heavy 1). The two-handed hammer's attacks slide the hammer head-first through the hand by 32 to 43 cm (all but Light 1), as the source set swings it:hammer_set.py(slid) writes it from the source's weapon bone, limited to the haft's free length. - A clip ends with its grip bone in the rest hold (identity): the stance that follows holds the weapon there, and a
clip cut short eases back to it over its blend-out.
UGripTrackValidatorfails a clip that ends elsewhere, on save and in the content sweep. A hit may start away from the rest hold when the hit before it hands over mid-slide (hammer Light 4, Heavy 2 and Heavy 4 start slid). - To change only the grip track of clips whose bodies are approved,
Tools/MotionForge/sets/grip_bake.pywrites it in place in the open editor (hammer_slide.pyandsword_2h_roll.pyuse it); a full MotionForge rebuild carries it too. - Where a slide or turn moves the head, reach and ground hits move with it: measure with
blade_pathand set the ground places again (GROUNDinhammer_montages.py).
A Body's Own Hands¶
The weapon sockets on SK_Als, GripInSocket and every clip's finger curl were made on the ALS dummy's hand. A body
with another hand holds a hilt wrongly with them. Main03's palm is 3 cm shorter, his fingers about a centimetre
thinner, and his thumb's base joint sits at the wrist where the dummy's sits half way up the palm. On him the
one-hand hilt lay under the finger bases, the off hand's hilt 1.7 cm deep in its palm, the fingers stopped short of
the hilt or hooked over it, and the thumb pointed away from it.
A body carries its own answer in one file (ArtSource/Meshes/Main03/hands.json), made by the body pipeline
(Tools/Blender/CharacterRig/fit_hands.py; how it fits and how to judge it:
Rig Transfer) and put on the body's mesh
by Tools/Python/set_hand_sockets.py. Other meshes on SK_Als carry nothing and behave as before.
| On the body's mesh | What it does |
|---|---|
Sockets weapon_r, weapon_l, weapon_r_2h |
A socket on a mesh is found before the skeleton's socket of the same name, so his weapons hang where the hilt lies in his own palm. weapon_l is the exact mirror of weapon_r. |
Socket palm_l on hand_l |
The point of the left palm a two-hander's hilt runs through. FAnimNode_OffHandGrip uses it in place of GripInSocket's point (OffHandPalmSocket); the hilt's direction in the hand stays GripInSocket's. |
Finger holds (UHandHoldUserData) |
How his fingers close on each grip: 2h_main, 2h_off, 1h. Each is a rotation per finger bone against its parent, named without a side, so one hold serves either hand. |
The fingers are held at run time. FAnimNode_FingerHold sits in AB_Als after the off-hand grip node. While a
weapon hangs on one of its listed sockets, the fingers of the hands that hold it take the body's hold, whatever clip
plays: stances, attacks, blends between them. Attack clips key their own fingers, about 150 of them, and writing one
body's hold into each would tie the shared clips to that body.
| Weapon hangs on | Right hand | Left hand |
|---|---|---|
weapon_r_2h |
2h_main |
2h_off |
weapon_r |
1h |
2h_off when the weapon carries Grip_OffHand_Max (a two-handed hammer) |
weapon_l, Shield |
1h |
- A hand eases into its hold over
BlendTime(0.15 s) when a weapon is drawn and out of it when it is put away. - A clip that opens a hand on purpose (a throw, a cast) sets the curve
FingersFree_RorFingersFree_Lto 1 for as long as its own fingers should show. FAnimNode_OffHandGripraisesFingersFree_Litself while the off hand is off the hilt (a one-handed sweep, a potion, a hilt out of reach), so the free hand shows the clip's fingers and not a fist.Eternal.Anim.FingerHold 0shows the clips' fingers, for comparing.
The stance clips carry the same holds (stance_shoulders.py, hands per stance), and relaxed for an open hand,
which the node does not touch.
A hold is fitted to one grip, and every weapon of that kind is held with it: the two-hander holds to the Zweihander's
grip (an oval 4.0 by 2.5 cm), the one-hand hold to a round grip 3.2 cm thick. On a thicker grip the fingertips sink
in a little, on a thinner one they stand off. A weapon whose grip is far from those needs its own hold and a case in
the node. Not covered yet: the two-handed hammer's haft is held with the sword holds.
- Mirrored _Left sets carry a grip track to the other hand by name, like every other _l / _r bone.
- FAnimNode_OffHandGrip reads where the main hand is on the hilt from the pose each frame, so the off hand keeps its
spacing from a main hand that slides on the haft.
- Measure with python Tools/Harness/run.py weapon_in_hand weapon=Giant_Hammer (add skill=GA_Toll for a skill):
per montage, how far each weapon moves and turns in its hand. A weapon no clip moves reads 0.
A Block Overlay Poses the Upper Body Only¶
Blocking swaps the stance overlay for the weapon set's block overlay (FWeaponSetConfig::BlockOverlayMode) while the
button is held. The pose clip a block overlay shows carries the spine, head, arm and hand layer curves and no
LayerLegs and no LayerPelvis curve, so the legs and hips stay with locomotion: the character walks, stops and
crouches under the block as it does without it.
| Block overlay | Pose clip | Used by |
|---|---|---|
AB_Als_Block_Sword |
Anim_1H_Sword_Block_Overlay |
One-hand sword, dual wield |
AB_Als_Block_Hammer |
AS_2HHammer_Block |
Two-handed hammer |
With LayerLegs on such a clip its frozen stance replaces the walking legs, and ALS's foot lock then drags that
stance apart as the body moves: the hammer's block walked with the feet up to 161 cm apart, against 92 cm at the widest
point of an ordinary walk. With LayerPelvis alone the hips sit at the clip's height over walking legs (the hammer's
28 cm lower, a squat). The price of leaving both out is that a standing block no longer drops into the clip's braced
stance.
Check with python Tools/Harness/run.py block_legs weapon=giant_hammer: per phase (stand, walk, block standing,
walking and crouched) the distance between the feet, each foot's stride and the hip height, plus frames from the front
and the side.
WeaponHand-Keyed Montage Tables¶
FWeaponFragment stores montage tables as TMap<WeaponHand tag, UDataTable*> (MontageTables). A weapon only defines the entries it needs — a 2H hammer has one entry; a versatile sword may have several (right, shield, dual-wield). Lookup falls back to the first entry when the current hand context has no explicit mapping. Combo and charge configuration are stored the same way (TMap<WeaponHand, FComboConfiguration> / TMap<WeaponHand, FChargeConfiguration>) directly on the fragment — the standalone ComboConfiguration/ChargeConfiguration data assets are no longer the source of truth.
The one-hand sword maps all four contexts: WeaponHand.Right -> DT_Sword_Right, WeaponHand.Left -> DT_Sword_Left (the same attacks mirrored), WeaponHand.Both -> DT_Sword_DualWield, WeaponHand.RightWithShield -> DT_Shield. Dual wield has its own table so its moveset can change without touching the solo sword.
Montage Lookup Flow¶
This page documents the weapon-table route only: weapon attacks, combos, charges, hit reacts, dodges, and enemy abilities. Skills own their montage directly (
SkillMontageson the ability CDO) and never reach the lookup below. See Montage Resolution.
How Abilities Get Montages¶
This is the tag-keyed table route: weapon attacks, charge, hit reacts, dodge, and every enemy ability.
Player skills do not use it — they read their montage straight off the ability CDO's SkillMontages.
See Montage Resolution.
Charge is split across both homes. The looping wind-up plays as an ability montage on
UChargeWindupAbility (predicted through the stock PlayMontageAndWait pipeline, so ending the ability stops exactly
the instance it started). Only the released charged swing goes through the tag-keyed table, via
UChargeComponent::GetChargedAttackMontage() — keyed by the charge config's ChargeMontageTag, falling back to the
weapon's heavy attack montage.
Ability needs attack montage
|
v
GetMontageForActionTag(InputTag.LMB, CombatMontageTable)
|
v
IMontageManagerInterface::GetMontageByTag()
|
v
UMontageManagerComponent::GetMontageByTag()
|
+---> Iterate DataTable rows
+---> Find row where ActionTag matches
+---> Select montage by index (or random)
|
v
Return UAnimMontage*
Montage Index Selection¶
| MontageIndex | Behavior |
|---|---|
| 0, 1, 2... | Select specific montage from array |
| INDEX_NONE (-1) | Random selection from array |
Combo systems typically use the combo count as the index, giving each hit its own montage.
DataTable Structure¶
FMontageAction Row Format¶
| Column | Type | Purpose |
|---|---|---|
ActionTag |
FGameplayTag | Tag to match during lookup |
Montages |
TArray |
Array of montage variants |
Example DataTable (Sword)¶
| Row Name | ActionTag | Montages |
|---|---|---|
| LightAttack_1 | InputTag.LMB | [Sword_Light_01, Sword_Light_01_Alt] |
| LightAttack_2 | InputTag.LMB | [Sword_Light_02] |
| LightAttack_3 | InputTag.LMB | [Sword_Light_03] |
| HeavyAttack_1 | InputTag.RMB | [Sword_Heavy_01] |
| ChargedAttack | Input.Attack.Charged | [Sword_Charged_01] |
| HitReact_Front | Effects.HitFront | [HitReact_Front_01] |
| HitReact_Back | Effects.HitBack | [HitReact_Back_01] |
Weapon-Based Montage Selection¶
How PlayerCombatComponent Gets Montages¶
Weapon equipped
|
v
OnWeaponChanged() delegate fires
|
v
UPlayerCombatComponent::OnRightWeaponChanged()
|
v
UpdateCombatMontages()
|
+---> Get active weapon (right, then left)
+---> Get FWeaponFragment from ItemManifest
+---> Resolve current WeaponHand (GetCurrentWeaponHand)
+---> GetMontagesForHand(WeaponHand) on the fragment
+---> SetCombatMontage(DataTable)
|
v
Montages now available for lookup
The PlayerCombatComponent owns this flow - it reacts to weapon changes rather than being told which montages to use. This decouples the equipment system from montage management. The selected table is the entry in the fragment's MontageTables map matching the current WeaponHand, falling back to the first entry.
Priority Order¶
- Right-hand weapon fragment (main hand), table chosen by current WeaponHand
- Left-hand weapon fragment (off-hand)
- nullptr if unarmed (abilities use default/unarmed montages)
Animation Notifies¶
Combat montages contain these notify types:
Combat Timing Notifies¶
| Notify | Type | Purpose |
|---|---|---|
| ComboHitWindow | NotifyState | Enable/disable hit tracing |
| ComboInputWindowState | NotifyState | Accept combo input |
| ComboInputBufferWindowState | NotifyState | Buffer input for next attack |
| ComboComplete | Notify (instant) | Reset the chain immediately (authority only) |
Effect Notifies¶
| Notify | Type | Purpose |
|---|---|---|
| CombatEffect | Notify | Trigger VFX/audio/camera impulse at specific frame |
| WeaponTrail | NotifyState | Spawn and update trail effect. bUseLeftWeapon (enemies) trails the left-hand weapon mesh for dual-wield. State is a per-mesh ActiveTrails map (FActiveTrail = weak Niagara component + weak weapon mesh, keyed by the animated mesh) — the notify object is one shared instance per montage asset, so two actors playing the same montage must never share a cached mesh/effect |
State Notifies¶
| Notify | Type | Purpose |
|---|---|---|
| IsInvincibleState | NotifyState | Grant i-frames via GAS tag |
| BlockAbilityInput | NotifyState | Prevent new ability activation |
| MovementAnimationCancel | NotifyState | Allow movement to cancel anim |
Motion-Warp Notifies¶
| Notify | Who | Purpose |
|---|---|---|
UPlayerAttackWarpNotifyState |
Player attacks | NotifyBegin seeds and NotifyTick refreshes the AttackTarget warp target from the combat component's resolved target (see the authoring caveat under Where Per-Attack Feel Lives) |
UUpdateWarpTarget_NotifyState |
Enemy attacks | Tick-only — there is no NotifyBegin; each tick writes RotationTarget toward the blackboard Target and TranslationTarget while within MaxDistanceToWarpTranslation (500). Gated to AI-controlled owners. NotifyEnd neutralizes rather than removes the targets: root motion can continue a few frames past the window, and a removed/zero-length rotation target resolves to world +X — a visible snap-turn toward an arbitrary direction exactly as the swing lands. Translation neutralizes at the current spot; the rotation target is placed 200uu ahead of the actor for the same reason |
Enemy aim rule. An enemy turns after its target only during the wind-up, at a capped rate, and is locked once the swing commits:
- Cap.
AEternalEnemy::CapAttackTurnRate(bound to the warp component'sOnPreUpdate, so it runs after a window opens and before it first moves the body) switches every live warp toSlerpWithClampedRateatEternal.Combat.Tracking.EnemyRate(240 deg/s of real time, converted to the montage's play rate; 0 = uncapped). Uncapped, a warp closes whatever gap is left by the end of its window, so a 0.1 s window whips the body round at ~900 deg/s and a sidestep never beats the swing. Measured withTools/Harness/scenarios/enemy_aim_turn.py(player put 90° to the side at wind-up): uncapped the cultist overhead ends 0-1° off the player; capped, 77-84° off. - Authoring. The
RotationTarget/TranslationTargetwarp windows and theUpdateWarpTargetwindow end no later than the firstComboHitWindowopens. A window running into the hit turns the blade onto a player who already dodged.
Action Rotation and the ALS Rotation Lock¶
An attack steers the character to face its target through UTargetingComponent's action rotation override,
which drives actor yaw directly. ALS drives yaw too, so the two must never run at once —
AAlsCharacter::RefreshGroundedRotation early-returns while LocomotionAction is set, and that tag
(Als.LocomotionAction.Attacking) is the only thing standing between them.
The tag is a single slot with no owner identity, so it cannot be shared. While an action rotation is live,
UTargetingComponent owns it: it sets the tag on start and re-asserts it every tick. A single set is not
enough, because Als Set Locomotion Action notify states end at the end of their montage's blend-out — during
a combo that lands after the next attack has already claimed the tag, and ALS's equality check cannot tell the
two claims apart, so the finished attack clears a lock that is still in use.
Consequences worth knowing before you author or debug:
- The montage notify is advisory. Several player attack montages carry no
Als Set Locomotion Actionnotify at all and behave identically. Do not add one expecting it to control facing, and do not remove one expecting facing to break. - The component backs off only for a different locomotion action — mantle, roll, ragdoll, get-up. Those outrank an attack's facing and carry their own rotation handling. Every release is equality-guarded, so no owner ever clears a tag it did not set.
- The ability opens the override from the payload, and must release it.
UMeleeAbility::ActivateAbilitycallsUPlayerCombatComponent::OpenAttackRotation(Intent)— each machine opens its own override toward the yaw and target the swing payload carried — and releases the returned handle inEndAbility. The handle is what stops a finished combo step from cancelling the step that replaced it.UDodgeAbilitydoes the same; a new ability that steers the character must too. - A press that activates nothing has nothing to unwind. The input path is resolve-only: it builds the intent and fires the gameplay event, so if hit react, stun or death beat the input, no override was ever opened. The activation counts those calls return are not a rotation-unwinding mechanism.
- Each machine owns its own override; none of this state replicates. The interpolation runs from wherever
that character actually is, so the start rotation is necessarily local, and
LocomotionActionis per-machine in ALS too. Opens and releases therefore cross the wire as RPCs in both directions — including the ones the tick decides on. A replicated flag over local interpolation state is the trap here: the far end overwrites a machine that has already released, and it resumes with a stale start and a finished alpha, snapping straight to the stored target. Sub-degree in most attacks, violent after a break-away, and it looks like client and server fighting over rotation. Simulated proxies take rotation from movement replication and sit this out.
Symptom of getting this wrong: yaw oscillating at zero velocity after an attack, which reads as a fast idle because the ABP's lean and turn-in-place react to the jitter.
Combat Feel / Impact Notifies¶
These four notifies are pure game feel — they sell the weight of a swing (hyper-armor, the attacker's step-in, a camera lean, a deeper freeze-frame). They are authored on the montage by the animator and, unlike knockback distance, do not scale with item tier. See Where Per-Attack Feel Lives.
| Notify | Type | Purpose |
|---|---|---|
UAnimNotifyState_HyperArmor |
NotifyState | Server-only: adds the loose State.HyperArmor tag over the window so the attacker shrugs off flinch + knockback but not poise. Author over active frames only; leave wind-up/recovery unarmored so trading hits stays fair. |
UAnimNotify_AttackFollowThrough |
Notify (instant) | Additive forward ConstantForce root-motion push on the attacker after contact, so they press in behind a launched enemy. Distance ~60uu, Duration ~0.18s. Net-guarded to IsLocallyControlled() || HasAuthority(); simulated proxies skip it and receive the resulting movement via replication. |
UAnimNotify_CameraSwingGesture |
Notify (instant) | Local-player-only camera boom impulse via UDynamicCameraComponent::AddCameraImpulse. LocalDirection is projected to the ground plane, Strength ~25uu. Author across the windup/strike, NOT the contact frame (already saturated by the impact impulse + hitstop). Only manifests in PIE — Persona preview has no gameplay camera. |
UAnimNotify_HitStopWeight |
Notify (instant) | Stamps a per-attack hitstop multiplier on the owner's UCombatComponent (SetHitStopIntensity, Weight default 1.0). Consumed by the next landed hit to scale its freeze-frame (a finisher freezes harder than a poke), and with it the row's blood amount. Lights sit at 1.8, heavies at 4.5, charged attacks at 6.0. Place at the start of the hit-detection window so it is set before the trace fires; cleared on a whiff by ComboHitWindow NotifyEnd. |
Where Per-Attack Feel Lives¶
Impact "weight" is split between two homes by what kind of number it is. Balance numbers (which scale with the item) live in data on the weapon fragment; feel/timing numbers (which do not) live as notifies on the montage. Keeping them separate means an animator can retune the feel of a swing without touching balance, and a designer can rebalance an item without re-authoring animation.
| Lever | Home | Owner | Scales with item tier? |
|---|---|---|---|
| Knockback distance | Weapon fragment ComboConfig (per-step arrays, indexed by combo step) |
Designer / balance | Yes |
| Follow-through (step-in push) | UAnimNotify_AttackFollowThrough on the montage |
Animator / feel | No |
| Hit-stop weight | UAnimNotify_HitStopWeight on the montage |
Animator / feel | No |
| Camera swing gesture | UAnimNotify_CameraSwingGesture on the montage |
Animator / feel | No |
Authoring caveats:
- Motion-warp notifies must target the name AttackTarget. That is the name the combat component registers the
warp target under, and it is set before the montage starts so the notify sees a valid target at its NotifyBegin.
A notify authored against any other target name warps nowhere and fails silently — a recent pass found 47 montages
whose notifies carried a mismatched name, so every one of their swings played with dead motion warping.
- Hyper-armor: arm only the active frames, never wind-up or recovery — an always-armored attack is unfair to trade against.
- Follow-through needs its net guard; without it the push double-applies on simulated proxies (it is additive on top of replicated movement).
- Camera swing must not sit on the contact frame — that frame is already saturated by the impact camera impulse + hitstop, so the lean should read as anticipation/follow-through across the windup/strike instead.
- Hit-react anims must be root-locked (in-place / root motion off) so their baked root motion does not fight the enemy's knockback root-motion source.
Notify Timeline Example¶
Attack Montage Timeline:
|----Startup----|-----Active-----|----Recovery----|
0.0s 0.2s 0.5s 0.8s
| | | |
| |<--HitWindow--> | |
| 0.2s 0.4s | |
| | |
| |<--InputWindow---------->|
| 0.35s 0.75s|
| |
|<-----------BufferWindow-------------------->|
0.1s 0.7s|
| |
| CombatEffect (swing audio) |
| 0.15s |
| |
|<----WeaponTrail----> |
0.1s 0.45s |
Montage Slots¶
Which slot a montage plays in decides where it sits in the ALS graph (AB_Als), and so what can cover it.
| Slot | Where in the graph | Use it for |
|---|---|---|
PostLayering |
After the weapon-pose layering | Full-body attacks of a two-hander and of dual wield: light and heavy swings, the charge loop and release, and player skills |
PostLocomotion |
Before the weapon-pose layering | Hit reactions, rolls, stun, death, and (for now) the attacks of every other weapon set |
ArmLeft, ArmRight, Head, Spine, Curves |
Inside the layering, per body part | Upper-body montages that leave the legs walking (parry, consume) |
Rule: a two-hander or dual wield attack montage uses PostLayering. Never put one in PostLocomotion, and keep
the slot when a montage is rebuilt, duplicated or re-saved by a tool.
Why: a montage in PostLocomotion sits under the weapon overlay's pose. To show it, the overlay has to step aside
for the attack and fade back in when it ends, and during that fade the unarmed pose underneath shows through. On the
two-hander that swung the sword about 57 degrees and twisted the off arm as every swing settled. A montage in
PostLayering covers the layering, so it ends straight into the weapon's idle pose. On dual wield the same fade
shows as a wiggle: with its attacks in PostLocomotion both hands turn 10 to 13 degrees away and back on every
return to the stance, against 2 to 3 degrees in PostLayering.
What follows from it:
AB_Als_Greatswordno longer steps aside forAls.LocomotionAction.Attacking. A full-body montage played inPostLocomotionwhile a two-hander is equipped therefore shows the two-hander idle arms over it. That is why the sharedPlayerSkillsmontages are inPostLayeringtoo.- Dual wield has its own overlay,
AB_Als_DualWield(Als.OverlayMode.DualWield), which does not step aside for attacks either: the curve node on its Attacking input has alpha 0. Its poseAS_DualWield_Posesis the sword stance with the hands turned outward, so the two blades do not cross;Tools/MotionForge/sets/dual_wield_stance.pybuilds it. Hit reactions and stuns stay inPostLocomotionand play under the dual wield arms, as with the two-hander. - Both slots are in slot group
LocomotiononSK_Als. Montages in one group replace each other, which is what lets a hit reaction or a roll stop a swing. A new slot must be registered in that group (RegisterSkeletonSlotin the authoring toolset); an unregistered slot lands in the default group and nothing interrupts it. - The two-handed hammer follows the two-hander rule: its attacks are in
PostLayeringandAB_Als_Hammer, a copy ofAB_Als_Greatsword, does not step aside for them. - The other weapon sets (sword, sword + shield, mace, unarmed) still attack in
PostLocomotionand their overlays still step aside. Sword + shield measured 3 to 5 cm of stray on the settle, which was judged fine. Moving a set means moving all its attack montages and changing its overlay in the same step.
To check a change: python Tools/Harness/run.py settle weapon="Zweihander" steps=1 (hands go straight to idle) and
python Tools/Harness/run.py slot_check weapon="Zweihander" (a hit reaction still replaces a swing).
Hit React Montages¶
Directional hit reactions use the hit direction to select the correct montage:
Hit received with direction
|
v
UCombatComponent::GetDirectionalHit()
|
v
IMontageManagerInterface::GetHitReactMontage(Direction)
|
+---> Map direction to tag:
| Front -> Effects.HitFront
| Back -> Effects.HitBack
| Left -> Effects.HitLeft
| Right -> Effects.HitRight
|
v
GetMontageByTag(DirectionTag, 0, DefaultMontages)
|
v
Return appropriate hit react montage
Each hit row holds up to three montages, picked by severity: index 0 for Light and Medium, 1 for Heavy, 2 for Stagger (a missing index falls back to 0).
Enemy Stance Overlays¶
An enemy stands in the pose its overlay shows; nothing separates an idle pose from a fighting one, so the overlay's
pose is what it patrols in too. The three melee cultists (BP_Cultist, BP_Miner, BP_Cultist_ShieldBearer) share
Als.OverlayMode.Cultist.Default (AB_Als_Cultist_Default), which shows frame 0 of
/Game/Animations/Enemies/Cultist/Anim_Cultist_CombatIdle_ALS:
| Part | Where it comes from | Layer curves on the clip |
|---|---|---|
| Spine and head | The pack's combat idle, retargeted with RTG_Manny_to_Als; neck and head lifted 14 and 16 degrees so the mask looks ahead, not at the floor |
LayerSpine, LayerSpineAdditive, LayerHead, LayerHeadAdditive = 1 |
| Right arm and hand | The standing idle's (Anim_Cultist_NormalIdle_ALS), with the upper arm turned 15 degrees forward so it hangs under the bent chest as it hung under the upright one |
LayerArmRight, LayerArmRightLocalSpace, LayerHandRight = 1 |
| Left arm, hips, legs | Locomotion | none |
AllowAiming = 1 as before. The trunk leans about 21 degrees forward standing and 23 walking (pelvis to head; it was 2
and 5), and the head is 7 cm lower.
Rules that keep it working:
- Absolute spine needs the additive curve too. Hit reactions and attacks play in
PostLocomotion, under the overlay. WithLayerSpineat 1 andLayerSpineAdditiveat 1 their spine motion still shows, laid over the stance. Without the additive curve the stance would hide them. - The stance steps aside for an attack. While
Als.LocomotionAction.Attackingis set, the overlay zeroesLayerArmRight,LayerArmLeft,LayerSpineandLayerHead(two Modify Curve nodes on the Attacking input of its tag blend, in over 0.2 s and back over 0.3 s), so an attack montage plays as it was made. Left on, the stance bends an overhead swing a further 20 degrees. - An arm hung on a bent chest swings back. An arm pose taken from an upright clip keeps its angle to the chest, so it ends up behind the hips when the chest pitches forward. Turn the upper arm forward by about the chest's pitch.
- The retargeted combat idle's own arms are not used. They hang wide and behind the hips (the pack's pose, not a retarget fault), and pushing them forward by turning the shoulders and elbows pinned the elbows to the ribs and turned the wrists.
- The shield bearer's guard is a separate overlay (
Als.OverlayMode.Blocking.Shield) swapped in by its block ability; the archers use their own overlay and tables.
A light or medium hit on a melee cultist is a flinch into the blow. DT_CultistMontages plays
AM_Cultist_Flinch_ALS at index 0 of its four hit rows. Its clip, Anim_Cultist_Flinch_Additive, is the shared
recoil (Anim_Hit_Backwards_Additive: spine only, local-space additive on its own first frame) with every spine key's
turn from frame 0 reversed, so the chest pitches forward by what it used to pitch back, on the same timing: 12 degrees
at 0.12 s, home by 0.28 s, the head 8 cm down instead of 4 cm up. The montage is a copy of AM_Hit_Back_Additive_ALS
(same slot, length, blends and Hit Skid notify). Heavy and Stagger still play AM_Hit_Back_ALS; the other enemy
tables and the player's are unchanged.
Check with python Tools/Harness/run.py enemy_stance attack=True
montage=/Game/Animations/Enemies/Cultist/_Montages/AM_Cultist_Flinch_ALS: the trunk's lean walking, standing and
through the hit, both arms against the chest, whether the held meshes sit on their sockets, an attack leaving and
meeting the stance, and frames of each.
After writing bone keys into a clip from script, save and restart the editor before playing it. The clip keeps
playing its old compressed keys in that session (AnimPoseExtensions shows it: the COMPRESSED read differs from
RAW), and a montage on a clip left that way froze the editor in PIE. After a restart the clip compresses on load.
Curve edits do not have this problem.
Key Contracts¶
IMontageManagerInterface¶
| Method | Parameters | Returns | Purpose |
|---|---|---|---|
GetMontageByTag() |
ActionTag, Index, DataTable | UAnimMontage* | Look up montage |
GetHitReactMontage() |
HitDirection | UAnimMontage* | Get directional hit react |
GetDefaultMontageTable() |
- | UDataTable* | Get character's default table |
ICombatDataProvider (animation-relevant)¶
| Method | Parameters | Returns | Purpose |
|---|---|---|---|
GetCurrentWeaponHand() |
- | FGameplayTag | Shared WeaponHand resolution used by montage/combo/charge lookup and tooltips |
FWeaponFragment (animation-relevant)¶
| Method | Parameters | Returns | Purpose |
|---|---|---|---|
GetMontagesForHand() |
WeaponHand tag | UDataTable* | Montage table for the hand context (first-entry fallback) |
GetComboConfigForHand() |
WeaponHand tag | FComboConfiguration* | Per-hand combo tuning |
GetChargeConfigForHand() |
WeaponHand tag | FChargeConfiguration* | Per-hand charge tuning |
UWeaponSetConfigDataAsset¶
| Member | Type | Purpose |
|---|---|---|
WeaponSetConfigs |
TMap |
WeaponSet tag → overlay config |
Find() |
FGameplayTag → FWeaponSetConfig* | Resolve overlay/block-overlay tags for a weapon set |
UMontageManagerComponent Properties¶
| Property | Type | Purpose |
|---|---|---|
DefaultMontages |
UDataTable* | Fallback montage table |
OwnerCharacter |
AEternalCharacter* | Cached owner reference |
Combat Effect Notify Properties¶
| Property | Type | Purpose |
|---|---|---|
EffectTag |
FGameplayTag | Which effect to trigger |
SocketName |
FName | Spawn location socket |
LocationOffset |
FVector | Offset from socket |
IntensityMultiplier |
float | Effect intensity scale |
bTriggerCameraShake |
bool | Trigger camera shake |
CameraShakeScale |
float | How hard the row's shake plays for this notify (1 = as authored) |
bTriggerTimeEffects |
bool | Trigger hit stop/slow-mo |
DirectionalImpulseStrength |
float | Camera push in owner's forward direction (0 = disabled) |
DownwardImpulseStrength |
float | Camera push downward, joined with the directional push (0 = disabled) |
ZoomImpulseStrength |
float | Camera zoom push-in strength (0 = disabled) |
Source References¶
| Concept | File | Line |
|---|---|---|
| UMontageManagerComponent class | Source/ProjectEternal/Public/Combat/Components/MontageManagerComponent.h | 20 |
| IMontageManagerInterface | Source/ProjectEternal/Public/Combat/Components/MontageManagerComponent.h | 10 |
| FMontageAction struct | Source/ProjectEternal/Public/Data/MontageAction.h | 10 |
| GetMontageByTag() | Source/ProjectEternal/Private/Combat/Components/MontageManagerComponent.cpp | 30 |
| UpdateCombatMontages() | Source/ProjectEternal/Private/Combat/Components/PlayerCombatComponent.cpp | 279 |
| OpenAttackRotation() / warp target setup | Source/ProjectEternal/Private/Combat/Components/PlayerCombatComponent.cpp | 607-700 |
| Ability-side rotation open / release | Source/ProjectEternal/Private/Abilities/MeleeAbility.cpp | 133, 637 |
| Charged swing montage lookup | Source/ProjectEternal/Private/Combat/Components/ChargeComponent.cpp | 225 |
| Charge wind-up montage (ability-owned) | Source/ProjectEternal/Public/Abilities/ChargeWindupAbility.h | 26 |
| ComboHitWindow notify | Source/ProjectEternal/Public/Combat/AnimNotifies/ComboAnimNotifies.h | 10 |
| CombatEffect notify | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotify_CombatEffect.h | 15 |
| WeaponTrail notify | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotifyState_WeaponTrail.h | 10 |
| Player attack warp notify | Source/ProjectEternal/Public/Combat/AnimNotifies/PlayerAttackWarpNotifyState.h | - |
| Enemy warp-target notify (tick-only, neutralizing end) | Source/ProjectEternal/Public/Combat/AnimNotifies/UpdateWarpTarget_NotifyState.h | - |
| Action rotation override | Source/ProjectEternal/Private/Combat/Components/TargetingComponent.cpp | 66 |
| ALS rotation lock (early-return) | Plugins/ALS/Source/ALS/Private/AlsCharacter.cpp | 1517 |
| HyperArmor notify state | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotifyState_HyperArmor.h | - |
| AttackFollowThrough notify | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotify_AttackFollowThrough.h | - |
| CameraSwingGesture notify | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotify_CameraSwingGesture.h | - |
| HitStopWeight notify | Source/ProjectEternal/Public/Combat/AnimNotifies/AnimNotify_HitStopWeight.h | - |
| Whiff hitstop-weight clear (ComboHitWindow NotifyEnd) | Source/ProjectEternal/Private/Combat/AnimNotifies/ComboAnimNotifies.cpp | - |
| WeaponSet overlay config | Source/ProjectEternal/Public/Combat/Data/WeaponSetConfigDataAsset.h | - |
| Off-hand grip node | Source/ProjectEternal/Public/Combat/AnimNodes/AnimNode_OffHandGrip.h | - |
| Run-time finger hold node | Source/ProjectEternal/Public/Combat/AnimNodes/AnimNode_FingerHold.h | - |
| A body's finger holds, kept on its mesh | Source/ProjectEternal/Public/Combat/Data/HandHoldUserData.h | - |
| Hand fit (hilt places, holds) and its config | Tools/Blender/CharacterRig/fit_hands.py; ArtSource/Meshes/Main03/hands_fit.json | - |
| WeaponSet → overlay resolution | Source/ProjectEternal/Private/EquipmentManagement/Components/EquipmentComponent.cpp -> UpdateWeaponSetOnCharacter() | - |
| GetCurrentWeaponHand() | Source/ProjectEternal/Public/Interface/CombatDataProviderInterface.h | - |
| WeaponHand montage tables / per-hand config | Source/ProjectEternal/Public/Inventory/Items/Fragments/ItemFragment.h -> FWeaponFragment | - |
| WeaponHand / WeaponSet tags | Source/ProjectEternal/Public/EternalGameplayTags.h | - |
Related Documentation¶
- Combat Overview - Component hierarchy
- Combo System - Combo montage selection
- Charge System - Charged attack montages
- Poise System - What
State.HyperArmorsuppresses (flinch + knockback, not poise) - Hit Tracing - Hit window activation
Recent Changes¶
| Date | Change | Impact |
|---|---|---|
| 2026-12-04 | FAnimNode_FingerHold (in AB_Als after the off-hand grip) keeps the fingers in the body's own holds while a weapon is in the hand; the holds live on the body mesh (UHandHoldUserData). FAnimNode_OffHandGrip raises FingersFree_L while its hand is off the hilt. SK_Main03 gets its own weapon_r_2h; its weapon_l is the exact mirror of weapon_r. Holds refitted on the real grip shapes after the right arm's joints were corrected |
Attack clips' fingers, made on the dummy's hand, no longer show on the player: the fists stay closed on the hilt through every swing. A hand that leaves the weapon shows the clip's fingers. The left-hand weapon moved 3.3 cm in the hand (the skeleton's left socket was not the right one's mirror) |
| 2026-12-01 | The player's hands are fitted to his own mesh. SK_Main03 carries its own weapon_r, weapon_l (1.6 cm from the skeleton's) and a new palm_l; FAnimNode_OffHandGrip takes the off hand's palm point from a body's palm_l socket (OffHandPalmSocket). AS_2HSword_Stance, AS_Sword_Stance and AS_Shield_Stance hold fingers closed on the hilt, AS_Unarmed_Poses a loose open hand (stance_shoulders.py hands, ArtSource/Meshes/Main03/hands.json). New section "A Body's Own Hands" |
In those stances the fingers and thumb close on the hilt (they stopped 1 to 2 cm short, thumb out) and the open hand's little finger no longer hooks. One-hand weapons sit 1.6 cm further out of the palm in every clip. Attack clips keep the dummy's finger keys; hammer and dual-wield stances are not fitted |
| 2026-11-30 | The arm turns are out of the player's stances again: AS_Unarmed_Poses, AS_Sword_Stance and AS_Shield_Stance are plain copies of their source clips (arms_in, arm_roll, elbow_open all zero in stance_shoulders.py). The greatsword stance keeps its shoulder shares |
The turns were tuned on a body whose arm mesh sat outside its bones. On the body built from the first rig they put the upper arm straight down and the shoulder went square with a corner at its end. The rows below that give 17, 11 and 7 degrees describe states that are no longer in the game |
| 2026-11-30 | Free arms hang straight on the player (stance_shoulders.py: arm_roll, elbow_open beside arms_in). AS_Unarmed_Poses: upper arms 17 degrees in, turned back up to 20 degrees about their own length, elbows opened up to 10; AS_Sword_Stance: the free arm the same, the sword arm unchanged |
ALS's pose holds the upper arm out, turned inward and bent at the elbow; on an arm with an elbow that reads as a bow from the shoulder down. Unarmed hands hang 22.7 cm from the middle line (25.3 before, 32 on ALS's pose). Weapon arms, the shield stance, hammer, greatsword and dual wield are unchanged |
| 2026-11-30 | Two player stances fitted to the player's build (Tools/MotionForge/sets/stance_shoulders.py, sets/ue/stance_overlay.py). AB_Als_Greatsword shows AS_2HSword_Stance (shoulders keep 0.3 of the source clip's drop, the lead one 0.6 of its roll forward; source AS_2HSword_Heavy_Idle unchanged). Als.OverlayMode.Default on BP_PlayerCharacter is AB_Als_Unarmed, a copy of ALS's default overlay showing AS_Unarmed_Poses (upper arms 11 degrees in). Enemies keep ALS's default overlay. AB_Als_Sword shows AS_Sword_Stance (free arm 11 degrees in, sword arm 7) and AB_Als_Shield shows AS_Shield_Stance (sword arm 7 degrees in). Dual wield is unchanged |
In the greatsword stance the shoulders sit about 5 cm higher and level; unarmed, the hands hang 25 cm from the middle line, not 32. Harness settle: greatsword light swings now end 13 to 15 cm from the stance (2 to 9 before) and still settle in 0.2 s on a straight path, like the heavy ones always did; the shield set's sword hand ends 10.5 cm away after a light swing (4.9 before). Rebuilding those attacks against the new stances would close it |
| 2026-11-22 | The two-handed swords' hold: the weapon_r_2h socket moved 0.9 cm and GripInSocket 1.3 cm onto the centre of each hand's finger curl; the Zweihander's and Nightmare's visual configs move the mesh up the blade 5.7 and 6.5 cm. The 2H roll clips and Wake re-baked about the moved socket. |
Both fists close round the grip instead of holding it out toward the fingertips, and the main hand sits below the guard instead of inside it. Hand on the haft through the swings unchanged |
| 2026-11-22 | SKM_Zweihander's grip is 5.9 cm longer: two more turns of its wrap, copied from its own wrap, with the pommel moved down; Grip_OffHand moved down with it (-15 to -20.9). |
The clips space the hands for a longer grip than the Zweihander had; the off hand no longer closes on the pommel (its fist stops 3.6 cm above it, as on the Nightmare). Blade, hit sockets and the main hand's hold are unchanged |
| 2026-11-22 | The Nightmare's meshes (SK_Nightmare_Wrapped, SK_Nightmare_Eyed) carry Grip_OffHand, 22 cm below the origin; ue_wrap.py adds it on a rebuild. |
At rest the off hand's wrist holds 3.5 cm up the grip instead of on the pommel's edge |
| 2026-11-22 | weapon_r_2h turned -90 degrees about the blade. AS_2HSword_Wake keys grip_r to turn it back while the blade is held out. Harness scenario blade_edge. |
The two-handed swords cut edge first in 65 to 68% of hit-window frames (was 12%); at rest the edge faces forward and the Nightmare's eye faces up. Wake looks as before |
| 2026-11-22 | FAnimNode_OffHandGrip holds only within the arm's reach (moves the hold along the haft into reach, lets go where none is) and holds or lets go with hysteresis and a 0.1 s ease instead of a distance-weighted pull; OffHandSlideSpeed 250 to 600 cm/s. The roll clip carries MontageOwnsLegs, and ALS takes the overlay's legs and pelvis layering off while a montage carries it. |
The off hand no longer strains short of the haft in the hammer's one-handed follow-throughs; the two-handers' legs follow the roll as unarmed does instead of keeping the stance's bend |
| 2026-11-22 | The two-handed hammer's attacks slide the hammer head-first through the main hand on grip_r (Light 2 to 4, Heavy 1 to 4; 32 to 43 cm), from the source set's weapon bone. The ground hits of Heavy 4 and Light 3 moved to where the head now lands. grip_bake.py writes a grip track in place. |
The hammer reaches up to 43 cm further during those swings and the hands meet near the pommel, as the clips were animated; Heavy 4 and Light 3 throw up the ground 40 and 29 cm further out |
| 2026-11-22 | Grip bones grip_r / grip_l under the hands; the weapon sockets hang on them. Toll's hammer turn moved from the WeaponTurn notify onto grip_r in AS_2HHammer_Toll, and the notify class is gone. The two-handed sword's attacks roll the blade in the hand as animated (Light 1 and 3, Heavy 1, 3 and 4). FAnimNode_OffHandGrip reads the main hand's place on the hilt from the pose (MainHandBone). New section "A Clip Can Move the Weapon in the Hand"; harness scenario weapon_in_hand, and skill= on haft_hands. |
A clip can turn or slide a weapon in the hand. Every weapon sits where it did; Toll's turn matches the notify's within 1 cm, and during the turn the off hand follows the turned haft |
| 2026-11-16 | New section "Enemy Stance Overlays". The melee cultists' overlay shows a hunched stance (Anim_Cultist_CombatIdle_ALS: the combat idle's spine and head, the standing idle's right arm) and steps aside for attacks at the spine and head too. DT_CultistMontages plays the new AM_Cultist_Flinch_ALS for Light and Medium hits. Harness scenario enemy_stance. |
Cultists lean 21 degrees forward instead of standing upright, and a light hit pitches the chest forward 12 degrees instead of back 12 |
| 2026-11-16 | The block pose clips of the two-handed hammer (AS_2HHammer_Block) and of the one-hand sword and dual wield (Anim_1H_Sword_Block_Overlay) lost their LayerLegs and LayerPelvis curves. New section "A Block Overlay Poses the Upper Body Only"; harness scenario block_legs. |
Walking while blocking no longer fans the legs out (hammer: feet up to 161 cm apart, now 77), and a crouched block stays crouched. A standing block stands upright instead of in the clip's braced stance |
| 2026-11-15 | New notify state WeaponTurn (UAnimNotifyState_WeaponTurn): a montage can turn the held weapon in the fist. First use: AM_Toll, where the hammer is turned head down, driven into the ground and turned back |
A clip that holds the weapon reversed no longer needs the weapon re-attached; see State Notifies |
| 2026-11-14 | The Giant Hammer shows a bell on a haft (SK_BellHammer) with a rope tail, cloth flaps and a clapper that swing. FAnimNode_OffHandGrip takes an upper stop socket (Grip_OffHand_Max) and serves a weapon that carries it on any mesh socket. New setting Wearer Body Shapes (PA_Male3_EquipmentCollision) for loose parts to collide with. Harness scenarios haft_hands, loose_parts_idle, loose_parts_body. |
In Light 2, Heavy 3 and Heavy 4 the left hand held 60 to 80 cm above the main hand, inside the head; it now stops under the collar. |
| 2026-11-13 | Dual wield got its own stance overlay AB_Als_DualWield (hands turned outward; it borrowed the one-hand sword stance before) and its attack montages moved from PostLocomotion to PostLayering. WeaponSetConfig maps WeaponSet.DualWield to Als.OverlayMode.DualWield; BP_PlayerCharacter maps that mode to the overlay. |
The two swords no longer cross in the stance, and attacks end straight into it |
| 2026-11-10 | Montage Slots section added. Two-hander attacks (8 swings, charge loop and release) and the five PlayerSkills montages moved from PostLocomotion to the new slot PostLayering, which sits after the weapon-pose layering in AB_Als; AB_Als_Greatsword no longer steps aside for attacks. Off-hand grip node (FAnimNode_OffHandGrip, cvar Eternal.Anim.OffHandGrip) holds the left hand on the hilt. |
Swings settle straight into the two-hander idle. A two-hander attack montage placed in PostLocomotion brings the arm twist back. |
| 2026-11-05 | Enemy aim capped at Eternal.Combat.Tracking.EnemyRate (240 deg/s) via AEternalEnemy::CapAttackTurnRate; aim windows on Cultist overhead, both unarmed enemy attacks and the boss phase 2 transition now end where the hit opens; Shield Bearer combo D2's duplicate lunge window is its turn window. |
Enemies no longer whip round at the last moment or turn into the player during the hit, so a well-timed sidestep or dodge gets out of the swing |
| 2026-08-20 | WeaponTrail documented as per-mesh state (ActiveTrails map) + bUseLeftWeapon; motion-warp notify table added — player UPlayerAttackWarpNotifyState (begin + tick) vs enemy UUpdateWarpTarget_NotifyState (tick-only, NotifyEnd neutralizes targets instead of removing them). |
The notify object is shared per montage asset, so a single cached mesh/effect broke when two actors played the same montage; the enemy warp end-of-window snap-turn is explained so nobody "fixes" the neutralize back into a remove |
| 2026-08-06 | Doc reconciled with the payload-driven attack flow: the attack ability now opens its rotation override from the swing payload (OpenAttackRotation(Intent)) and releases it in EndAbility; the input path is resolve-only. Charge documented as split — wind-up loop is an ability montage on UChargeWindupAbility, only the released charged swing uses the tag-keyed table. ComboComplete resets the chain immediately on authority (no timer). Motion-warp target-name authoring rule added. |
Removes the stale "input layer releases the override" rationale (a press that activates nothing never opened one) and documents the mismatched motion-warp target name that left 47 montages warping nowhere |
| 2026-07-26 | Action rotation state no longer replicates; opens and releases mirror by RPC in both directions, including tick-decided releases. | Fixes a client/server rotation fight visible when breaking off a locked target. The replicated flag over local interpolation state let the far end reopen an override that had already released, snapping yaw to the stored target |
| 2026-07-26 | Action rotation and the ALS rotation lock documented. UTargetingComponent now owns Als.LocomotionAction.Attacking for the life of an override and re-asserts it each tick; abilities release via a handle; the input layer releases when no ability activated. |
Fixes yaw oscillation after a combo (two writers on actor rotation). The Als Set Locomotion Action notify is now advisory — montages without one behave identically, so facing no longer depends on montage authoring |
| 2026-06-17 | Combat-feel / impact notifies added (commit 4df2921ab): UAnimNotifyState_HyperArmor (server-only loose State.HyperArmor over active frames — suppresses flinch + knockback, not poise), UAnimNotify_AttackFollowThrough (additive forward push, net-guarded), UAnimNotify_CameraSwingGesture (local-only camera boom impulse, PIE-only), UAnimNotify_HitStopWeight (per-attack hitstop multiplier on UCombatComponent, consumed by next hit, whiff-cleared by ComboHitWindow NotifyEnd). |
Animators can author swing weight (hyper-armor, step-in, camera lean, freeze-frame) per montage. Feel/timing lives on the montage; only knockback distance scales with item tier (weapon fragment ComboConfig) |
| 2026-03-26 | Hand-aware combat config: combo/charge configuration moved onto FWeaponFragment as TMap<WeaponHand, FComboConfiguration/FChargeConfiguration>; ICombatDataProvider::GetCurrentWeaponHand() added as shared resolution path (tooltip + runtime). Shield-only resolves to WeaponSet_1H_Shield with WeaponHand.ShieldOnly for ABP distinction. |
Combo counts, multipliers, and charge levels can be tuned per hand context; standalone Combo/Charge config data assets no longer the source of truth |
| 2026-03-25 | WeaponSet system: weapon animation split into two axes — WeaponHand (drives ABP arm blending + montage-table lookup) and WeaponSet (drives ALS overlay via UWeaponSetConfigDataAsset). Fragment montage tables became TMap<WeaponHand, DataTable>. Overlay activation moved from per-weapon fragment to UEquipmentComponent. |
Centralized, data-driven overlay resolution; weapons only define the montage entries they need. Known issue: WeaponHand may not replicate correctly for left-hand weapons on clients |
| 2026-03-24 | Added WeaponSet tags and WeaponSetConfig data asset for weapon-set → overlay tag mapping. |
Foundation for centralized overlay resolution |
| - | PlayerCombatComponent now owns montage updates: calls UpdateCombatMontages() internally on weapon change via OnWeaponChanged() rather than being told which montages to use. |
Inverts dependency; decouples equipment system from montage management |
| - | Right-hand weapon takes priority when determining active montages, falling back to left-hand, then clearing if unarmed. | Predictable main-hand-first moveset selection |