Skip to content

Yushikuni/TheWitcherMechanic

Repository files navigation

🧿 The Witcher Mechanic

A dynamic Unreal Engine 5 mechanic inspired by The Witcher series, featuring a reactive medallion system that detects nearby magic and enemies in real time.

This system demonstrates gameplay programming using both Blueprints and C++ in Unreal Engine 5.


🎮 Features

  • 🔍 Enemy & magic detection within a defined radius
  • 🧿 Medallion toggles between enemy/magic sensing
  • 🛠️ Blueprint–C++ hybrid logic using AMedailon and ATheWitcher classes
  • 🎯 Visual debug feedback (spheres)
  • 🔊 Extendable for sound, particles, UI integration

🛠 Requirements

  • Unreal Engine 5 installed
  • Windows or macOS system with UE5 support
  • Basic understanding of Blueprints and/or C++

🚀 Installation

  1. Clone the repo:
git clone https://github.com/Yushikuni/TheWitcherMechanic.git
  1. Open the .uproject file in Unreal Engine 5
  2. Press Play to test the mechanic in the level

⌨️ Controls & Usage

Key Action
Y Toggle medallion detection mode (enemy ↔ magic)
Play Start detection system in the editor preview

To integrate the system into your project, reference:

  • AMedailon (detection logic)
  • ATheWitcher (player actor & interactions)

📸 Screenshots & Demo

Medallion Effect
Click to watch the demo on YouTube. *The Witcher Medallion in action, detecting an enemy.*


🔮 TODO

  • Add detection for magical objects
  • Integrate sound FX & particles
  • Polish UI feedback (e.g. HUD icon)
  • Add cooldown system for medallion pulses

🙋‍♀️ Author

Created by Květuše Husáková (Yushikuni) Feel free to fork, star ⭐, and use this mechanic in your own gameplay prototypes!

📬 Contact: huskvenimrah@gmail.com
💼 Portfolio: husakova-kvetuse-portfolio.firebaseapp.com

💡 Acknowledgements

The Unreal Engine dev community ❤️
Gameplay inspiration from The Witcher 1 & 3
Assets used under fair-use/educational license