Castle combat animations
The castle examples share one character-presentation contract for skeletal animation and baked vertex animation. The knight player uses a skeletal mesh; the VAT horde uses the matching exported poses and saved equipment anchors.
Controls
| Input | Castle hero action |
|---|---|
| LMB | Sword cut |
| RMB | Fireball |
| F | Frost nova |
| Q | Heal |
| E | Starfall in Survivor Roguelite |
| WASD / mouse / Space | Move / look / jump |
| Ctrl | Walk; release to run |
| P | Pause or resume |
The sword cut owns a short forward step. Movement input and jumping cannot slide the character through a committed attack or spell. A late sword click can queue one follow-up after recovery. Holding or repeatedly clicking cannot skip recovery. A wall blocks the capsule's step and the damage query.
Survivor's castle version uses manual fireball input. Automatic Castle Primary Spells on the arena Blueprint can opt into automatic casting; the earlier funny examples retain their existing behavior.
What was authored
Infantry, heavy and spellcaster share fifteen states: idle, walk, run, left/right strafe, melee, ranged, cast, hit, stun, takeoff, rising/airborne, falling, landing and death. The heavy has a slower sword swing and landing recovery. Locomotion reference speeds are measured from the stance feet. The player keeps foot phase across gait changes and action recovery; moving landings return promptly to locomotion.
The human performances are retargeted and edited from Quaternius' free Standard Universal Animation Library, released under CC0. Edits fit the existing rigs, armor, weapon grips, longer blade, soles and gameplay timing. The bundled acknowledgement is Resources/ThirdParty/Quaternius-Animation-Libraries.txt. These are CC0-derived performances; the source motions are not exclusive AshenForge originals. Character geometry and skin weights are preserved.
Active replacements are under each character's HumanMotion_v022 folder in /MassForge/MassForge/DarkCastle/Characters. Each profile refers to its skeletal sequences, 60 Hz VAT textures and matching equipment anchors. Editable Blender rigs, FBX and GLB exports remain in the development repository's Examples/MassForgeShowcases/ArtSource/SharedCombatKit20261013 folder; they are not runtime dependencies.
The complete boot sole frame is fitted after evaluating the full pose, retaining heel/toe pitch while correcting sideways roll and excess toe folding. Carried arms use two-bone IK and an anatomically aligned wrist; their targets move with the pelvis during sole fitting. The cut uses the reference hand path with a fitted wrist, and cyclic keys blend across the loop seam. The editable bank and exported skeletal/VAT samples use 60 Hz keys, preventing the running foot from twisting between sparse keys. Fingers close around a fitted handle position; separate skeletal and saved-anchor offsets use the actual imported weapon axes. The attack wrist blends back into the same carry pose during recovery.


The skeletal hero adds an upper-body hit recoil without restarting footsteps or canceling a committed ability. Crowd skeletal and VAT characters use the same full-body hit clip. The player's jump launches at its takeoff marker, uses separate rising and descending poses, and integrates swept gravity in short steps. Older profiles without a falling clip retain their original airborne fallback.
Timing and damage
| Action | Contact or release | Duration |
|---|---|---|
| Infantry sword cut | 0.633 s | 1.600 s |
| Heavy sword cut | 0.800 s | 2.000 s |
| Fireball cast | 0.500 s | 1.000 s |
Clip Release Seconds defines the contact or release marker. Runtime code reads the profile; the gameplay timer does not assume every character uses the same timing.
Try Melee Attack activates an ability on the hero's Mass entity. A short contact window begins at the marker. The arena checks the authored blade arc against nearby enemy bodies, rejects walls, and applies normal MassForge damage to at most five enemies. Each enemy can be hit once per swing. A whiff still plays the full action. Damage never happens on the initial mouse click.
Primary Action starts the fireball wind-up. A small charge grows in the free palm. At the marker, a Mass projectile starts at that animated hand, travels through the world, and resolves damage on impact. Enemy casters sample the corresponding saved free-hand anchor, including in VAT presentation.

The fireball is a real Mass projectile. Charging, release, visible travel and impact are separate stages.

The cut has a wind-up, a committed step, blade contact and recovery. Ordinary movement cannot slide the knight through the strike.
Replacing an animation
- Duplicate a presentation profile and its equipment data before changing a shared bank.
- Assign a compatible skeletal sequence and its actual release time.
- Export the crowd deformation and matching hand/head anchors from the same evaluated motion. Changing only the skeletal sequence leaves VAT and attached weapons on the old motion.
- Update frame ranges, texture dimensions, bounds and locomotion reference speeds together.
- Run source correspondence, imported pose, native texture/address and gameplay checks. An animation that looks acceptable in Blender can still differ after FBX interpolation or texture import.
The authoring scripts reject overwriting earlier banks. Previous stabbing animations and their replay archive remain available for development footage.