Procedural Loot Spawner & Complete Collectible and Rarity System
Despair
$13.75
$27.50
50%OFF
(no ratings)
Jump AssetStore
A complete procedural loot spawner with a rarity system. Supports trigger (walk-over) and raycast (press key) pickups. Includes a built-in UI system for counters, sliders, and popups. Easy setup!⚡ Supercharge your game with the Procedural Loot Spawner System! The ultimate all-in-one manager for procedural spawning, smart collection, and automated UI.This is a complete framework that handles everything:🎲 Advanced Rarity Engine: Build loot tables with rarity (Common, Rare, Legendary), or override with specific counts & percentages.📦 Smart Procedural Spawning: Intelligently place items in Volumes or Predefined Areas, automatically finding the ground and avoiding clumping.📊 Automated UI: Automatically fill Progress Sliders, update Counters ("5/10 Gems"), or show Timed Popups, all driven by the system.👟 Dual Pickup Methods: Supports both Trigger (walk-over) and Raycast (press-to-interact) collection.Supported Render Pipelines:✅ Standard / Built-in✅ Universal Render Pipeline (URP)✅ High-Definition Render Pipeline (HDRP)For a list of features, see Technical Details🧠 Central Loot System (Manager)Manage all loot, spawning, and UI from a single, powerful UnifiedLootSystem component.Singleton pattern (Instance) ensures easy access from any script.🎲 Advanced Rarity & Loot Table EngineCreate detailed loot tables linking prefabs to UI actions.Weighted Rarity: Assign weights for Common, Rare, and Legendary items for procedural spawning.🎯 Spawn Overrides:Count Override: Force a specific number of an item to spawn (e.g., "Spawn exactly 3 quest items").Percentage Override: Force a specific spawn chance for an item, bypassing the rarity weights (e.g., "This item has a 50% chance to be chosen").📦 Powerful Procedural SpawningDual Spawn Methods:Volume: Spawn items randomly within a defined 3D box.Predefined Areas: Spawn items within a radius around a list of Transforms.Smart Placement: Automatically raycasts to find the ground (groundLayer).Minimum Distance: Enforces a minimum distance between items to prevent clumping.Slope Handling: Prevents items from spawning on surfaces that are too steep.📊 Multi-Functional UI ManagerCreate and manage multiple, independent UI popups, each with a unique ID.🔢 Counter System: Automatically track "Collected / Total" for any item type. Triggers a UnityEvent (onCountReached) when the goal is met.🎚️ Slider System: Fill a UI Slider by a set amount with each pickup. Triggers a UnityEvent (onSliderFull) when 100% is reached.🚫 Collection Lock: Automatically prevents players from collecting more items once a counter or slider is full.⏱️ Timed Popups: Show any UI panel for a set duration (popupDisplayTime) upon collection.👟 Dynamic Loot Item ComponentDual Pickup Methods:Trigger: Classic walk-over pickup for fast-paced collection.Raycast: "Press-to-collect" interaction for RPGs and adventure games.✨ Built-in Effects:Floating Animation: Items bob up and down and rotate (for Trigger items).Pickup Animation: A slick, curve-based vertical movement and material fade-out on collection.VFX: Auto-spawns a customizable particle effect on pickup.SFX: Play a pickup sound from a central AudioSource.Ground Alignment: Raycast items automatically align to the ground normal/slope.👁️ Player Interaction ModuleIncludes a ready-to-use UnifiedPlayerInteraction script for your player.Handles raycasting, key presses (pickupKey), and layer masks.Dynamic UI Prompts: Automatically shows/hides a TMP text prompt (interactionPrompt).Crosshair Feedback: Optionally changes your crosshair color when highlighting an interactable item.🔧 Clean Custom EditorsLogic-Driven Inspectors: All components feature custom editors that only show relevant settings.Example: If SpawnMethod is set to Volume, all PredefinedAreas settings are hidden, keeping your inspector clean.Example: UIPopupEntry only shows Slider settings if PopupType is AddToSlider.Easy List Management: Cleanly manage complex lists for UI Popups and Loot Table Entries.