春季创作者特卖开启!从即日起至4月18日,精选商品最低三折起。

Stoch: Random Loot Tables

Stoch offers optimized Loot Tables that can be easily modified in an editor and used to generate loot at runtime.

特价$24.99
$17.49登录购买
  • 支持的平台
  • 支持的引擎版本
    4.27, 5.0 - 5.3
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

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.

技术细节

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