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)🔗 WATCH REAL CHARACTER DEMOSee this system working with Demo character on UTube:Video linkhttps://youtu.be/YRIF2WNyLWgconsole 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 MOVEMENTFull movement: Idle, Walk, Run, Walk Backward (with or without weapon)WASD + Mouse‑look with adjustable sensitivity and vertical limitsCamera Pivot System – camera follows player smoothlyInvestigation Camera (when no weapon equipped)Easily convert to FPS – parent camera to head position, disable player modelAnimator 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 SystemPISTOL SYSTEMPick 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 RPick 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 SYSTEMPick up shotgun from ground (Press E)ammo type: shellsFires multiple pellets with configurable spread angle and pellet countDistance‑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 pistolSwitch 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 reserveShotgun sound, empty sound, and reload sound slots (assign your own)🔦 FLASHLIGHT SYSTEMPick 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 SYSTEMDetects player → Chases → AttacksPatrol System – Assign waypoints in the Inspector. Enemy will patrol between them when idle.Patrol Toggle – Enable/disable patrol per enemy directly in the InspectorPatrol speed / Waypoint distanceAttack damage / Cooldown / Death delay fully configurable in Inspector:Detection range / Chase speed / Attack rangeVisual Feedback – Hit animation + sound, death animation + soundEnemy Animator Controller included: Idle, Walk/Run, Attack, Take Damage, DieDebug logs (cyan) show state changes: Patrol, Chase, Attack – helps you understand AI behavior👾 ENEMY AI – One Code, Endless EnemiesYou 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 closeCreate weak enemies that die fast, or tough monsters that take many hitsSome can chase quickly, others move slowMake zombies, monsters, bosses, or guardsToggle patrol to have wandering enemies or static guardsAll 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 SYSTEMPlayer HealthTake damage, hurt animation, hurt soundDeath screen, death animation, death soundMedkit Pickups – Walk over medkit , press H to heal (direct use).Heal amount adjustable per medkit (create different healing items)Enemy HealthTakes damage from bullets or shells , reacts with hit animation/sound, dies with death animation/sound📦 PICKUP SYSTEM (Press E)Pistol PickupShotgun PickupAmmo Pickup (bullets)Shell Pickup (shotgun shells)Flashlight PickupMedkit Heal(H)🔊 SOUND SYSTEMAudio Sources are ready – just create them on Player and Enemy, then drag your own soundsYou shoot, reload, or click on empty (pistol & shotgun)The player takes damage or diesYou toggle the flashlight on/offThe enemy idles, chases, attacks, gets hurt, or diesSound files are NOT included – you bring your own⚙️ CUSTOMIZATIONHeal amounts on medkitsEverything is adjustable in the Inspector – no coding needed:Movement speedsEnemy detection range, attack damage, cooldown, patrol toggle, waypointsBullet force, Bullet Size ,fire rate, ammo counts, shotgun spread, pellet count, shell capacity❌ NOT INCLUDED (You Provide)Characters modelsAnimationsSound files3D models✅ WORKS WITHOld & New Input SystemURP / HDRP (update materials if needed)🎯 PERFECT FORFPS / TPS horror prototypesSurvival game foundationsLearning how complete systems work togetherAdding combat + health + AI to any projectMade by YazanDevInput System: Both (Old & New)For HDRP users:The included flashlight is set up for URP. In HDRP:Create a new Spot Light (HDRP compatible)Name it FlashlightMake it a child of the PlayerPosition it in the same place as the old flashlight (hand/chest)Drag it into the flashlightLight slot in PlayerFlashlightControllerThe toggle (F) and sounds will still workFor materials: Upgrade Materials. For Directional Light (if needed): Create a new Directional Light."Used AI as a coding assistant and for help with documentation and images – backgrounds only. All main visual elements (screenshots, text, logos) are original or manually created."




