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.
- 🔍 Enemy & magic detection within a defined radius
- 🧿 Medallion toggles between enemy/magic sensing
- 🛠️ Blueprint–C++ hybrid logic using
AMedailon
andATheWitcher
classes - 🎯 Visual debug feedback (spheres)
- 🔊 Extendable for sound, particles, UI integration
- Unreal Engine 5 installed
- Windows or macOS system with UE5 support
- Basic understanding of Blueprints and/or C++
- Clone the repo:
git clone https://github.com/Yushikuni/TheWitcherMechanic.git
- Open the .uproject file in Unreal Engine 5
- Press Play to test the mechanic in the level
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)

Click to watch the demo on YouTube. *The Witcher Medallion in action, detecting an enemy.*
- Add detection for magical objects
- Integrate sound FX & particles
- Polish UI feedback (e.g. HUD icon)
- Add cooldown system for medallion pulses
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
The Unreal Engine dev community ❤️
Gameplay inspiration from The Witcher 1 & 3
Assets used under fair-use/educational license