Skip to content

Yushikuni/TheWitcherMechanic

Repository files navigation

The Witcher Mechanic

Project Description

This project showcases a dynamic game mechanic inspired by "The Witcher" series. It includes a reactive Witcher Medallion that detects nearby enemies or magic within the game environment. This mechanic is designed using Unreal Engine 5, demonstrating both Blueprints and C++ implementations.

Features

  • Detection of enemies within a certain radius.
  • Visual feedback (debug spheres) to indicate the detection range.
  • Integration with Unreal Engine 5’s physics and collision system.

Installation

To get started with this project:

  1. Ensure you have Unreal Engine 5 installed on your system. You can download it from the Epic Games Launcher.
  2. Clone the repository to your local machine: git clone https://github.com/Yushikuni/TheWitcherMechanic.git
  3. Open the project in Unreal Engine 5 by navigating to the project folder and opening the .uproject file.

Usage

  • The medallion can be triggered by pressing the "Y" key, which toggles its sensitivity settings between detecting enemies and detecting magical objects.
  • To integrate this mechanic into your own game, reference the AMedailon and ATheWitcher classes in your game scripts or blueprints.

Contributing

Contributions are welcome! Please fork the project, create a new branch for your contribution, and submit a pull request.

License

This project is licensed under the GNU General Public License v3.0. For more details, see the LICENSE file in the repository.

Contact

For any queries or discussions regarding the project, feel free to open an issue in the repository or contact me.

Acknowledgments

  • Special thanks to the Unreal Engine community for guidance and resources.
  • Hat tip to anyone who's code was used as inspiration.

TODO

  • Implement magic object detection.
  • Add sound and particle effects to the medallion's response.
  • Polish the user interface for the mechanic's feedback.

Screenshots and Demos

Medallion Effect
*The Witcher Medallion in action, detecting enemy.*


Feel free to fork, star, and contribute! Enjoy enhancing your game development skills with this Witcher-inspired mechanic.