# Mountcraft Predicted, replicated rideable creatures for multiplayer: horses, flying mounts, several seats, mount and dismount from any side, gaits, riders that join mid-match. ## Contents - [Getting started](#getting-started) - [Using your own character](#using-your-own-character) - [Using your own mount](#using-your-own-mount) - [Fighting from the saddle](#fighting-from-the-saddle) - [Multiplayer](#multiplayer) - [Mountcraft in Blueprint](#mountcraft-in-blueprint) - [Colors, coats and gear](#colors-coats-and-gear) - [Reference](#reference) - [Troubleshooting](#troubleshooting) ## Getting started Mountcraft is a mount system for Unreal Engine 5.6 to 5.8 that works in multiplayer: getting on and off with animation, gaits and stamina, flying mounts, as many passenger seats as the mount has, feet on uneven ground, calling the mount and fighting from the saddle. It brings the system and an example to learn it from; the example's animations are placeholders to swap for your own. The player drives the mount itself, which predicts its own movement, so riding under lag feels like walking. This page gets you riding in the example, then on your own character. ### 1. Enable the plugin Edit > Plugins, search for Mountcraft, tick it and restart. It needs Enhanced Input, which is part of the engine and on by default. ### 2. Ride in the example Open `/Mountcraft/Example/L_MountcraftExample` and press Play. Click in the viewport so it takes the keyboard. The map is a valley 2 km across: a meadow in the middle where the mounts stand, fir woods round it, a lake to the north west, a bluff 90 m high to the south east to take off from, and mountains all round. Its trees, rocks and plants are Nanite meshes, so the project needs Nanite on and DirectX 12 with Shader Model 6, as a new 5.x project has (Project Settings, Platforms, Windows, and Rendering). With Lumen on, give the first frames a moment. | Key | Gamepad | What it does | |---|---|---| | E | Left face button | Get on the horse in reach (within 180 cm); get off | | H | D-pad up | Call your last horse | | WASD, mouse | Sticks | Steer, look around (the camera turns freely, the horse doesn't) | | Shift, Ctrl | RB, LB | Faster or slower gait: walk, trot, canter, gallop | | Space | A | Jump | | Left mouse | Right trigger | Swing the sword (to the right) | | Right mouse, held | Left trigger | Aim the bow; left mouse shoots | | F | Right face button | The horse kicks back (standing or walking) | | R | Top face button | The horse rears up | | C, arrows | | The stable: change the coat and the gear of the mount you ride or stand by | You get on from the side you stand on: facing the horse, a foot in the stirrup, belly across the saddle, the other leg over, and up. A fast horse slows down before you get off. Galloping spends stamina (the bar at the bottom); out of breath, the horse won't gallop until it recovers. The map's horses, stag, character and game mode are the Blueprints in `/Mountcraft/Example/Blueprints`: open them to change any setting ([Blueprint](#mountcraft-in-blueprint) lists them all). Three posts stand to the right of the path: two swings or two arrows knock one over, one swing at a gallop. Each horse in the map wears its own coat, and the other animals ride like them with numbers of their own: a stag, a bull that is slow, tough and kicks hard, a mule that gallops three times as long, a dire wolf that is the fastest and tires first, and an alpaca made in Blueprint alone (no C++ class of its own, see [Blueprint](#mountcraft-in-blueprint)). The winged horse on the other side flies: Space, then Space again in the air to take off. Shift to a faster gait and it flies on its wings: W flaps, let go and it glides, the camera steers, Space held climbs, E glides it in to land. At the walk it hovers. Press **C** on a mount, or standing by one nobody rides, for the stable: the arrow keys change its coat, its saddle, its armor and its bags, for every player. Armor adds health and takes speed, and the panel shows both. [Colors, coats and gear](#colors-coats-and-gear) explains the component behind it. The frame at the top left shows the mount you ride: its picture and name (**Mount Name** and **Portrait** on the mount), health, stamina, the gait, and its height and speed when it flies. The plaque at the bottom shows the keys that do something right now. It is the example's HUD (`AMTCExampleHUD`, drawn on the canvas): yours reads the same from the mount and its movement component. #### What the example is made of - The horse, the stag, the bull, the mule, the wolf and the alpaca: Quaternius, Ultimate Animated Animals (CC0). - The trees, rocks, plants and ground of the map: Poly Haven (CC0). - The HUD's frames: Kenney, Fantasy UI Borders (CC0). Its font: Cinzel, SIL Open Font License 1.1. - The mannequin: Epic's template content. The licences are in the plugin's `Docs/Licenses`. ### 3. Your own character Add an **MTC Rider Component** to your character Blueprint. That's all it needs to get on a mount. Read [Using your own character](#using-your-own-character) for the input and for your Animation Blueprint (foot IK has to be off while mounted, which is one node). ### 4. Your own mount Make a Blueprint child of **MTC Mount** (or duplicate `BP_MTC_Horse` to start from the example's horse), give it your skeletal mesh and an Animation Blueprint, and place the **Seat** where the rider's pelvis goes. Read [Using your own mount](#using-your-own-mount) for the seat, its Animation Blueprint, the getting on and off montages and feet on uneven ground, and [Colors, coats and gear](#colors-coats-and-gear) to let players dress it. ### 5. Multiplayer Nothing to set up: everything replicates. Play in the editor with 2 or 3 players (Net Mode: Play As Listen Server, or As Client for a dedicated server) and ride together; a second player can get on behind the first. [Multiplayer](#multiplayer) explains how it works and what was measured. ### 6. The rest - [Mounted combat](#fighting-from-the-saddle): the attack and aim keys while riding, and where your own combat plugs in. - [Blueprint](#mountcraft-in-blueprint): where every setting lives, the events, the nodes, and recipes. - [Reference](#reference): every setting, node and event with its default. - [Troubleshooting](#troubleshooting): what to check when something looks wrong. ## Using your own character Mountcraft does not replace your character. Add the **MTC Rider Component** to it and it can get on any mount; nothing else in the character changes. ### Getting on and off The component binds **E** (and the gamepad's left face button) to get on the nearest mount within that mount's Mount Range (250 cm by default), and the mount binds the same keys to get off. Turn off **Bind Mount Input** on the component to use your own input, and call **Toggle Mount**, **Mount Nearest** or **Request Dismount** from it. ### Calling the mount **H** (or the gamepad's D-pad up) calls the last mount the character rode, from up to **Call Range** (50 m). An AI controller brings it at the mount's **Call Gait** (canter) and stops it **Call Stop Distance** away (150 cm), close enough to get on at once; the rider's controller takes it from there. It follows the navmesh if the level has one and goes straight otherwise. From Blueprint, **Call Mount** on the component, or **Come To** on the mount (server). While seated the character holds **Seated Movement Mode** (Falling by default) with its movement turned off. Most Animation Blueprints read "in the air" from that and stop their own ground logic. ### Your Animation Blueprint The rider's animations play as montages in **DefaultSlot**: the seated loop (the mount's Riding Animation), and getting on and off (its Mount and Dismount montages, left and right). Your Animation Blueprint needs that slot over the whole body, which the engine's template already has. #### Foot IK Foot IK reaches for the floor under the feet and moves the legs and hips to touch it. On a horse the floor is a meter below the feet, so it straightens the legs and pulls the hips down through the whole climb, and the legs hang stiff while riding. The engine's mannequin template does this: its **Control Rig** node after the slot (`CR_Mannequin_FootIK`) keeps working with the `DisableLegIK` curve on. Turn it off while mounted: 1. Open your Animation Blueprint's Anim Graph and select the foot IK node (the template's Control Rig node). 2. In its details, set **Alpha Input Type** to **Bool Value**. 3. Bind **Alpha Bool Enabled** to **Should Use Foot IK** (Mountcraft category). It takes the Animation Blueprint itself and returns false from the moment the character starts getting on until it is back on foot. Your own foot IK node works the same way: anything with an alpha, a bool or an enabled flag. The example character (`MTCExampleCharacter`) uses a small animation instance written in C++ instead of the template's, `UMTCExampleRiderAnimInstance`, with no foot IK at all: idle, walk and jog by speed, the fall loop, and the montages over them. ## Using your own mount A mount is an **MTC Mount** (a Character with its own movement): make a Blueprint of it, give it your skeletal mesh and an Animation Blueprint that reads its speed. The example horse, `MTCExampleHorse`, is one made in C++. ### Its Animation Blueprint Make the mount's Animation Blueprint a child of **MTC Mount Anim Instance** (when creating it pick that as the parent class, or later in Class Settings, Parent Class). It fills these every frame, under the Mountcraft category, so the graph needs no casting and no code: | Variable | Use it for | |---|---| | Speed, Vertical Speed, Speed Ratio | the locomotion blend space (Speed Ratio is the speed over the gallop's) | | Gait | a state for each gait, when blending by speed alone is not enough | | Turn Rate | leaning into a turn, and stepping round when it turns standing still | | Moving, In Air, Dead, Has Rider | the state machine's conditions | | Flying, Wing Flying | the flying states: hovering against flying on its wings | | Flight Pitch, Flight Bank | a Transform (Modify) Bone on the body's root while flying: nose along the path, banked into the turn | | Stamina Ratio, Exhausted | a tired pose, a hanging head | | Has Ground IK, Body Pitch, Body Roll, Body Drop, the four Foot Offsets | the ground IK below | The smallest graph that works: a blend space by Speed (idle, walk, trot, canter, gallop) into a state machine with Ground, In Air (your jump loop) and Dead. Add the flying states and the ground IK when you need them. ### Where the rider sits The **Seat** component is where the rider's pelvis goes. Put it about 10 cm over the back, where a saddle would be, facing the way the mount faces. If the mount's back moves with its gait, set **Seat Bone** to the bone the skin under the saddle follows most (look at the weights in your modelling tool): the rider then rides with the back. On the example horse that is `Torso`; a neighbouring bone that carried 16% of the skin made the rider slide over the back with every stride. The seats hang off the mesh, so they scale with it: on a mesh scaled to 0.4, a seat 110 units back is 44 cm back. That holds with Seat Bone set too, on a skeleton whose bones carry a scale of their own (the 100 a Blender FBX often has). ### More seats **Passenger Seat** sits behind the rider. For more people, an elephant's howdah or a wagon's bench, add Scene components under **Seat** and give each the tag `MountcraftSeat` (Details, Tags, Component Tags). They are numbered after Passenger Seat in the order of their names, the same on every machine. Whoever gets on takes the rider's seat if it is free, then the first free passenger seat. Passengers are carried without driving, keep their own camera and controller, and get off with their own key. **Find Free Seat**, **Get Seat Count**, **Get Passengers** and **Get Seat Component** give the seats from Blueprint, and **On Rider State Changed** tells the mount who sat where (Seat Index 0 is the rider). Measured with three seats under 150 ms and 5% loss: the driver and two passengers stayed on their seats on every frame of every machine. Untick **Has Passenger Seat** for a mount that carries only its rider. ### Flying Tick **Can Fly** on the mount's movement component for a dragon, a griffin, a pteranodon. The player jumps, then presses jump again in the air to take off. At the walk it hovers: it moves where the stick points at Fly Hover Speed (400 cm/s) and stops when let go. At the faster gaits it flies on its wings, from a few lines of flight physics: - **It heads where the camera looks, and rolls before it turns.** The bank goes toward the one the turn needs at Fly Roll Rate (110 degrees a second) and the heading turns at what the bank it has gives, tan(bank) = turn rate × speed / g. So a turn starts and ends over about half a second, and gets wider the faster it goes: about 80 degrees a second at 12 m/s, 37 at 26 m/s, at Fly Max Bank (60 degrees). A lower roll rate is a heavier animal. - **The stick forward flaps.** It speeds up at Fly Flap Acceleration (500 cm/s²) toward the gait's flying speed: cruise, fast, and a sprint that spends stamina (Fly Cruise Speed 1200, Fly Fast Speed 1800, Fly Sprint Speed 2600 cm/s). **Let go, it glides**: the air slows it, and it comes down to keep its speed. Pulled back, it brakes (Fly Air Brake). - **Height and speed trade.** Climbing slows it and diving speeds it up, up to Fly Dive Speed (4000 cm/s) in a dive without flapping. The jump key held noses it up as steep as it climbs (Fly Max Climb Angle, 45 degrees) and flaps it up to Fly Climb Speed. - **Too slow, it sinks.** The wings' lift grows with the square of the speed and holds its weight at Fly Stall Speed (800 cm/s); flapping holds Fly Flap Lift (0.8) of it on top. Slower than that it loses height and the nose drops until it has the speed again. The get off key brings it down: on its wings it glides in at Landing Glide Angle (20 degrees) and flares over the last 6 m, hovering, it comes down at Landing Descent Speed (700 cm/s). It lands by itself once it comes down onto walkable ground, and the key gets off from there. Nobody gets off in the air. Everything the flight does is worked out from the velocity, the bank, the stick and the camera, the same on the rider's machine and the server (a correction brings the server's bank with it), and taking off and landing travel inside the mount's own moves, like the gait. Measured under 150 ms and 5% loss: up to 12.9 m, a turn, a sprint to 2,170 cm/s, glided in and landed, with 6 corrections of 2.3 cm at most and the rider on the seat on every frame. Flying, the camera changes with it, on the machine that drives: - it rises Fly Camera Height (170 cm) over the line it looks along, so the mount sits in the lower part of the picture and where it is going shows over it, up a climb and down a dive too; - it moves back Fly Camera Distance (150 cm) for the wings, and up to Fly Camera Speed Distance (250 cm) more and Fly Speed Field Of View (15 degrees) wider at Fly Dive Speed; - it rolls Fly Camera Roll Share (0.3) of the mount's bank into a turn; - it trails the mount (Fly Camera Lag Speed 5, Fly Camera Rotation Lag Speed 8), never further than Fly Camera Lag Max Distance (120 cm). On the ground it stays as it was. The example's winged horse, `MTCExamplePegasus`, is the example horse with Can Fly on and a pair of wings on its withers that fold on the ground, beat when it flaps and hold still when it glides. The beat is a bird's: the downstroke takes 55% of it, on the way up the wing folds in and sweeps back, the body rises 5 cm with each downstroke, and cruising it beats in bursts of three and glides a second in between (static meshes turned each frame from the velocity, on every machine). In the air it holds the jump's tucked legs, tips its body into the climb or dive and banks into the turn as much as the turn needs, tan(bank) = turn rate × speed / g (`FMTCExampleHorseAnimProxy::PreUpdate`). From Blueprint: **Take Off**, **Land** (with Drop to stop flying at once and fall), **Is Flight Requested**, **Is Wing Flying** (on its wings, not hovering), **Get Flight Bank** (the bank the flight turns with, on the machine that drives and the server) and the engine's **Is Flying**. The capsule stays upright in the air: pitch and bank the body in your Animation Blueprint, from **Flight Pitch** and **Flight Bank** of MTC Mount Anim Instance. ### Feet on uneven ground Add the **MTC Ground IK Component** to the mount and list its four foot bones in **Foot Bones**, in this order: front left, front right, back left, back right. Every frame it traces the ground under each foot and gives: - **Body Pitch** and **Body Roll**: how the body tilts to follow the slope, in degrees, up to Max Body Pitch (20) and Max Body Roll (8); - **Body Drop**: how far the body goes down so the foot on the lowest ground still reaches it, in cm; - **Foot Offsets**: how high the ground under each foot is against the ground under the capsule, in cm; - **Leg Offsets**: what each leg still has to rise once the body has tilted and dropped, in cm (never below 0: a leg only shortens). It only measures. Apply it in the mount's Animation Blueprint, after the locomotion (an Animation Blueprint that is a child of MTC Mount Anim Instance already has these as variables): 1. **Transform (Modify) Bone** on the body's root bone: Rotation in Component Space from Body Pitch and Body Roll, Translation Z from Body Drop (divided by the mesh's scale). 2. A **Two Bone IK** per leg, from the upper leg to the foot: Effector in Component Space at the foot's own position raised by its Leg Offset (divided by the mesh's scale). On flat ground everything is 0 and the legs play the animation untouched. In the air (jumping, falling) it all goes back to 0 at Follow Speed. The example horse does this in C++ (`FMTCExampleHorseAnimProxy::ApplyGroundIK`). On a 12 degree ramp its body pitches 12 degrees and every hoof stays on the ground under it (`Tools/ground_test.sh`). ### The rider's loop at each gait **Riding Animation** plays on the rider at every speed. To change it with the gait, fill **Riding Loops**: each entry is an animation, the speed it starts at (**From Speed**, cm/s) and the speed it was made for (**Animation Speed**). The rider blends from one loop to the next 30 cm/s into the new range, and each loop plays faster or slower to keep with the stride (Animation Speed 0 plays it as made). The example horse sits at the walk, posts at the trot from 300 cm/s and leans forward in the stirrups from 600. ### Other animals The example has four more mounts made from the horse's class, each a child class with its own mesh and animations, the seat moved to its back, and a scale that puts its back where the horse's is, so the same getting on and off animations fit. What makes each feel like another animal is numbers on the movement component: | | Gallop | Turn at a gallop | Stamina at a gallop | Health | | |---|---|---|---|---|---| | Horse | 1000 cm/s | 60 degrees a second | 8 s | 400 | the one the others are measured against | | Stag | 1000 | 60 | 8 s | 400 | the horse's numbers on another body | | Bull | 800 | 42 | 8 s | 700 | slow to start, and its kick does 70 where the horse's does 40 | | Mule | 820 | 60 | 27 s | 350 | twice the stamina, and it comes back faster | | Dire Wolf | 1250 | 80 | 4 s | 300 | quick off the mark and jumps 20% higher | `MTCExampleCreatures.cpp` is the whole of the last three: about 40 lines each. A sixth, the alpaca, has no C++ at all: it is a Blueprint child of MTC Mount with an Animation Blueprint of its own ([Blueprint](#mountcraft-in-blueprint) walks through it). When your animal's back sits at another height, generate or pick getting on and off montages for that height. ### Colors and gear The example horse wears a coat, a saddle and a bridle, and can change them for armor, a war saddle or saddlebags. That is the **MTC Mount Look Component**, which goes on any mount: see [Colors, coats and gear](#colors-coats-and-gear). ## Fighting from the saddle Mountcraft doesn't bring a combat system. It brings the rider's attack and aim from the saddle to yours, and the aim angle to every player. ### The keys While riding, the mount binds **Attack** (left mouse, the gamepad's right trigger) and **Aim** (right mouse, left trigger). They reach your code on the rider's own machine, in two ways; use either: - implement the **MTC Mounted Combat Interface** on the rider's character: **Mounted Attack** (the mount) and **Mounted Aim** (the mount, pressed or let go); - or bind the Rider Component's **On Mounted Attack** and **On Mounted Aim** events, for a combat that lives in a component. From there do what your combat does on foot: ask your server, which hits and deals damage. The rider's character keeps its controller as owner while seated, so its Server RPCs work as usual. ### The aim **Get Mounted Aim** on the Rider Component gives where the rider looks against the mount's heading: yaw (right positive) and pitch (up positive), in degrees, on every machine. The server sends it to the others at a byte each (1.4 degrees). **Is Mounted Aiming** is true while the aim key is held, also on every machine. Use them to turn the upper body or a bow toward the camera, and on the server to aim a shot: the mount's rotation plus Get Mounted Aim. ### Animations while seated An attack has to play on the upper body while the legs keep the seat. Give your Animation Blueprint a second slot (the example calls it **UpperBody**) layered over the spine and up, after the slot the seated loop plays in, and put your attack montages in it. ### The example `MTCExampleCharacter` implements the interface: - **Attack** swings a sword to the right: 0.55 s into the swing the server sweeps 220 cm to the right of the rider and deals 25 damage to what it hits. - **Aim** held, then **Attack**, shoots an arrow toward the aim: it leaves the bow 1.4 s into the shot, at 35 m/s, for 30 damage. - **A charge hits harder:** the swing adds up to 40 damage at a full gallop (less the slower), so a charge knocks a post down in one blow. - **The horse fights too:** F (the gamepad's right face button) kicks back, R (top face button) rears up; the hooves deal 40 damage behind or in front. Standing or walking only. - Three training dummies stand on the right of the course (`AMTCExampleTarget`, 60 health). Each hit rocks a dummy away from the blow, harder the more it hurts; at 0 it falls, on every machine. The swing and the shot were generated with Kimodo like the getting on, with the legs and hips held on the seat the whole time and the arms free. The upper body turns toward the aim while the aim key is held. ## Multiplayer Everything in Mountcraft replicates, and the server decides: who gets on, where they get off, when a horse dies. You don't write any network code for the basics. This page explains how it works, so you know what to expect when you build on top of it. ### Who drives When a player gets on, their controller possesses the mount. The mount is a Character with its own movement component, so it predicts and corrects like any player pawn: riding with 150 ms of lag feels the same as walking with it. The rider's character stays attached to the seat, with no collision and no movement. It keeps its controller as owner, so its own Server RPCs still work (that's how mounted combat reaches your server), but on every machine it is a simulated proxy riding along with the seat. It never gets corrections while seated. ### What the server checks - **Getting on:** within the mount's `Mount Range` (250 cm by default, 180 cm on the example horse), a free seat, and a living mount. - **Getting off:** a free spot beside the mount, left, right or behind, with ground under it (down to 150 cm below the hooves, for slopes), nobody standing on it, no other rider of the same mount already getting off to it, and a clear line from the seat. The spot is replicated, so the owner lands where the server put them. - **Speed:** a horse asked to stop at a gallop slows down first. If the request reaches the server before the moves that slowed it, the server waits up to 1.5 s for the horse to slow before saying no. ### What everyone sees - Gait, stamina, the getting on and off montages and the side they're played on reach every player. - **Joining late:** a player who joins while someone rides sees the rider seated as soon as the horse appears on their machine. - **Passenger:** a second player can get on behind. Their controller keeps its own character, so they look around and get off with the same key. They never drive. - **The mount dies:** the server throws the riders off; the owner predicts the throw, so it doesn't snap. - **The driver leaves the match:** the horse stays where it stopped, riderless, and a passenger gets off on foot. - **Stamina** is predicted by the driver with the rest of the movement and sent with each correction. Everyone else gets the replicated value. - **Mounted aim** reaches the other players at a byte per axis (1.4 degrees), only while it changes. - **Colors and gear** (the Look Component) are one replicated value on the mount: everyone sees the same coat and the same armor, and a late joiner gets them with the mount. Gear that changes the speed changes it on the server and on the rider's machine alike, so the prediction holds. ### Measured Every number below comes from our test bench (not part of the plugin): a dedicated server and two or three clients, each its own process, every client with **150 ms of lag and 5% packet loss**. Player A walks to the horse, gets on, rides walk, trot, canter and a zigzag gallop, jumps a log, circles, stops and gets off. Player B watches. Each case ran three times. | Case | What was measured (3 runs each) | |---|---| | Ride | Getting on 1.1 s, getting off 1.0 s, including the lag (1.3 s and 1.2 s at worst, over all 15 rides). The rider's own horse: 2 to 6 corrections per course, none over 2 cm. The rider on foot: at most 2.4 cm. Player B sees the rider on the seat in every frame (1,256 of 1,256) and no pop while getting on or off. Every machine ends with horse and rider in the same place (within 2 cm). | | Late | Player C joins while A gallops: the rider is on the seat from C's second frame on (753 of 754). Corrections for A: 2, under 2 cm. | | Death | The server kills the horse 1 s into a gallop. A is thrown off, predicted on A's machine (corrections: none in two runs, 1.8 cm in the third), and ends in the same place on every machine. | | Drop | A leaves the match mid ride. The horse stays where it was and comes to a stop on the server and on B; A's character goes with A. | | Passenger | C gets on behind A, rides the whole course and gets off. C is on the seat in every frame on every machine, and everyone ends in the same place. Corrections on the horse: at most 2.6 cm. | | Combat | On the example map, the rider swings the sword at two posts and shoots the bow aimed 30 degrees to the right. The server hits both posts (25 damage each), the arrow leaves 30 degrees right of the horse, and the server, the rider and a third player all see the three attacks with the same aim. | | Seats | A horse with three seats: C and D get on behind A, ride the whole course and both ask to get off on the same frame. Each gets a spot of its own (left and right), everyone is on the seat in every frame on every machine (1,242 to 1,246 frames each) and all end where the server has them, within 0.1 cm. Corrections on the horse: 9, at most 2.1 cm. | | Look | A asks for another coat from its own machine as it gets on; the server puts armor on the horse a second into the gallop (80% speed, 100 more health) and takes it off two seconds later; C joins in the middle. The server, A, B and C all go through the same coats and gear in the same order, C arrives with the look as it is, the armored gallop holds 800 cm/s where it was 1000, and the horse's corrections stay at 2.3 cm at most (10 in the course). | | Stamina | Galloping spends 40 a second, so the horse runs out three times. The rider's machine and the server mark the same three spells, 0.2 s apart (the client's clock estimate). Corrections: under 2 cm. | **Bandwidth.** On the Seats run (four players, one mount with three riders), the server sent each player a median of 1.4 to 2.1 kB a second, 4.1 kB at the most, and got 1.1 to 3.8 kB a second from each (the driver's moves are the larger share). That is the engine's own count per connection, sampled once a second. Someone watching sees the horse jump 10 to 18 cm in a single frame once or twice per course, and in one of the three Death runs the falling horse jumped 42 cm once. A correction is the server moving a player's own pawn because the prediction was off. A pop is a jump of 10 cm or more in a single frame for someone watching. ## Mountcraft in Blueprint Mountcraft is C++, but you never need to open the C++ to use it. Every setting is in the Details panel, every action is a node, and the moments a game reacts to (getting on, getting off, the mount dying) are events. ### The example's Blueprints `/Mountcraft/Example/Blueprints` has a Blueprint for each piece of the example, and the example map uses them: | Blueprint | Child of | Open it to | |---|---|---| | BP_MTC_Horse | MTC Example Horse | change gaits, stamina, health, the seat, getting on and off, the coat, the riding loops | | BP_MTC_Pegasus | MTC Example Pegasus | the flying mount: flying speeds, climb, landing, the wings | | BP_MTC_Stag, BP_MTC_Bull, BP_MTC_Mule, BP_MTC_Wolf | the example's other animals | the same on another body, each with its own speeds, stamina and health | | BP_MTC_Alpaca | MTC Mount (the plugin's own class) | a mount made with no C++ of its own: see below | | BP_MTC_Rider | MTC Example Character | the rider's keys, the sword and bow damage, and a graph that prints the ride state | | BP_MTC_GameMode | MTC Example Game Mode | which character players spawn as | To start your own, duplicate one of these (or make a child of it) and change what you need. The rider's Event Graph shows the event most games use first: **On Ride State Changed** on its Rider Component, printing Mounting, Riding, Dismounting and On Foot. ### A mount made in Blueprint alone `BP_MTC_Alpaca` is there to copy from. It is a child of **MTC Mount**, the plugin's class, not of the example's horse, and everything it has was set the way you would set it: 1. **The Blueprint**: new Blueprint Class, parent MTC Mount. In its class defaults: the Mesh component's Skeletal Mesh and its scale, location (the mesh's feet at the bottom of the capsule) and rotation (-90 so it faces forward); the capsule's size; the **Seat** over the back; Seat Bone; the four getting on and off montages and Riding Loops (the example's, made for a back 137 cm high); Max Health; the gaits' speeds on the Character Movement component. 2. **Its animation**: `ABP_MTC_Alpaca`, an Animation Blueprint whose parent is **MTC Mount Anim Instance**. Its Anim Graph is three nodes deep: a blend space by **Speed** (`BS_MTC_Alpaca_Gaits`: idle at 0, walk at 137, gallop at 730 cm/s), a Blend Poses by bool on **In Air** with the jump, and another on **Dead** with the death animation. Speed, In Air and Dead are the parent's variables: no Event Graph, no casting. 3. **Its coats**: an **MTC Mount Look** component added with the Add button, three channels on the mesh's material slots and four coats. It rides, jumps, dies, carries a passenger and replicates like the others, because all of that is the parent's. ### Where each setting lives On the mount (select the Blueprint's root, class defaults): | Category | What's there | |---|---| | Mountcraft | Seat Bone, Has Passenger Seat, Mount Range (250 cm), Body Half Length, Stay When Rider Leaves | | Mountcraft, Mounting | the four getting on and off montages, Transition Facing Yaw, Transition Ground Distance, durations without a montage, Max Dismount Speed, Riding Animation, Riding Slot, Riding Loops | | Mountcraft, Gaits | Gait On Mount (the gait a rider starts at) | | Mountcraft, Flight (on the movement component) | Can Fly, the four flying speeds, Fly Turn Rate, Fly Climb Speed, Take Off Speed, Landing Descent Speed, Land Distance | | Mountcraft, Death | Max Health (400, 0 for none), Ragdoll On Death, Death Montage, how far the rider is thrown | | Mountcraft, Call | Call Gait, Call Stop Distance | | Mountcraft, Camera | Camera Blend Time; the Camera Boom and Follow Camera components are yours to move | | Mountcraft, Input | a mapping context and an action for each key; empty ones are made with the default keys | | Mountcraft, Display | Mount Name and Portrait, for your HUD | On the mount's **Character Movement** component (it's an MTC Mount Movement): top speed and turn rate per gait (walk 180, trot 380, canter 650, gallop 1000 cm/s), Turn Around Speed Factor, and stamina (Max Stamina 100, 0 turns it off; gallop cost 12 per second, recovery 10, Exhausted Until 30). The rest is the engine's own Character Movement: jump height, acceleration, braking. On the mount's **MTC Mount Look Component**, if you add one: Color Channels, Presets, Gear Slots, Default Preset ([Colors, coats and gear](#colors-coats-and-gear)). On the mount's **Animation Blueprint**, when its parent is MTC Mount Anim Instance: Speed, Gait, Turn Rate, In Air, Flying, Flight Pitch, Flight Bank and the ground IK's offsets as variables ([Using your own mount](#using-your-own-mount)). On the **MTC Rider Component** of your character: Bind Mount Input, the mount and call keys, Call Range (50 m), Dismount Gap, Max Dismount Drop, Swing Height, Seated Movement Mode. ### Events | Event | On | Fires | |---|---|---| | On Ride State Changed (New State, Mount) | Rider Component | getting on, seated, getting off, back on foot. On every machine, including one that joins in the middle of a ride | | On Rider State Changed (Character, New State, Seat Index) | the mount | the same, from the mount's side: Seat Index 0 is the rider, 1 the passenger | | On Mounted Attack (Mount) | Rider Component | the attack key while riding, on the rider's machine | | On Mounted Aim (Mount, Aiming) | Rider Component | the aim key pressed or let go while riding, on the rider's machine | | Mounted Attack, Mounted Aim | MTC Mounted Combat Interface | the same two, on the character, if it implements the interface | | On Mount Died | the mount | the mount dies, on every machine | | Copy State To (Replacement) | the mount | a player left riding and a fresh copy takes the mount's place: carry your own state to it (the look is carried for you) | | On Look Changed | Look Component | a color or a piece of gear changed, on every machine, and once at the start of play | | Can Change Look (By) | Look Component | override it: the server asks it before a player's request changes the look | ### Nodes On the **Rider Component**: Request Mount, Mount Nearest, Toggle Mount, Request Dismount, Eject From Mount (server), Call Mount, Find Nearest Mount, Get Mount, Get Last Mount, Is Mounted, Get Ride State, Is Passenger, Get Seat Index, Get Ride Side, Get Mounted Aim, Is Mounted Aiming, Should Use Foot IK for your Animation Blueprint, and Request Mount Look, Request Mount Preset, Request Mount Gear and Request Mount Color to change a mount's look from the player's machine. On the **mount**: Get Rider, Get Passenger, Get Passengers, Has Rider, Has Free Seat, Find Free Seat, Get Seat Count, Get Seat Component, Get Health, Get Max Health, Set Health (server), Set Max Health Bonus, Get Look Component, Die (server), Come To (server), Is Dead, Get Replicated Stamina, Get Riding Loop Index. On its **Mount Movement**: Set Requested Gait, Shift Gait, Get Requested Gait, Get Effective Gait (held at a canter while exhausted), Get Gait Speed, Get Base Gait Speed, Speed Scale, Get Stamina, Get Stamina Ratio, Add Stamina (server), Is Exhausted, Get Turn Rate For Speed, Take Off, Land, Is Flight Requested, Is Wing Flying, Get Flight Bank, Get Height Over Ground. On its **Look Component**: Apply Preset, Set Color, Set Gear, Set Look, Randomize (all server), Get Look, Get Color, Get Preset Index, Get Gear, Get Gear Name, Get Gear Component, Get Gear Speed Scale, Get Gear Max Health Bonus. On the **example horse**: Kick, Rear. [Reference](#reference) has every one of them with what it does. ### Recipes **A sound when the rider gets on.** In your mount Blueprint, add **Event On Rider State Changed**. Branch on New State equal to Riding and play the sound at the mount. It runs on every machine, so everyone hears it. **Take the saddle off when nobody rides.** Same event, on the server: Get Look Component, **Set Gear** with slot `Saddle` and option -1 when New State is On Foot, and the saddle's option when it is Riding. **A stamina bar.** In your HUD widget, get the player pawn, cast it to MTC Mount, get its Mount Movement and bind the bar to **Get Stamina Ratio**. On foot the cast fails: hide the bar. **A healing item for the horse.** On the server, **Get Health** plus 100 into **Set Health**. It stops at Get Max Health (the mount's own plus what its armor adds). Set Health 0 kills it, same as Die. **A stamina potion, or a hit that winds the horse.** On the server, **Add Stamina** on the Mount Movement, with a negative amount to take it. The rider's machine gets the same amount, so the bar does not jump back. **A slow, or a speed buff.** Set **Speed Scale** on the Mount Movement to the same value on the server and on the rider's machine (a replicated variable with a RepNotify on your mount does both). Gear does this for you through the Look Component. **Your own key to get on.** Untick **Bind Mount Input** on the Rider Component and call **Toggle Mount** from your own input action. While riding, the mount has the input: give the mount Blueprint your own Dismount Action, or leave it empty for E. **Your own combat.** Add the **MTC Mounted Combat Interface** to your character Blueprint (Class Settings, Interfaces) and implement **Mounted Attack**: call the same server event your attack calls on foot. Read **Get Mounted Aim** for where the rider looks. **Start at a walk.** Set **Gait On Mount** to Walk on the mount. **Throw the rider off.** On the server, **Eject From Mount** on the Rider Component with a launch velocity: for a knockback, a fall, a cutscene. **A horse that waits for its owner.** **Stay When Rider Leaves** is on by default: when a player leaves the match riding, the horse stays. Override **Copy State To** to carry your own variables to the copy that replaces it. ### What stays in C++ Nothing you need. The plugin's own classes are C++, and every one of them is used from Blueprint: the mount, its movement, the rider component, the look component, the ground IK component and the animation instance your Animation Blueprint is a child of. The one piece of the example that is C++ and has no Blueprint twin is **the example horse's animation**: the pack it comes from has a walk and a gallop only, and the trot and the canter are built from them by shifting each leg's timing, which no Anim Graph node does. Your own mount with its own trot and canter does not need it: make a normal Animation Blueprint, child of MTC Mount Anim Instance, as in [Using your own mount](#using-your-own-mount). ## Colors, coats and gear The **MTC Mount Look Component** gives a mount colors a player can change and slots that take gear: a saddle, a bridle, armor, bags. Whatever is set is the same on every machine, reaches players who join later, and stays with the mount when its rider leaves the match. Gear can change what the mount does: armor that adds health and slows it down, a light pad that makes it faster. It is a component, so it goes on any mount: add it in your mount Blueprint (Add, MTC Mount Look) and fill three lists in its Details panel. No code and no graph needed for it to work. ### 1. Colors **Color Channels** names what can be colored. Each channel has: - **Name**: what you call it from Blueprint (`Body`, `Mane`, `Cloth`). - **Parameter Name**: the vector parameter that takes the color in the materials. The channel does nothing on a material without it. - **Material Slots**: the mount mesh's material slots it colors, by slot name. - **Gear Material Slots**: material slots it colors on the gear, on every piece worn. This is how a saddle cloth takes a team's color while the leather stays leather. - **Default Color**: the color before anyone changes it. The example horse has five: `Body`, `Dark`, `Light` and `Mane` on the body's four slots, and `Cloth` on the gear's `MTC_Cloth` slot. ### 2. Coats **Presets** are named sets of colors, one color for each channel in the same order: a coat. **Default Preset** is the one a mount starts with (-1 uses each channel's default color). The example horse has Bay, Black, Grey, Palomino and Chestnut. A preset can be shorter than the channel list: the channels it does not reach keep their color. ### 3. Gear **Gear Slots** are the places gear goes. Each slot takes one piece at a time, or none: - **Name**: `Saddle`, `Armor`, `Bags`. - **Socket**: the bone or socket of the mount's mesh the piece moves with. - **Modeled On Body**: tick it when the meshes were modeled sitting on the mount's body with the pivot at the mount's feet (the easy way to make a saddle that fits: model it on the horse and export it where it is). The piece is put back where it was modeled and moves with the bone from there. Unticked, the mesh's pivot goes on the socket. - **Options**: the pieces. Each has a **Name**, a **Mesh**, an **Offset** from the socket, and what wearing it does: **Speed Scale** (every gait's speed times this) and **Max Health Bonus**. - **Default Option**: the piece worn from the start, -1 for none. The example horse's slots: | Slot | Options | What they do | |---|---|---| | Saddle | Saddle, War Saddle, Riding Pad | the pad is 6% faster | | Bridle | Bridle | without it the reins are hidden | | Armor | Leather Barding, Plate Barding | +80 health at 95% speed, +200 health at 85% | | Head Armor | Chanfron | +40 health | | Bags | Saddlebags | 97% speed | The effects add up: a horse in plate, chanfron and bags has 240 more health and gallops at 82%. Health the gear adds is given when the piece goes on and taken back when it comes off, never below 1. The mule, the stag, the bull, the dire wolf and the alpaca each have a **Saddle** slot (Saddle, Riding Pad) and a **Bags** slot (Saddlebags), with pieces modeled on their own bodies and the same numbers. They start bareback: put a piece on in the stable, or set the slot's Default Option. The alpaca's slots are set in its Blueprint, the others in C++ (`MTCExampleCreatures::AddTack`). The speed is part of the predicted movement, so the rider's own machine and the server use the same scale and the mount does not rubber band when a piece changes. ### 4. Changing the look On the **server**, call the component's nodes: | Node | Does | |---|---| | Apply Preset (Preset Index) | a coat | | Set Color (Channel, Color) | one color, any color | | Set Gear (Slot, Option Index) | a piece in a slot, -1 to take it off | | Set Look (New Look) | everything at once | | Randomize (Seed, Randomize Gear) | a coat, and gear if asked, picked by the seed | From a **player's machine** (a menu, a dye item, a stable), use the player's **Rider Component** instead, which asks the server: | Node | Does | |---|---| | Request Mount Preset (Target Mount, Preset Index) | a coat | | Request Mount Color (Target Mount, Channel, Color) | one color | | Request Mount Gear (Target Mount, Slot, Option Index) | a piece | | Request Mount Look (Target Mount, New Look) | everything at once | The server asks the Look Component's **Can Change Look (By)** before it changes anything. As it comes, the rider may, and so may anyone standing within the mount's Mount Range while nobody rides it. Override it in your Look Component's Blueprint child for your own rule: the owner only, only inside a stable's trigger, only with enough gold. **On Look Changed** fires on every machine when the look changes, and once at the start of play. Use it for what the component does not know about: the example hides the reins when the bridle comes off. ### 5. Reading the look Get Look, Get Color, Get Preset Index (-1 when the colors were changed one by one), Get Gear, Get Gear Name, Get Gear Speed Scale, Get Gear Max Health Bonus, and **Get Gear Component (Slot)**: the mesh component of the piece worn, to attach your own things to it. On the mount: **Get Max Health** is Max Health with the gear's bonus, and **Get Look Component** finds the component. ### 6. Saving it **Get Look** returns an **MTC Mount Look**: a color for each channel and an option for each slot. Both its lists are marked Save Game. Keep it in your save and give it back with **Set Look** on the server after spawning the mount. A look saved before you added a channel or a slot still loads: what it does not have comes from the defaults. An option index a slot no longer has becomes no gear. ### 7. The example's stable Riding, or standing by a mount nobody rides, press **C**. The arrow keys pick a row and change it. The panel is drawn by the example's HUD (`AMTCExampleHUD::UpdateStable`) and each change goes through Request Mount Preset and Request Mount Gear, so it works the same on a client. ### Recipes **A herd where no two horses look alike.** In the spawner, on the server, after spawning each mount: Get Look Component, **Randomize** with the loop's index as the seed. **Team colors.** Add a channel with Gear Material Slots set to your cloth's slot, and call **Set Color** with the team's color when a player takes the mount. **A dye item.** On use, on the player's machine: **Request Mount Color** on the Rider Component, with the mount from Find Nearest Mount or Get Mount. **Armor as loot.** Give each armor an option in the `Armor` slot. On pickup, on the server: **Set Gear** with its index. Get Max Health goes up at once and the health bar with it. **A mount that only its owner can change.** Make a Blueprint child of MTC Mount Look Component, override **Can Change Look**, and return whether By is the owner you keep on the mount. **Something the component does not cover** (a glow, a particle, a second mesh): bind **On Look Changed** and read the look there. ## Reference Every setting, node and event of the plugin, with its default, made from the comments in the code (`Tools/make_reference.py`). Names are as the editor shows them. Speeds are in cm/s, distances in cm, angles in degrees, times in seconds. ### MTC Riding Loop A seated loop for a range of the mount's speed: posting at the trot, leaning forward at the gallop | Setting | Type | Default | What it does | |---|---|---|---| | Animation | UAnimSequenceBase | | The loop the rider plays in this range | | From Speed | float | 0 | From this ground speed up (cm/s), until the next loop's FromSpeed | | Animation Speed | float | 0 | The speed the loop was made for: it plays that much faster or slower to keep with the mount's stride. 0 plays it as made | ### MTC Mount A rideable animal. It is a Character with its own predicted movement, and the rider's controller possesses it while riding: the mount's movement is the one that predicts, and the rider is carried on the seat, so the two never fight | Setting | Type | Default | What it does | |---|---|---|---| | Call Gait | EMTCGait | Canter | How fast it comes when called, and how far from the caller it stops, cm (inside Mount Range, to get on at once) | | Call Stop Distance | float | 150 | See the row above. | | Seat Bone | FName | | A bone of the mount's skeleton for the seat to ride on (the back), so the rider rises and tips with the body as the animation moves it: a gallop's bounce, a jump. Empty: the seat stays where it is on the mesh. The seat's place is still set on the mesh, as in the reference pose; it is moved onto the bone at the start of play | | Has Passenger Seat | bool | true | Seats for people carried without driving: PassengerSeat behind the rider, then every Scene component you add with the tag MountcraftSeat (an elephant's howdah, a wagon's bench), in the order of their names. Attach them under Seat so they move with the back. Off: the rider rides alone | | Mount Range | float | 250 | How far from the mount's center a rider can get on, cm | | Body Half Length | float | 130 | From the center to the tail end of the body, cm. The capsule is round, so getting off behind needs the body's length | | Mount Name | FText | | What your HUD calls this mount, and its picture: nothing in the plugin reads them but the example's HUD | | Portrait | UTexture2D | | See the row above. | | Max Health | float | 400 | Built in health, taken by TakeDamage. At 0 the mount dies. 0 here means no built in health: call Die yourself | | Ragdoll On Death | bool | true | The body goes limp on death, if the mesh has a physics asset | | Death Montage | UAnimMontage | | Played on the mount when it dies, instead of the ragdoll. Optional | | Throw Speed Share | float | 0.5 | Share of the mount's speed the rider keeps when thrown off a dying mount, and how high it is thrown, cm/s | | Throw Up Speed | float | 350 | See the row above. | | Stay When Rider Leaves | bool | true | When a player leaves the match riding, the engine destroys the pawn it controls: the mount. With this on, the mount stays where it was, without a rider (a copy takes its place), and the leaving player's character goes away | | Mount Montage Left | UAnimMontage | | Getting on and off. The montage plays on the rider, and its length sets how long the move takes. The capsule goes in a straight line from where the rider stands to the seat, so make the montage in place around that line (hips at standing height at its first and last frames). Without one the rider is moved on and off the seat along an arc in the duration below | | Mount Montage Right | UAnimMontage | | See the row above. | | Dismount Montage Left | UAnimMontage | | See the row above. | | Dismount Montage Right | UAnimMontage | | See the row above. | | Transition Facing Yaw | float | 0 | How far the rider faces the mount at the ground in the montages above, degrees: 0 stands facing forward, 90 faces the mount's side, as a real rider gets on. The capsule turns from there to the seat at a steady rate along the montage, so make it with that turn taken out (the example's Kimodo ones are) | | Transition Ground Distance | float | 0 | Where the montages above start getting on and end getting off: this far beside the seat, cm, on the rider's side. A rider who asks from farther glides there in the first moments; getting off lands there if there is room. 0 starts from wherever the rider stands, which only suits montages made to stretch | | Mount Duration | float | 0.9 | How long getting on and getting off take without a montage, seconds | | Dismount Duration | float | 0.8 | See the row above. | | Max Dismount Speed | float | 150 | Faster than this the mount slows down first, and the rider gets off once it is under it, cm/s | | Riding Animation | UAnimSequenceBase | | Played on the rider while it sits, looping, in RidingSlot of its Animation Blueprint. The example's is a seated pose made for Epic's mannequin | | Riding Slot | FName | "DefaultSlot" | See the row above. | | Riding Loops | array of FMTCRidingLoop | | Seated loops by speed, in order of FromSpeed: the one whose range the mount is in plays instead of RidingAnimation, blending as the speed crosses from one to the next. Empty: RidingAnimation at every speed | | Gait On Mount | EMTCGait | Trot | The gait it starts at when a rider gets on | | Camera Blend Time | float | 1 | How long the view takes to go from the rider's camera to the mount's, and back on getting off, seconds | | Mount Mapping Context | UInputMappingContext | | Input while riding. Left empty, each one is made in code with the default keys: WASD or the left stick to steer, the mouse or the right stick to look, Space or the bottom face button to jump, Shift or the right shoulder for a faster gait, Ctrl or the left shoulder for a slower one, E or the left face button to get off | | Mount Mapping Priority | int32 | 1 | See the row above. | | Move Action | UInputAction | | See the row above. | | Look Action | UInputAction | | See the row above. | | Jump Action | UInputAction | | See the row above. | | Faster Action | UInputAction | | See the row above. | | Slower Action | UInputAction | | See the row above. | | Dismount Action | UInputAction | | See the row above. | | Attack Action | UInputAction | | The rider's attack and aim, passed to the Rider Component (left and right mouse, the gamepad's triggers) | | Aim Action | UInputAction | | See the row above. | | Seat | USceneComponent | read only | Where the rider's capsule center goes. On the mesh, so the rider follows the mesh's smoothing on other machines | | Passenger Seat | USceneComponent | read only | The passenger's seat, on the rider's seat (so it goes onto SeatBone with it), 45 cm behind | | Camera Boom | USpringArmComponent | read only | See the row above. | | Follow Camera | UCameraComponent | read only | See the row above. | | Fly Camera Lag Speed | float | 5 | Flying, the camera trails the mount a little (the boom's lag, at these speeds) and widens with the speed, up to this many degrees at Fly Dive Speed. 0 lag speed keeps it rigid | | Fly Camera Rotation Lag Speed | float | 8 | See the row above. | | Fly Speed Field Of View | float | 15 | See the row above. | | Fly Camera Lag Max Distance | float | 120 | The furthest the camera's lag lets the mount get from where it would be, cm: without it a fast mount left the screen in a turn or a dive | | Fly Camera Height | float | 170 | Flying, the camera rises this far over the line it looks along, cm: the mount sits in the lower part of the picture and where it is going shows over it, climbing and diving too | | Fly Camera Distance | float | 150 | Further back flying, for the wings, and further still with the speed (at Fly Dive Speed), cm | | Fly Camera Speed Distance | float | 250 | See the row above. | | Fly Camera Roll Share | float | 0.3 | Share of the mount's bank the camera rolls with it into a turn (0 keeps the horizon level) | | Rider | ACharacter | read only | Who sits on the seat. Set by the rider's component on the server | | Passengers | array of ACharacter | read only | Who sits on each passenger seat, in seat order (an empty seat is empty). Set by their rider components on the server | | Health | float | read only | See the row above. | | Dead | bool | read only | See the row above. | | Node | What it does | |---|---| | Get Rider | | | Has Rider | | | Get Passenger | Who sits in the first passenger seat, behind the rider, carried without driving | | Get Passengers | Everyone in a passenger seat, in seat order (an empty seat is an empty entry) | | Has Free Seat | A seat someone can take: the rider's first, then the passengers' in order | | Find Free Seat | The first free seat: 0 the rider's, 1 and up the passengers', INDEX_NONE when full | | Get Seat Count | Seats in all, the rider's included | | Get Seat Component (Seat Index) | The seat's component: 0 the rider's, 1 and up the passengers' | | Get Rider Component | See the row above. | | Get Mount Movement | See the row above. | | Is Dead | See the row above. | | Get Replicated Stamina | The mount's stamina as the server has it, on every machine (the rider's own machine predicts its own) | | Get Health | See the row above. | | Get Max Health | Max Health with what the gear worn adds (the Look Component's) | | Set Max Health Bonus (New Bonus) | More Max Health than the mount's own, from gear: the health it has now goes up or down by the change (server) | | Get Look Component | The mount's colors and gear, if it has a Look Component | | Die | Kills the mount (server only). The rider is thrown off and lands on foot, back in control of its own character. Call it from your own health system, or let the built in Health reach 0 | | Come To (Caller) | Comes to Caller and stops beside it (server only), at CallGait: an AI controller takes it there, on the navmesh if the level has one and straight otherwise, until a rider gets on. The rider component calls it with Call Mount | | Set Health (New Health) | Sets the built in health (server only), up to Max Health: healing, a potion, a stable. 0 or less kills the mount | | Get Riding Loop Index (Speed) | The loop for a speed: its index in RidingLoops, or INDEX_NONE for RidingAnimation | | Event | When | |---|---| | Copy State To (Replacement) | When the rider leaves the match the mount is replaced by a fresh one of the same class (bStayWhenRiderLeaves). Health and speed are carried over; override this to carry your own state too (saddle, color, owner, inventory) | | On Rider State Changed (Character, New State, Seat Index) | Someone on this mount changed state: getting on, seated, getting off, off (SeatIndex 0 the rider, 1 the passenger). On every machine. For a whinny on getting on, a saddle shown only while ridden, your own UI | | On Mount Died | Runs on every machine when the mount dies, and on a client that joins after it died | ### MTC Gait How fast the mount goes, picked by the rider. Each gait has its own top speed and turn rate Values: Walk, Trot, Canter, Gallop. ### MTC Mount Movement Component Character movement for a four legged mount. It does not strafe: it runs where it faces and turns toward the input at the turn rate of its speed. The gait goes in every saved move, so the server and the owner simulate the same one | Setting | Type | Default | What it does | |---|---|---|---| | Max Stamina | float | 100 | Galloping spends it, anything slower gives it back. 0 turns stamina off | | Gallop Stamina Cost | float | 12 | Spent per second at a full gallop: 12 is about 8 s of gallop from full | | Stamina Recovery | float | 10 | Given back per second at a canter or slower | | Exhausted Until | float | 30 | Once exhausted, the gallop comes back at this much stamina | | Walk Speed | float | 180 | Top speed of each gait, cm/s | | Trot Speed | float | 380 | See the row above. | | Canter Speed | float | 650 | See the row above. | | Gallop Speed | float | 1000 | See the row above. | | Speed Scale | float | 1 | Every gait's speed times this, on the ground and flying: heavy gear, a wound, a buff. The rider's machine predicts with it, so set the same value there and on the server (the Look Component does, from the gear) | | Walk Turn Rate | float | 120 | How fast it turns at each gait, degrees per second. Slower when faster, like a real horse | | Trot Turn Rate | float | 100 | See the row above. | | Canter Turn Rate | float | 80 | See the row above. | | Gallop Turn Rate | float | 60 | See the row above. | | Can Fly | bool | false | A mount that flies (a dragon, a griffin, a pteranodon): jump, then jump again in the air to take off. At the walk it hovers. At the faster gaits it flies on its wings: it heads where the camera looks, turns banking, flaps forward with the stick, glides without it, slows climbing and speeds up diving, and sinks when too slow to stay up. It lands on its own once it comes down onto walkable ground | | Fly Hover Speed | float | 400 | Flying speed at each gait, cm/s: hovering at the walk, then cruise, fast and the sprint, which spends stamina | | Fly Cruise Speed | float | 1200 | See the row above. | | Fly Fast Speed | float | 1800 | See the row above. | | Fly Sprint Speed | float | 2600 | See the row above. | | Fly Turn Rate | float | 90 | The fastest it turns in the air, degrees per second: hovering, and flying slowly. Faster it turns by banking, slower the faster it goes (Fly Max Bank) | | Fly Max Bank | float | 60 | The most it banks to turn, degrees: how hard its wings can pull it round. 60 pulls twice its weight | | Fly Roll Rate | float | 110 | How fast it rolls into and out of a bank, degrees per second. It rolls first and the roll turns it: lower is a heavier animal, slower to start and to end a turn | | Fly Stall Speed | float | 800 | Below this speed its wings alone can't hold it up, cm/s: it sinks, and the nose drops until it has the speed again. Their lift grows with the square of the speed, so at twice this it holds four times its weight | | Fly Flap Lift | float | 0.8 | Share of its weight the flapping holds up on top of the wings' lift (hovering holds all of it). Under 1 it loses height taking off slowly and catches the air as it speeds up | | Fly Flap Acceleration | float | 500 | How hard flapping speeds it up toward the gait's flying speed, cm/s2 | | Fly Dive Speed | float | 4000 | Its top speed in a straight dive without flapping, cm/s. Sets the air's drag: gliding level, it loses a quarter of its speed a second at 4000 | | Fly Air Brake | float | 600 | Slowing down with the stick pulled back, wings spread against the air, cm/s2 | | Fly Max Climb Angle | float | 45 | Steepest it climbs and dives where the camera looks, degrees | | Fly Max Dive Angle | float | 75 | See the row above. | | Fly Climb Speed | float | 450 | The most it climbs with the jump key held, cm/s | | Take Off Speed | float | 600 | Up speed given on taking off, cm/s, so it leaves the ground before it can land again | | Landing Glide Angle | float | 20 | Asked to land on its wings, it glides down at this angle, degrees, then flares over the ground and comes down like hovering. 20 glides in at about 13 m/s | | Landing Descent Speed | float | 700 | How fast it comes down when asked to land, hovering and over the last meters, cm/s | | Touchdown Speed | float | 150 | Coming down to land, it slows from Landing Descent Speed to this over the last Touchdown Height, cm/s and cm | | Touchdown Height | float | 300 | See the row above. | | Land Distance | float | 30 | How close walkable ground has to be under it, coming down, to land, cm | | Turn Around Speed Factor | float | 0.25 | Share of the speed it keeps while steered straight behind it (0 stops to turn, 1 turns at full speed) | | Node | What it does | |---|---| | Set Requested Gait (New Gait) | The gait the rider asks for. Call it on the owner: it travels to the server with the moves | | Get Requested Gait | See the row above. | | Shift Gait (Steps) | One or more gaits up (positive) or down (negative) from the one asked for | | Get Gait Speed (Gait) | See the row above. | | Get Effective Gait | The gait it really runs at: the one asked for, held down to a canter while exhausted | | Get Stamina | See the row above. | | Get Stamina Ratio | See the row above. | | Is Exhausted | Out of breath: no gallop until the stamina is back to ExhaustedUntil | | Get Turn Rate For Speed (Speed) | Turn rate for a speed, blended between the gaits around it, degrees per second | | Get Base Gait Speed (Gait) | A gait's speed as set above, before Speed Scale | | Take Off | Up in the air (call it on the owner, like the gait: it travels to the server with the moves). Nothing if it can't fly | | Land (Drop) | Comes down flying and lands on the ground under it (on the owner). Drop: stops flying at once and falls | | Is Wing Flying | Flying on its wings (a faster gait than the walk, not landing), not hovering | | Get Flight Bank | How far it is banked into its turn, degrees, right is positive: part of the flight, the same on the machine that drives and the server. Other machines get the bank from how the velocity turns | | Is Flight Requested | True from taking off until it lands | | Get Height Over Ground (Max Height) | How far the ground is under the capsule, cm, up to MaxHeight | | Add Stamina (Amount) | Gives stamina, or takes it with a negative amount (server only): a potion, a rest at a trough, a hit that winds the mount. The stamina is predicted on the rider's machine, so the same amount is added there too | ### MTC Ride State Where the rider is between the ground and the seat Values: On Foot, Mounting, Riding, Dismounting. ### MTC Rider Component Lets any Character ride an AMTCMount. Add it to your own character: nothing else in the character has to change. Getting on hands the controller to the mount and moves the character onto its seat; getting off finds free ground beside the mount, moves the character there and hands the controller back. The server decides both, and every machine, including one that joins in the middle of a ride, plays them from the replicated state | Setting | Type | Default | What it does | |---|---|---|---| | Bind Mount Input | bool | true | The key to get on, added to the local player while on foot. Left empty, it is made in code: E or the left face button. Turn bBindMountInput off to call MountNearest or RequestMount from your own input instead | | Rider Mapping Context | UInputMappingContext | | See the row above. | | Rider Mapping Priority | int32 | 1 | See the row above. | | Mount Action | UInputAction | | See the row above. | | Call Action | UInputAction | | Calls the last mount ridden, bound to H (and the gamepad's D-pad up) with the mount key | | Call Range | float | 5000 | How far the last mount can be to come when called, cm | | Dismount Gap | float | 30 | Room left between the mount's capsule and the rider's when getting off beside it, cm | | Seated Movement Mode | EMovementMode | MOVE_Falling | The movement mode the character holds while on a mount (its movement doesn't run then). Falling keeps an Animation Blueprint's foot IK off the ground: the Unreal mannequin's traces the floor whenever it isn't falling and pulls the hips down to it, so the legs bent and dragged the body into the horse while getting on (24/10/26) | | Max Dismount Drop | float | 150 | How far below the mount's feet the ground can be when getting off, cm (a slope falling away beside it) | | Swing Height | float | 25 | How far the body rises over the straight line while swinging on or off, cm | | Mount | AMTCMount | read only | What the rider sits on, or nullptr on foot. It may arrive after the state on a client: both apply when they change | | Ride State | EMTCRideState | read only | See the row above. | | Node | What it does | |---|---| | Request Mount (New Mount) | Asks to get on. The server checks the range, that the seat is free and that the mount is alive | | Request Dismount | Asks to get off. A fast mount slows down first. The server picks the left side, then the right, then behind | | Eject From Mount (Launch Velocity) | Off the mount at once, without the dismount move (server only): for the rider's own death, a knockback, a cutscene. The rider lands beside the mount, or on top of it when there is no room, with this velocity | | Get Mount | See the row above. | | Is Mounted | See the row above. | | Get Ride State | See the row above. | | Should Use Foot IK (Anim Instance) | For an Animation Blueprint: false while its pawn is getting on, riding or getting off. Plug it into the foot IK's alpha (in the engine's mannequin template, the Control Rig node after the montage slot): foot IK reaches for the floor and straightens the legs through the getting on and off, and while seated | | Get Seat Index | The seat taken: 0 the rider's, who drives; 1 and up a passenger's, carried | | Is Passenger | See the row above. | | Get Seat Component | The seat component this rider sits on, or nullptr on foot | | Get Ride Side | Side the rider got on or is getting off: -1 left, 1 right | | Find Nearest Mount | The closest living, free mount in reach, or nullptr | | Mount Nearest | Gets on the closest mount in reach that has a free seat | | Toggle Mount | What the mount key does on foot and as a passenger: on the nearest mount, or off this one. The rider who drives gets off with the mount's own key, since the mount has the input then | | Call Mount | The last mount ridden comes to the character, if it is within Call Range and nobody is on it | | Get Last Mount | The last mount this character rode, known on every machine (the one Call Mount brings) | | Is Mounted Aiming | True while the rider holds the aim key, on every machine (for an aiming pose) | | Get Mounted Aim | Where the rider looks, against the mount's heading: yaw (right positive) and pitch (up positive), degrees, on every machine. To turn the upper body or a bow toward the camera | | Request Mount Look (Target Mount, New Look) | Asks the server to change a mount's colors and gear, from the player's own machine (a stable's menu, a dye): the server asks the mount's Look Component whether this character may (Can Change Look) and sets it for everyone. The three below change one thing of the look the mount has now | | Request Mount Preset (Target Mount, Preset Index) | See the row above. | | Request Mount Gear (Target Mount, Slot, Option Index) | See the row above. | | Request Mount Color (Target Mount, Channel, Color) | See the row above. | | Event | When | |---|---| | On Ride State Changed | Getting on, seated, getting off, back on foot: on every machine, including one that joins in the middle of a ride. Mount is the one ridden, or the one just left when back on foot | | On Mounted Attack | The mount's attack key, pressed while riding, on the rider's own machine (see MTC Mounted Combat Interface) | | On Mounted Aim | The mount's aim key, pressed or let go while riding, on the rider's own machine | ### MTC Look Color Channel A color the player can change on the mount: the coat, the mane, the saddle's cloth | Setting | Type | Default | What it does | |---|---|---|---| | Name | FName | | | | Parameter Name | FName | "Color" | The vector parameter that takes the color, in every material slot below | | Material Slots | array of FName | | The mount mesh's material slots it colors, by name. Empty: none of the body's (a channel only gear reads) | | Gear Material Slots | array of FName | | The gear's material slots it colors, by name, on every piece worn (a saddle cloth that takes the team's color) | | Default Color | FLinearColor | FLinearColor::White | See the row above. | ### MTC Look Preset A named set of colors, one for each channel in order: a coat | Setting | Type | Default | What it does | |---|---|---|---| | Name | FName | | | | Colors | array of FLinearColor | | | ### MTC Gear Option One thing that can go in a gear slot: a saddle, a set of armor | Setting | Type | Default | What it does | |---|---|---|---| | Name | FName | | | | Mesh | UStaticMesh | | | | Offset | FTransform | | Moved by this from the slot's socket | | Speed Scale | float | 1 | What wearing it does to the mount: every gait's speed times this, and this much more Max Health | | Max Health Bonus | float | 0 | See the row above. | ### MTC Gear Slot A place on the mount that takes one piece of gear at a time, or none | Setting | Type | Default | What it does | |---|---|---|---| | Name | FName | | | | Socket | FName | | The bone or socket of the mount's mesh the piece moves with | | Modeled On Body | bool | false | The meshes were modeled on the mount's body, in the body's own space (the saddle sitting on the back, pivot at the mount's feet): they are put where they were modeled, and move with the bone from there. Off: the mesh's pivot goes on the socket | | Options | array of FMTCGearOption | | See the row above. | | Default Option | int32 | -1 | The option worn from the start: its index in Options, -1 for none | ### MTC Mount Look How one mount looks: a color for each channel and an option for each gear slot (-1 for none). Small enough to replicate and to keep in a save game | Setting | Type | Default | What it does | |---|---|---|---| | Colors | array of FColor | | | | Gear | array of int32 | | | ### MTC Mount Look Component Colors and gear for a mount, the same on every machine and on players who join later. Add it to your mount, name the colors a player can change and the slots gear goes in, and set them on the server. Gear can make the mount faster or slower and tougher. The mount that takes this one's place when its rider leaves the match gets the same look | Setting | Type | Default | What it does | |---|---|---|---| | Color Channels | array of FMTCLookColorChannel | | The colors a player can change, each on the material slots it names | | Presets | array of FMTCLookPreset | | Coats to pick from, each a color for every channel | | Gear Slots | array of FMTCGearSlot | | The places gear goes, each taking one of its options at a time, or none | | Default Preset | int32 | -1 | The preset it starts with: its index in Presets, -1 for each channel's default color | | Node | What it does | |---|---| | Get Look | The look now, on every machine | | Set Look (New Look) | The whole look at once (server only): from a save game, or copied from another mount of the same kind | | Set Color (Channel, Color) | One channel's color, any color (server only) | | Get Color (Channel) | The color a channel has now | | Apply Preset (Preset Index) | Every channel's color from a preset (server only) | | Get Preset Index | The preset whose colors the mount has now, or -1 when they were changed one by one | | Set Gear (Slot, Option Index) | Puts an option in a slot (server only): its index in the slot's Options, -1 to take the piece off | | Get Gear (Slot) | The option in a slot, -1 for none | | Get Gear Name (Slot) | The name of the option in a slot, None while it is empty | | Get Gear Component (Slot) | The piece shown in a slot now, to attach your own things to (reins to the bridle). None while the slot is empty | | Randomize (Seed, Randomize Gear) | A preset and gear picked by a seed (server only): the same seed gives the same mount, for herds and spawners | | Get Gear Speed Scale | What the gear worn now does, together: the speeds' scale and the extra Max Health | | Get Gear Max Health Bonus | See the row above. | | Event | When | |---|---| | Can Change Look (By) | Whether a player's character may change this mount's look, asked on the server when its Rider Component calls Request Mount Look. As it comes: whoever rides it, or anyone within the mount's Mount Range while nobody rides. Override it for your own rule (the owner only, at a stable, for a price) | | On Look Changed | The look changed, on every machine (and once at the start of play) | ### MTC Mount Anim Instance A parent for your mount's Animation Blueprint: everything the mount's animation reads, filled each frame, so the graph needs no code and no casting. Reparent your Animation Blueprint to it (Class Settings, Parent Class) and use the variables under Mountcraft: Speed into a blend space, Gait for a state machine, the flight's pitch and bank on the body, the ground IK's offsets into your leg IK | Setting | Type | Default | What it does | |---|---|---|---| | Mount | AMTCMount | read only | The mount this animates, none in the editor's preview | | Speed | float | read only | Speed over the ground and up or down, cm/s | | Vertical Speed | float | read only | See the row above. | | Speed Ratio | float | read only | The speed against the gallop's, 0 to 1 and over when something pushes it faster | | Gait | EMTCGait | read only | The gait it moves at now (the one asked for, or slower when it is out of stamina) | | Turn Rate | float | read only | How fast it turns, degrees a second, to the right positive, eased: for leaning into a turn and for stepping round when it turns standing still | | Moving | bool | read only | See the row above. | | In Air | bool | read only | In a jump or a fall, not flying | | Flying | bool | read only | See the row above. | | Wing Flying | bool | read only | Flying on its wings (fast enough to glide), not hovering | | Flight Pitch | float | read only | Flying, the body's pitch along its path (nose up positive) and its bank into the turn (right wing down positive), degrees, eased. 0 on the ground | | Flight Bank | float | read only | See the row above. | | Has Rider | bool | read only | See the row above. | | Dead | bool | read only | See the row above. | | Stamina Ratio | float | read only | Stamina left, 0 to 1, and whether it ran out and has not recovered yet: a tired head, heavy breathing | | Exhausted | bool | read only | See the row above. | | Has Ground IK | bool | read only | From the mount's Ground IK Component, when it has one: the body's pitch, roll and drop to follow the ground, and how far each leg's IK still moves its foot, cm (front left, front right, back left, back right) | | Body Pitch | float | read only | See the row above. | | Body Roll | float | read only | See the row above. | | Body Drop | float | read only | See the row above. | | Front Left Foot Offset | float | read only | See the row above. | | Front Right Foot Offset | float | read only | See the row above. | | Back Left Foot Offset | float | read only | See the row above. | | Back Right Foot Offset | float | read only | See the row above. | | Ease Speed | float | 6 | How fast the pitch, the bank and the turn rate follow, per second | | Max Flight Pitch | float | 40 | The most the body pitches flying, degrees | ### MTC Ground IK Component Feet on uneven ground for a four legged mount: traces the ground under each foot every frame and gives how far each one should rise or drop, and how the body should pitch and roll to follow the slope. It only measures; the mount's Animation Blueprint applies it (a Two Bone IK per leg and a Transform (Modify) Bone on the body, see the docs). The example horse's animation applies it in C++. Runs where the mount is seen, not on a dedicated server | Setting | Type | Default | What it does | |---|---|---|---| | Foot Bones | array of FName | | The bone at the bottom of each foot, in this order: front left, front right, back left, back right | | Trace Above | float | 50 | How far above and below the bottom of the capsule the ground is looked for under each foot, cm | | Trace Below | float | 60 | See the row above. | | Follow Speed | float | 12 | How fast the feet and body follow a change of ground, per second (higher is snappier) | | Max Body Pitch | float | 20 | The most the body pitches up or down a slope, and rolls across one, degrees | | Max Body Roll | float | 8 | See the row above. | | Foot Offsets | array of float | read only | How high the ground under each foot is against the ground under the capsule, cm, in FootBones' order | | Body Pitch | float | read only | The body's pitch (nose up positive) and roll (right side down positive) that follow the ground, degrees | | Body Roll | float | read only | See the row above. | | Body Drop | float | read only | How far the body goes down so the foot on the lowest ground still reaches it, cm (0 or less) | | Leg Offsets | array of float | read only | Each foot's offset with the body's pitch, roll and drop taken out: what its leg's IK still has to do, cm | ### MTC Mounted Combat Interface Put it on the rider's character to fight from the saddle with your own combat: the mount's attack and aim keys come here (left and right mouse, the gamepad's triggers). Called on the rider's own machine, as your input is on foot: send it to your server the way your combat already does. The Rider Component's On Mounted Attack and On Mounted Aim events get the same calls, for a combat that lives in a component | Event | When | |---|---| | Mounted Attack (Mount) | The attack key, pressed while riding | | Mounted Aim (Mount, Aiming) | The aim key, pressed (true) or let go (false) while riding | ## Troubleshooting What to check when something looks wrong. Most of these happened to us while building the example. ### Getting on and off **E does nothing.** - The character needs an **MTC Rider Component**, and the mount has to be within its own **Mount Range** (250 cm, measured from the mount's center). A long mount with a small range can only be reached from its middle. - The key is bound when the character is possessed. If you turned **Bind Mount Input** off, call **Toggle Mount** from your own action. - If your own mapping context also uses E at a higher priority, yours takes the key. Raise the Rider Component's **Rider Mapping Priority** or change one of the keys. - The mount is dead, or every seat is taken. **The rider gets on but cannot get off.** - The mount moves faster than **Max Dismount Speed** (150 cm/s): it slows down first, which takes a moment at a gallop. - There is no room: the server looks for a free spot left, right and behind, with ground under it down to **Max Dismount Drop** (150 cm). In a corridor as wide as the mount there is none. **Body Half Length** has to reach the tail for the spot behind to be clear of the body. - Flying: nobody gets off in the air. The key lands first. **The rider's legs bend or drag into the mount while getting on, or hang stiff while riding.** Your character's foot IK is reaching for the floor. Turn it off while mounted with **Should Use Foot IK**: [Using your own character](#using-your-own-character), Foot IK. **The rider slides over the back, or floats above it.** - Set **Seat Bone** to the bone the skin under the saddle follows most. A neighbouring bone makes the rider drift with every stride. - The **Seat** goes about 10 cm over the back, and it is in the mesh's own units: on a mesh scaled to 0.4, move it 2.5 units for each cm. **The rider stretches through the mount while climbing on.** The montage was made for another distance. Set **Transition Ground Distance** to how far beside the seat the montage starts, and **Transition Facing Yaw** to how the rider faces the mount in it (90 for facing its side). **Getting on plays no animation.** The four montages are empty, or your Animation Blueprint has no **DefaultSlot** over the whole body (or the name in **Riding Slot**). Without a montage the rider swings on along an arc in **Mount Duration**. ### Riding **The mount does not move.** - Its movement component has to be the plugin's: a Blueprint child of **MTC Mount** has it. A Character you reparented keeps its old movement component only if the Blueprint was made before the reparent: check that Character Movement's class reads MTC Mount Movement Component. - The gaits' speeds are 0, or **Speed Scale** was set to 0. **It will not gallop.** It is out of stamina and has not recovered to **Exhausted Until** (30) yet. Set **Max Stamina** to 0 to turn stamina off. **It turns too slowly, or too fast.** Each gait has its own turn rate on the movement component, in degrees a second, slower at the faster gaits. **Turn Around Speed Factor** slows the mount while the stick points behind it. **The camera turns but the mount does not.** That is how it works: the camera is free and the mount goes where the stick points. Flying on its wings is the exception, where the camera steers. **The mount walks in place when called.** Without a navmesh it comes in a straight line, so anything between it and the caller stops it. Add a Nav Mesh Bounds Volume to the level. ### Flying **It takes off but does not climb.** Hold jump: it noses up and flaps to **Fly Climb Speed**. At the walk gait it hovers and climbs straight up; faster, it climbs along its path and needs speed to do it. **It sinks no matter what.** It is slower than **Fly Stall Speed** (800 cm/s) and not flapping. Push the stick forward, or shift to a faster gait. **The body stays level in a dive or a turn.** The capsule always stays upright. Tilt the body in the Animation Blueprint, from **Flight Pitch** and **Flight Bank** of MTC Mount Anim Instance. **It will not land.** It lands on walkable ground only: a slope steeper than the movement component's Walkable Floor Angle is not ground to it. ### Multiplayer **It works alone and breaks with two players.** Almost always something set on the client only. Health, the look, who rides: change them on the server (the nodes marked server in the [Reference](#reference)) and they reach everyone. From a player's machine, go through a Server event of your own or the Rider Component's Request nodes. **The mount jerks on the rider's own machine.** Those are corrections: the server disagreed with the prediction. Something changes the movement on one side only. A speed set on the server and not on the rider's machine is the usual one: use **Speed Scale** on both, or gear through the Look Component, which does it for you. **A player who joins late sees the wrong coat.** The look was set on the client. Set it on the server with the Look Component's nodes: late joiners get it with the mount. **Stamina jumps back after a potion.** The stamina was changed on the server only. Use **Add Stamina**, which gives the same amount on the rider's machine. ### Looks and gear **A color channel changes nothing.** The material has no vector parameter with the channel's **Parameter Name**, or the slot name in **Material Slots** is not one of the mesh's (they are case sensitive: read them off the mesh's Material Slots list). **A piece of gear shows up far from the mount, or huge.** - Modeled sitting on the body: tick **Modeled On Body** on its slot, and export it without moving it, pivot at the mount's feet. - Modeled at the origin: leave it unticked and place it with the option's **Offset**. - The piece is attached to a bone, so it takes the mesh's scale. Model it at the mesh's own size. **Gear does not follow the body.** The slot's **Socket** is empty or not a bone of the mesh. A saddle goes on the bone the back's skin follows, the one you would use for Seat Bone. ### The example **The map is very slow, or the trees are missing.** The map's trees, rocks and plants are Nanite meshes. The project needs **Nanite** on and **DirectX 12 with Shader Model 6** (Project Settings, Platforms, Windows, Targeted RHIs, and Rendering). A new 5.x project has both. Without them every tree draws as a plain mesh. **The first seconds stutter.** Shaders compiling, the first time the map opens. It does not happen again. **The example's animations look simple.** They are placeholders, there to show where yours go: the mount's own in its Animation Blueprint, the rider's in the mount's montages and Riding Loops. ## Support Write to contato@tessaroapps.com with your engine version and, if you can, the log lines that start with `LogMountcraft`. We answer within 2 business days.