← Back to all addons

Mount System

Posted by MrMystery on Jul 21, 2025 at 4:45 PM

GameplayFeature3.0 VerifiedDeprecated
🦄 5 ❄️ 1

Welcome to the Mount System for Mythril2d 3.0 and newer.

This system will let you summon mounts, call mounts over to you, ride mounts and setup many different customizable options. Is it perfect, no. Will it hopefully help you expedite your own mount system, absolutely. I would consider this a bare bones mount structure, with just enough to make it useful. Please watch the video for a full breakdown of the features, but here’s a summary as well:

Features:

  • Ride mounts - with temporary effect applied to rider - like speed boosts.
  • Dismount - on taking damage, on entering a building or with a button push - includes remount cooldown timer
  • Stay mounted while transitioning - if you teleport to a new scene while mounted - and the new scene allows riding, you will stay mounted
  • Block new summons while indoors
  • Destroy if you get too far from your mount
  • Summon from off the screen - so it looks like it runs over to you
  • Use abilities while mounted
  • Inspector controls to change mount position / offsets / collider sizes

Minimal edits required to OEM - which will be outlined in a separate post. Install with unity package - again will be in a separate post (likely tomorrow).

Scripts In Package: Mount.cs MountSheet.cs MountSummonAbility.cs MountSummonAbilitySheet.cs MountController.cs RiderController.cs MountPolyDirectionalAnimationStrategy.cs MountBiDirectionalAnimationStrategy.cs NoMountTeleporter.cs ToggleMount.cs

Prefabs/Scenes: Horse Pasture Scene Horse House Scene Mount Prefab SummonMount Prefab

Scriptable Objects: AB_SummonMount CS_Mount

Required changes to Mythril2D: InputSystem -> for dismount button

Please add this public getter to Movable.cs:

public IAnimationStrategy animationStrategy => m_animationStrategy;

Please add these two to public enum EAbilityFireCheckResult

public enum EAbilityFireCheckResult
{
    Valid,
    OnCooldown,
    NotEnoughMana,
    Incapacitated,
    Unknown,
    AlreadyMounted,
    NotIndoors
}

This will clean up the two errors from installing the package. Next we need to hook-up the messages and dismount button.

In the HUD prefab, change the messages system to include the newly added FireCheckResults - image attached for reference.

If you want a button to dismount the player, In the InputSystem.cs: Add a GameplayActions

public InputAction dismount;

Then lower down add to SetupGameplayActions():

dismount = actions.FindAction("Dismount")

Lastly you will need to add the button/action to your player inputs, see image as reference.

I lied… one more thing - pick which character you are using, i.e., your Player - like Devon - and change the prefab to Rider Controller + MountBiDirectional (or Poly depending on use) - these both are subclasses of the Player Controller and BidirectionalAnimationStrategy - so they will have any changes you’ve made - but extend a few extras. See image as example.

I lied agian - don’t forget to add the 2 demo scenes to the Build Settings… otherwise, you’ll get errors when you enter them - also - I’m not sure why the ground turned pink on the Horse Pasture - just re-draw it if it bugs you 😉 Hopefully this is the last update!

💬 Comments (10)

BellBlitzKing Jul 21, 2025 at 05:47 PM
WOOHOO! 🎠 🏇 🐎 🦄
❤️ 1
Gyvr Jul 21, 2025 at 06:02 PM
This is so amazing!!!
❤️ 1
Gyvr Jul 21, 2025 at 06:02 PM
These videos are definitely YouTube material!
MrMystery Jul 21, 2025 at 07:21 PM
Example messages for HUD:
💡 2
MrMystery Jul 21, 2025 at 07:22 PM
Example PlayerInput Mapping for Dismount:
MrMystery Jul 21, 2025 at 07:39 PM
Changes to Player Prefab (Devon):
MrMystery Jul 21, 2025 at 07:57 PM
The PACKAGE: I did repackage it - because the map somehow turned pink… not sure why, and I made some last minute changes to reduce the amount of edits to base Mythril - I did not feel like reinstalling a fresh Mythril just to load it again - so hopefully I didn’t miss anything!
partyparrot 2
Zuko Nov 03, 2025 at 04:17 PM
this still works?
MrMystery Nov 05, 2025 at 04:44 AM
Should still work - it was a favor to BellBlitz - and he hasn’t mentioned it doesn’t work 😉
BellBlitzKing Nov 10, 2025 at 02:49 AM
@MrMystery yea you seemed to make it future-proof 🙂. Works on a Vanilla install in my 6.02 Unity

Want to continue the conversation?