Mounts and Jetboard
1. What it does
Walk near a Corridor Mount and the hero rides it along its path: the stick steers, Jump is the mount's jump, Spin is the boost. A Corridor Jetboard is a board ridden freely on Corridor Water. Ramps throw the mount into the air; stat gates change its speed mid-run.
2. Turn on / off
- Details: Corridor | Abilities > Can Use Mounts.
- Blueprint:
Set Ability Enabled(Ability = Mounts) /Is Ability Enabled. - Routes: B only (Corridor Character).
- Off: mounts wait and never take the hero (and a hero is not put back on a mount after a respawn). Switched off while riding: the hero lets go and can move.
3. Level actor to place
Corridor Mount, Corridor Jetboard (with Corridor Water and Corridor Whirlpool), Corridor Mount Ramp, Corridor Mount Stat Gate. Draw the mount's Path; for the jetboard put the end of the Path (the finish line) Dismount Distance before the dock.
4. Details fields
Mount (ACorridorMount):
| Field | Default | What it does |
|---|---|---|
Mount Distance (MountDistance) |
514 | The hero closer than this to the root gets on. (Details: Corridor | Mount) |
Transfer Time (TransferTime) |
0.467 | Getting on takes this long. (Details: Corridor | Mount) |
Speed (Speed) |
964 | Running speed. (Details: Corridor | Mount) |
Acceleration (Acceleration) |
2571 | How fast the mount's speed changes toward its target (cm/s^2); a boost may use a faster rate. (Details: Corridor | Mount) |
Gravity Scale (GravityScale) |
1 | Gravity on the rider while riding, x the hero's own (below 1 = floatier). (Details: Corridor | Mount) |
End Launch Velocity (EndLaunchVelocity) |
1543 | At the end of Path the hero is thrown up at this speed, keeping the run. (Details: Corridor | Mount) |
Respawn Delay (RespawnDelay) |
2 | Respawned on it (a checkpoint taken while riding): it stands this long, then runs. (Details: Corridor | Mount) |
Rotation Rate (RotationRate) |
200 | How fast the stick turns it. (Details: Corridor | Mount | Steer) |
Max Steer Angle (MaxSteerAngle) |
45 | The furthest it turns away from the path's way. (Details: Corridor | Mount | Steer) |
Lane Half Width (LaneHalfWidth) |
400 | How far either side of the path it may go. (Details: Corridor | Mount | Steer) |
Can Jump (bCanJump) |
true | Whether the rider can jump: a tap jumps JumpHeight, a held press HeldJumpHeight; letting go on the way up cuts the rise short. (Details: Corridor | Mount | Jump) |
Jump Height (JumpHeight) |
129 | Jump height on a tap (cm); letting go of jump on the way up cuts the rise down to this. (Details: Corridor | Mount | Jump) |
Held Jump Height (HeldJumpHeight) |
257 | Jump height while the button is held (cm). (Details: Corridor | Mount | Jump) |
Can Boost (bCanBoost) |
true | Whether the spin button gives a speed boost while riding. (Details: Corridor | Mount | Boost) |
Boost Peak (BoostPeak) |
1.84 | Boost (spin button): speed x BoostPeak at BoostRise, back to normal at BoostTime. (Details: Corridor | Mount | Boost) |
Boost Time (BoostTime) |
1 | Total length of a boost (s): the speed is back to normal when it ends. (Details: Corridor | Mount | Boost) |
Boost Cooldown (BoostCooldown) |
1 | Wait after a boost ends before the next. (Details: Corridor | Mount | Boost) |
Jetboard (ACorridorJetboard): Coast Speed, Boost Speed, Dismount Distance, Ride Height, Rotation Rate - see the tooltips in Details.
5. Blueprint functions and events
| Node | Kind | What it does |
|---|---|---|
| Set Ability Enabled / Is Ability Enabled | Function / Getter | The switch above (Ability = Mounts). |
| Get Corridor Action | Getter | Mount from boarding until the hero is released. |
| On Action Started / Ended | Event dispatchers | One pair per ride. |
| Get Mount | Getter | The mount being ridden. |
| Start Ride, Launch, End Ride, Get State, Get Speed, Is Boosting, On State Changed (on the mount) | Function / Getter / Event | Boarding and state; see the API reference. |
6. Use your own animation
Leave Anim Set empty; Get Corridor Action = Mount; the mount's own getters (Get Speed, Is Boosting; jetboard Get Turn, Get Drive Level) drive the blend.
7. See it in the demo
Course4_RideChase: the ride sections. Walk up to the mount.
8. Pitfalls
- Turn Mounts on before the level starts (or after a respawn): a mount that has ended is not re-armed when you switch the ability on later in the same run.
- Option B only: mounts need the Corridor Character.
- While riding, the spin button is the boost and Jump is the mount's jump. That is still true with Spin and Double Jump off.
- A mount must be ended with End Ride; do not just clear flags.
More about mounts and the jetboard
| Actor | Use |
|---|---|
ACorridorMount |
Walk within MountDistance and the hero rides it along Path: stick steers, jump and spin (boost) are the mount's. The hero sits on it with the anim set's Vehicle\|Mount clips: MountRide (loop; empty = Idle, never the run cycle) blending into MountRideFast (empty = MountRide) as a boost takes the mount from its Speed to Speed x BoostPeak. |
ACorridorJetboard |
A board ridden freely on ACorridorWater: the stick is where it goes (RotationRate; Speed at full stick, CoastSpeed with none), holding spin boosts (BoostSpeed, at least BoostMinTime), jump only if bCanJump. Past the end of Path (the finish line) the hero hops DismountDistance ahead onto the dock: put Path's end that far before it. Mount ramps and checkpoints work as with ACorridorMount; walls stop it (BlockedTime 0). Put a camera view with the Vehicle preset over the water. A skeletal board: set BoardMesh + BoardAnims (or the theme's JetboardLook); it rides under the hero's feet and plays the same blend; nobody on it, it plays its set's Idle. Placed over water, it waits at RideHeight above the surface. The hero's anim set fills Vehicle\|Jetboard: a 3 x 3 blend (BoardSlow / BoardRide / BoardBoost rows by speed, centre / left / right by turn, BoardLeanSample, BoardSmoothTime), the air clips BoardJumpStart, BoardApex, BoardFall, BoardLand and deaths on the board BoardDeaths. Empty slots are skipped. |