Velarion: 전체 콘텐츠 50% 할인

Stoch: Random Loot Tables

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

  • 지원 플랫폼
  • 지원 엔진 버전
    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