Ends Today: Save up to 95% on the Time Travel Mega Bundle!

Documentation

Example Projects

Support


Stoch offers comprehensive loot tables for generating random loot. You may define your templates using a convenient asset editor that points at data table rows. When your template is complete, spawn it directly or modify it at runtime for your desired loot tables. Generate loot from these tables to obtain the Data Table rows which were originally referenced. You can use loot tables for nearly anything which must be random: Items, Enchantments, Rarity, Spawning Random Actors, etc.


You can also change the Loot Tables at runtime:

  • Modify Weights: Want a boss’s loot to be more impactful? Increase chances for rare items by increasing their weights; weight changes are local to each Loot Table and don’t affect others.
  • Modify Counts: Want to limit the number of enchantments based on an item's rarity? Select which enchantments to modify and increase or decrease their counts.
  • Exclude Rows: Want to limit loot based on Item Level, Gameplay Tags, or any data in the table? Define your requirements in a blueprint and exclude any rows which don’t match.
  • Random Utilities: Want the random selection without using Loot Tables? All internal structs are fully accessible by blueprint. Stoch also includes various random utilities which improve on the engine's functions.


Loot Tables are implemented in C++ and heavily optimize the random selection process: perform hundreds of thousands of loot generations in milliseconds. Moreover, all of the functionality is accessible from Blueprints through an easy-to-use interface.


Important Note: This Plugin does not include an Item System. Items in the example project and gallery images are for demonstration purposes only. However, it can integrate with nearly any Item System.

Technical Details

Features:

  • Generate random loot.
  • Define weights (probabilities) directly in Loot Tables.
  • Limit max drop count for any row.
  • Modify drop chances at runtime based on data in the Data Table (Item Level, Gameplay Tags, etc.).
  • Filter rows from Loot Tables at runtime.
  • Integrates seamlessly with Item Systems.
  • Implemented in C++ for speed. Generate loot hundreds of thousands of times in milliseconds.
  • All key functionality is accessible by blueprint; No C++ knowledge is needed.
  • Highly generalized. Can also be used for randomly spawning enemies, randomly adding enchantments, and more!


Code Modules:

  • Stoch (Runtime)
  • StochEditor (Editor)


Number of Blueprints: 0

Number of C++ Classes: 11

Network Replicated: No (Not needed; see documentation)

Supported Development Platforms: Win64

Supported Target Build Platforms: Win64

The example project and gallery images use icons from https://opengameart.org/content/armor-icons-by-equipment-slot

MS
Miraganic Studios
All Assets by Author
24.43 
Platforms Windows 64-bit
UE Versions 4.27, 5.0 - 5.2
Tags DATA TABLE, RANDOM GENERATION, LOOT TABLE, BLUEPRINTS, RNG, LOOT, RPG, ACTION RPG, RPG LOOT, LOOT MODIFIER, ACTION RPG LOOT, RNG LOOT, LOOT AFFIXES, RANDOM, LOOTING
Release date 24.05.2022

Similar products

Image
Sign In
Image
Sign Up
Image
Recovery