Survival Horror Pro TPS-FPS Template
Full survival horror: player controller, enemy AI with patrol),weapons (pistol + shotgun), ammo (bullets & shells-PickUp),reload, flashlight, health-Medkit systems.26 Animator states(player & enemy)
by YazanDev
Price History +
🔗 WATCH REAL CHARACTER DEMO
See this system working with Demo character on UTube:
Video link
console logs show exactly how the system works."
A complete ready‑to‑use Survival Horror template for Unity. Build your own horror game fast with smooth movement, Two weapons (pistol & shotgun), intelligent enemy AI with patrol, flashlight, health, and medkit systems.
The demo uses capsules and cubes – replace them with your own characters and models. Simply delete the Cube Player and make your character a child of the Player object (same for enemy).
✅ FEATURES
🏃 PLAYER MOVEMENT
- Full movement: Idle, Walk, Run, Walk Backward (with or without weapon)
- WASD + Mouse‑look with adjustable sensitivity and vertical limits
- Camera Pivot System – camera follows player smoothly
- Investigation Camera (when no weapon equipped)
- Easily convert to FPS – parent camera to head position, disable player model
- Animator Controller included with all states:
- You provide your own animation clips: Aim / Reload / Take Damage / Die / Idle / Walk / Run / Backward (with and without gun) (20 Animator states – picture in media)
🔫WEAPON System
PISTOL SYSTEM
Pick up pistol from ground (Press E)
- Equip / Unequip pistol (Press 1)
- Shoot in ANY state while holding weapon (Left Mouse after aiming)
- Ammo System: Bullets+ reserve ammo – reload with R
- Pick up ammo to increase reserve (Press E)
- Adjustable in Inspector: bullet force, fire rate, max bullets, etc.
- Bullet Impact Effect – The bullet has a "Hit Effect" slot. Drag your own particle system (blood, sparks, dust) to create impact effects.
- Bullet Size – The bullet looks big in the demo for clarity. Just scale it down in the Inspector for your game.
🧨 SHOTGUN SYSTEM
- Pick up shotgun from ground (Press E)
- ammo type: shells
- Fires multiple pellets with configurable spread angle and pellet count
- Distance‑based damage – at close range, most pellets hit the enemy, dealing heavy damage. At longer range, fewer pellets hit, dealing lighter damage. This makes the shotgun effective at close quarters, just like in real survival horror games.
- Equip / Unequip shotgun (Press 2) – separate from pistol
- Switch between weapons using mouse wheel or number keys (1 / 2)
- Adjustable in Inspector: shotgun fire rate, pellet count, spread angle, shell capacity,
- Reload with R – uses shells from reserve
- Shotgun sound, empty sound, and reload sound slots (assign your own)
🔦 FLASHLIGHT SYSTEM
- Pick up flashlight from ground (Press E)
- Toggle On/Off (Press F)
- On/off sound slots (assign your own)
- Attach to chest, hand, or shoulder – works independently from weapons
👾 ENEMY AI SYSTEM
- Detects player → Chases → Attacks
- Patrol System – Assign waypoints in the Inspector. Enemy will patrol between them when idle.
- Patrol Toggle – Enable/disable patrol per enemy directly in the Inspector
- Patrol speed / Waypoint distanceAttack damage / Cooldown / Death delay fully configurable in Inspector:
Detection range / Chase speed / Attack range - Visual Feedback – Hit animation + sound, death animation + sound
- Enemy Animator Controller included: Idle, Walk/Run, Attack, Take Damage, Die
- Debug logs (cyan) show state changes: Patrol, Chase, Attack – helps you understand AI behavior
👾 ENEMY AI – One Code, Endless Enemies
You can create different enemy types using the same AI system – no extra coding. Just adjust values in the Inspector:
- Make enemies that detect you from far away or only when close
- Create weak enemies that die fast, or tough monsters that take many hits
- Some can chase quickly, others move slow
- Make zombies, monsters, bosses, or guards
- Toggle patrol to have wandering enemies or static guards
All from one script. Just tweak numbers and you have endless variety.
Note: Your scene ground must be baked with Unity's NavMesh so enemies can navigate, chase, and attack.
❤️ HEALTH & MEDKIT SYSTEM
Player Health
- Take damage, hurt animation, hurt sound
- Death screen, death animation, death sound
- Medkit Pickups – Walk over medkit , press H to heal (direct use).
- Heal amount adjustable per medkit (create different healing items)
Enemy Health
- Takes damage from bullets or shells , reacts with hit animation/sound, dies with death animation/sound
📦 PICKUP SYSTEM (Press E)
- Pistol Pickup
- Shotgun Pickup
- Ammo Pickup (bullets)
- Shell Pickup (shotgun shells)
- Flashlight Pickup
- Medkit Heal(H)
🔊 SOUND SYSTEM
- Audio Sources are ready – just create them on Player and Enemy, then drag your own sounds
- You shoot, reload, or click on empty (pistol & shotgun)
- The player takes damage or dies
- You toggle the flashlight on/off
- The enemy idles, chases, attacks, gets hurt, or dies
- Sound files are NOT included – you bring your own
⚙️ CUSTOMIZATION
- Heal amounts on medkitsEverything is adjustable in the Inspector – no coding needed:
Movement speeds
Enemy detection range, attack damage, cooldown, patrol toggle, waypoints
Bullet force, Bullet Size ,fire rate, ammo counts, shotgun spread, pellet count, shell capacity
❌ NOT INCLUDED (You Provide)
- Characters models
- Animations
- Sound files
- 3D models
✅ WORKS WITH
- Old & New Input System
- URP / HDRP (update materials if needed)
🎯 PERFECT FOR
- FPS / TPS horror prototypes
- Survival game foundations
- Learning how complete systems work together
- Adding combat + health + AI to any project
Made by YazanDev