Versatile Third-Person-Advanced-Locomotion

Overview

Versatile Third-Person-Advanced-Locomotion is a comprehensive third-person character system developed for Unity.

It provides a robust and flexible framework for a variety of character movements and interactions, making it an ideal foundation for third-person games.

Features

Versatile Character Movements:

  • Walking
  • Jogging
  • Sprinting
  • Crouching
  • Crawling
  • Taking cover
  • Climbing
  • Parkour actions
  • Rolling
  • Interacting
  • Health and stamina management
  • Dying
  • IK for both hand and foot placement
  • Dynamic Camera System: The system incorporates two virtual cameras - a standard camera and an aim camera, providing diverse perspectives for gameplay.
  • Interactive Environment: Characters can interact with various elements in the environment such as doors and elevators, enhancing the immersive experience.
  • Stamina and Health Systems: Characters have a stamina system that depletes with prolonged activity and recharges during rest.
    The health system is designed to decrease when the character jumps from significant heights, with the damage proportional to the jump height.
  • Interfaces: The system includes predefined interfaces for interactable objects, health, and stamina, providing a structured approach to character interactions.
  • Animation Rigging: The system leverages animation rigging for more realistic and fluid interactions with doors and elevators.
  • Input System: The system uses Unity's new Input System for handling player input, providing a more efficient and flexible input management solution.
  • Character States: The system includes various character states such as idle, walk, run, sprint, crouch, prone, climb, vault, roll, cover, and parkour, allowing for seamless transitions between different character actions.
  • Cover System: The system includes a cover system that allows characters to take cover behind objects, peek around corners, and transition smoothly between cover and combat states.
  • IK System: The system includes an Inverse Kinematics (IK) system for hand and foot placement, enhancing the character's interactions with the environment.
  • Climb System: The system includes a climbing system that allows characters to climb ladders, walls, and other vertical surfaces, providing more dynamic movement options.
  • Parkour System: The system includes a parkour system that allows characters to perform parkour actions such as jumping over different obstacles with different values, adding more depth and variety to character movements.
  • Dynamic Collider System: The system adapts the player's collider properties in real-time, ensuring optimal interaction with the environment. This system enhances realism and responsiveness, particularly in dynamically changing environments such as uneven terrains and varying slopes.

Importing and Setting Up Animations

This system is designed to work with your animations. You will need to import and set up your animations to work with the various character states provided by the system.

Here's a general guide on how to do this:

  1. Import your animation into your Unity project.
  2. In the Animator Controller for the player, create a new state for each animation.
  3. Set up the transition conditions to and from each state.
  4. In the corresponding script for each state (e.g., PlayerClimbState, PlayerCoverState, PlayerParkourState, PlayerRollState), assign your animation to the appropriate variable.

Please note that each animation should be set up to work with the variables in the corresponding state script.

These variables control the speed, duration, and other aspects of the animation, and can be adjusted to customize the behavior.For more detailed instructions and information about the system, please refer to the full documentation.

Dependencies

This project relies on the following Unity packages and components:

Unity Packages:

  1. Cinemachine: For the dynamic camera system.
  2. Animation Rigging: For enhanced character animations.
  3. Input System: For using the new input system.
  4. Third-Person Starter Asset: For the character in the demo scene.

Unity Components:

  1. Animator: To control the character's animations.
  2. IK: To control the character's Inverse Kinematics.
  3. CapsuleCollider: To handle the character's collisions.
  4. Rigidbody: To apply physics to the character.
  5. InputActionManager: To handle the character's input using the new Input system.

Scripts:

  1. CharacterConfig: This is the main script that holds all the other scripts.
    It's used for adjusting the values of various game elements like movement, vaulting, rolling, and the capsule collider, cover, etc.
  2. InputActionManager: Manages player input.
  3. CameraSystemManager: Manages the camera system.
  4. PlayerController: Processes the inputs and the transitions between player states.
  5. PlayerHealth: Manages the player's health.
  6. PlayerStamina: Manages the player's stamina.
  7. PlayerBaseIKSystem: Manages the player's Inverse Kinematics.
  8. PlayerHandIKSystem: Manages the player's hand placement.
  9. PlayerFootIKSystem: Manages the player's foot placement.
  10. InteractableBaseSystem: Manages interactions with interactable objects.
  11. CoverObject: Handles interactions with cover objects.
  12. ClimbObject: Handles interactions with climbable objects.
  13. ParkourObject: Handles interactions with parkour elements.
  14. Door: Handles interactions with doors.
  15. Elevator: Handles interactions with elevators.
  16. Other scripts: These include scripts for different character states (e.g., PlayerCoverStatePlayerClimbState).
    Each script controls a specific aspect of the character's behavior.

Please ensure you have these dependencies installed and assigned in the Unity editor before using the Versatile Character Controller.

Installation

To install the Versatile Third-Person-Advanced-Locomotion Controller, follow these steps:

  1. Purchase and download the project from the Unity Asset Store.
  2. Open Unity and import the project.
  3. Ensure you have the required dependencies installed: Cinemachine and Animation Rigging.

Usage

Here's a basic example of how to use Versatile Character Controller:

  1. Add the character to your scene.
  2. Configure the character's movements and interactions as needed.
  3. Play the scene to see the character in action.

For more detailed instructions and examples, please refer to the included documentation.

Support

For general inquiries, contact us at [info@truetacticalstudio.com].If you have any questions or issues with the Versatile Third-Person-Advanced-Locomotion Controller, contact us at [support@truetacticalstudio.com].

We're always happy to help!

License

This project is available for purchase on the Unity Asset Store.

By purchasing this product, you are granted a license to use the system in your projects.

Please refer to the Unity Asset Store terms and conditions for more information.