Animal Controller
📥 Integrations📑 Changelog✅Social
  • 🤝Welcome to Malbers Animations Assets
  • 🌐Discover all my Assets
  • 💫What's New
  • 🌀Upcoming assets
  • 📋Changelog
  • ↗️Upcoming Changelog
  • 🛣️Road Map
  • ✍️End User Licence Agreement
  • 🌟Features
  • Improve Performance Tricks
  • 😓Know Limitations so far
  • 📥Downloads
  • QuickStart
    • 📖Guide to use All Malbers Assets with (AC)
    • 🔼Upgrade to URP
    • 🔼Upgrade to HDRP
    • 💔Common Issues
    • 🔔Tips and Tricks
  • Guides and Tutorials
  • 📺YouTube Tutorials
    • 📺Video Tutorials (On Queue)
  • 📱Mobile Setup Guide
    • Mobile Joystick
  • 🧐How to: Animal Controller
    • 🔹Play a Mode while Moving
    • 🔹Create and configure a new mode
    • 🔊Adding Sound Effects
    • 🔹Rebone Mesh Tutorial (Skin Mesh is Missing)
    • 🔹Add Movement with Non RootMotion Animations
    • 🔹Fetch a ball
    • 🔹Set up Timeline
    • 🔹Make Animal flee when see the animal Player
    • 🔹Animal Controller for Humanoids
    • Create a Shootable Weapon From Scratch
    • ⚔️How to Fix weapons offset and values (Bow, Pistol)
    • ✨Add a Effect to the Effect Manager
    • 🕹️Connect Inputs to the Controller
    • Modify the controller with a Stat
    • Use the Modify Stat Component
    • 📡Use a MEvent and MEvent Listeners
    • 💎Change from Faceted to Smooth poly art Animals
    • ⁉️Listen when an Mode starts or ends
  • 🐎How to: Horse Animset Pro
    • 🐴Call the Mount
    • 🤠Change Meshes for the Rider
    • 🏇Make any animal mountable
  • 🕺Strafing
  • Main Components
    • 🐺MAnimal Controller
      • General
        • Pivots
      • Speeds
      • 🔷States
        • 🕴️Idle
        • 🏃‍♂️Locomotion
        • 🌠Fall
        • 🤾‍♀️Basic Jump
        • 🤾‍♂️Root Motion Jump
        • 🐟Swim
        • 🐊UnderWater
        • 🧗‍♂️Climb
        • 🧗‍♂️Ledge Grab
        • 🦅Fly
        • 🪂Glide
        • 🧗Wall Run
        • 🧗Wall Run Vertical
        • ⛷️Slide
        • ☠️Death
        • ☠️Death Ragdoll
        • 🆕Creating a new State
      • 🟩Modes
        • 🟩Mode Behavior
        • 🟩Mode Sequence
      • 🅾️Stances
      • Advanced
      • Animal Modifiers
      • Events
      • Debug
      • Animal Animator Behaviors
      • Methods and Properties
    • 🎮Malbers Input & MInput
      • Methods and Properties
    • 🤖AI
      • AI Animal Control
      • MWayPoint
      • Wander Area
      • AI Target
      • Animal Brain
        • AI States
        • Tasks
          • General - Chance
          • General - Empty
          • General - Invoke Event
          • General - Send Message
          • General - Play Audio
          • General - Quick Align
          • General - Reaction
          • General - Set Look At Aim
          • General - Set Stat
          • General - Wait
          • Animal - Set Speed
          • Animal - Play Mode
          • Animal - Set/Play State
          • Animal - Set Stance
          • Animal - Set Strafe
          • Movement - Move Stop
          • Movement - Patrol
          • Movement - Set Destination
          • Movement - Set Target
          • Variables - Set Var Listener
          • Weapons - Weapon Tasks
        • Decisions
          • General - AND
          • General - Check Stat
          • General - Compare Stats
          • General - Look
          • General - OR
          • General - Is Task Done?
          • General - Wait
          • Movement - Has Arrived
          • Movement - Check Target
          • Animal - Check Mode
          • Animal - Check Stance
          • Animal - Check State
          • Variables - Check Scriptable Variable
          • Variables - Check Transform Var
          • Variables - Check Var Listener
          • Runtime Set - Is Target in Runtime Set
      • 📌Point Click
    • 🧨Reactions
    • 📶Combo Manager
    • ⚔️Weapon Manager
      • 🛡️MWeapon [General] Properties
      • 🛡️MWeapon [Damage] Properties
      • 🛡️MWeapon [IK] Properties
      • ⚔️MMelee
      • 🔫MShooteable
      • 🏹Bow
    • 〰️Path Constraint
      • 〰️MPath
      • 〰️Path Link (Straight)
      • 〰️Path Link (Cinemachine Path)
      • 〰️Path Creator(Sebastian Lague)
    • Speed Ground Changer
  • Scriptable Architecture
    • 💠Scriptables
      • 🔹Bool Var
      • 🔹Int Var
      • 🔹Float Var
      • 🔹String Var
      • 🔹ValueToString
      • 🔢Variable Listeners & Comparers
      • 🔰IDs
      • 🎫Tags
      • 🪝Transform Hook
      • 📣MEvents
      • 📣MEvent Listener
      • 📦Runtime gameobjects
    • 🔤MLocal Variables
  • Secondary Components
    • ⚔️MDamager
      • 🐾MAttack Trigger
      • 🐾Attack Trigger Behavior
      • 🏉MProjectile
      • 🏹Projectile Thrower
      • 🤯MExplosion
    • 🤕MDamageable
    • 🧊Zones
      • Public Methods
    • ✊Pick Up - Drop
    • ✊Pickable
    • 🚩Respawner
    • 🚩Respawner NPC
    • 🚩Simple Respawner
    • 🏁CheckPoint
    • IK Manager
      • IK Processors
      • Weight Processors
  • Global Components
    • 🧡Stats
      • 🔸Stat Modifier
      • 🔸Modify Stat <Component>
      • 🔸Modify Stat <Asset>
      • 👨‍💻Public Methods
    • Animator Behaviours
      • Message Behaviour
      • Random Behaviour
      • Is Kinematic Behaviour
      • Sound Behaviour
      • Rigid Constraint Behaviour
    • 🟩Trigger Proxy
    • 🔌Interactable
    • ⚡Interactor
    • ⁉️Conditions
    • 🎥Free Look Camera
    • 🎥Cinemachine
    • UI
      • Unity Utils
  • Riding System (HAP)
    • Horse Animset Pro (HAP) Riding System
    • The Art of (HAP)
    • Mount
      • Methods and Properties
    • MRider
      • Methods and Properties
    • Mount Triggers
    • Mount Points
  • Utilities
    • Material Changer
    • Active Meshes
    • Effect Manager
    • Effect Behavior
    • Animator Event Sounds
    • Blend Shapes
      • Blend Shape Preset
    • Look At
    • 🏹Aim
    • 🎯Aim Target
    • 🎯Lock On Target
    • 🐾Steps Manager
    • 🐾Step Trigger
    • 🔗Mode Align
    • 🔗Aligner
    • Component Selector
    • MAnimalAnimatorSync
    • Multiple Time Checker
    • MAnimalAnimatorSync
  • Annex
    • 🗃️Integrations
      • General HAP Integration
      • Rewired
      • Invector Templates
        • Invector Weapon Settings
      • Animals Controller + Invector
      • Ootii's Motion Controller
      • Opsive Ultimate Character Controller (UCC 3.03)
      • Opsive Ultimate Character Controller (UCC 3.08) Generic
      • AStar Pathfinding
      • Unity Input System (NEW)
        • New Input Link [Old Versions]
      • Game Creator
      • Game Kit Controller
    • Contact
    • 🤔FAQ
    • Refund Policy
  • Games using Malbers Animations
  • Interfaces
    • IAITarget
    • IWayPoint
    • IAIControl
    • IAim
    • IAlign
    • IGravity
    • IInteractor
  • ULTIMATE SELECTOR
    • Overview
    • Selector Manager
    • Selector Editor
    • Selector Controller
    • Selector Item
    • Selector UI
    • Selector Data
    • Changelog (Selector)
  • 🎒Malbers Inventory Add-On
    • Overview
      • Compatibility Matrix
      • Roadmap
      • Update Notes
  • Updating from v1.1.1 to v1.2 Instructions
  • Basic Setup Instructions
    • Creating a new Item
      • Adding Buffs/Debuffs to Items
      • Setting up Item Reactions
      • Custom Rarities
    • Setting up Item/Inventory Types
    • Set up the Pick/Drop Component
    • Setting up the Notifications
    • Setting up the Item Info panel
  • Inventory Set
    • Events
  • Inventory Master
  • Notification Manager
    • Notification Child
    • Events
  • Save/Load System
  • Item Spawner
  • Storage Chests
    • Chest Inventory
    • Chest Inventory UI
  • Using Armour
  • Shop System
    • Shop
    • Shop UI Manager
  • Cooking System
    • Create a new Recipe
  • UI Manager
  • Hotbar
Powered by GitBook
On this page
  • Asset Location
  • Install the Integration Package
  • Integration Steps
  • <Rider Component>
  • <UI>
  • <Link Script>
  • Sword and Shield Pack
  • Archery Pack
  • Camera Controller

Was this helpful?

  1. Annex
  2. Integrations

Ootii's Motion Controller

PreviousAnimals Controller + InvectorNextOpsive Ultimate Character Controller (UCC 3.03)

Last updated 2 years ago

Was this helpful?

Asset Location

| | |

Remember to have the packages on your project installed correctly

Install the Integration Package

2.- Install/Drop the unitypackage to your project.

You can test the Integrations Demo Scenes on the Integration Folder

Malbers Animations/Horse AnimSet Pro/Integrations/Ootii

Integration Steps

To create a new integration from scratch you need to do following steps..

These steps are also included for the Sword and Shield the Archery pack.

1.- Open any Scene with a Character already Set with the Motion Controller. For this example let's do it with the scene: demo_Attributes

2.- Drag to the opened scene the Horse Realistic Prefab. Find it using the Search Bar on the Project window

3.- Select the Character with the Motion Controller Component:

4.- Select the Animator Controller on the Animator Component. On the Project window duplicate it using Ctrl+D, and replace the old animator with the new one.

<Rider Component>

5.- Add the MRider script to your Character controller.

6.- Click the Button Add Mounted Layer

This will add a new Layer and new Parameters to the Animator Controller

In Case of Otti's MC the Actor Controller is in charge of moving the character .. so we need to disable it

<UI>

9.- Add the Mount UI prefab to any UI Canvas. Find it using the Search bar on the project window

The Mount UI notifies you when you can press the Mount and Dismount Inputs

10.- If you like you can also add to the UI canvas the Slider Stamina prefab and the Slider Health prefab to check the health and stamina of the horse.

11.- On the Actor Controller -> Collision group: Set the Animal as a collision Layer too.

<Link Script>

The Link script is the bridge between the Rider Component and Ootii's MC. Allows the Rider to communicate with the core Character Controller components. Disable features via code while the character is riding the animals and enabling them back when the character is back on foot

12.- Add the Invector HAP Link script to the Character.

13.- Set on the Ootii Camera parameter: the current Camera Controller on the Scene

Sword and Shield Pack

IMPORTANT:

In case of the Sword and Shield Pack.. on your character Controller change the Sword_01 for Sword_01_HAP

  • Select your Character

  • Go to the Basic Inventory Component and Select Items -> Sword and Find the Sword_01_HAP

This sword has already attached to it the MWeapon Component, which allows the Riding Combat System to recognize that it can use the sword while mounting.

1.- Add the Rider Combat Component

2.- Click Add Rider Combat Layers

This will add new Layers and new Parameters to the Animator Controller

3.- If you are using a Custom Input System you will need to connect:

  • bool RiderCombat.Aim() to your Aim Input.

  • RiderCombat.MainAttack() && RiderCombat.MainAttackReleased() to your MainAttack Input.

  • RiderCombat.SecondAttack() && RiderCombat.SecondAttackReleased() to your SecondaryAttack Input.

3.- Create the Combat Event Listeners by using the Context menu "Create Event Listeners".

4.- Disable Exit on Dismount. (This Option makes the rider to store the weapons if he dismount the animal)

5.- On the Abilities group, add a new Ability and use Rider Melee Combat

This allows the Rider to use the melee Animations for the melee weapons while is riding

6.- For the controller with the Inventory… make sure you have activated Inventory and Already Instantiated on the Holder/Inv Section.

Archery Pack

(...)

Camera Controller

1.- Go to the Integration folder and download the Camera Controller UnityPackage..

2.- Import it to your project

This prefab has all the necessary Camera States in order to work with HAP, but you can add your own if needed

3.- Drag the Prefab the Camera controller prefab to your scene and remove the Old Camera Rig

4.- Replace on the Link Script the camera rig with the Camera Controller Rig

And that should be it. :)

1.- Download from the the package HAP (4.0.5) Ootii Motion Controller (2.805)

7.- If you are using a "Custom Input System" you'll need to connect to your Mount Input, and to your Dismount Input. If you want to continue using my Malbers Input then use the Context Menu Create Mount Inputs.

This will create a component with 3 Inputs for the Rider (Mount, Dismount and Call Mount); and connect the events of the inputs to the proper methods.

You can change the Type from Key to Input and add those Inputs to the

8.- Create the by using the Context menu "Create Event Listeners".

This will automatically add the component with the Events needed for the Rider to communicate with external scripts in a non-dependant way.

9.- On add the scripts that interfere with the logic while riding. (Usually is used for scripts that are not supposed to be active while the character is Riding. Like scripts that move and rotate the character, Ragdoll scripts, etc. Also are used to disable Inputs that are only supposed to be active when the character is not riding: Ex: a Crouch Input).

Please follow first the on how to Install the Mixamo Animations for the Sword @ Shield pack . Then come back here:)

If you want to continue using then use the Context Menu "Create Combat Inputs".

This automatically add to the Script the Inputs needed for the Rider Combat and connect the inputs events to the proper methods.

You can change the Type from Key to Input and add those Inputs to the

This will automatically add the component with the Events needed for the Rider Combat system to communicate/listen to external scripts in a non-dependant way.

Now the Controller should be able to use melee weapons while riding the horse.

🗃️
😁
Integration Drive Folder
MInput
Unity Input Manager.
Event Listener
MEvent Listener
Quick Guide
Malbers Input
MInput
Unity Input Manager.
MEventListener
Motion Controller
Sword Pack
Archery Pack
Camera Ctrl
Disable Components
This will avoid overwriting the Animator with new updates
MRider.MountAnimal()
MRider.DismountAnimal()