Fair Feeling Loot

Skyler Clark - Code Plugins - Jun 15, 2021

Visual Loot Table Designer for Fair-Feeling Randomized Loot Drops in UE4

  • Supported Platforms
  • Supported Engine Versions
    4.24 - 4.27, 5.0 - 5.3
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

When your player kills a monster, what loot should you drop? How will you randomize it? This plugin provides a graph-based editor for creating Loot Table Definitions describing how your random drop logic should work, as well as what randomly rolled stats your loot should have. You can use this to craft a fun looting experience for your players.


Within your Loot Table Definition you can use multiple forms of random choice, including weighted choice, shuffle-bag, and negentropy. Loot Table Definitions also allow for dynamic weights, and offer parameters that can be used to drive logic and decisions within the Loot Table Definition’s graph. By utilizing different forms of random choice and smart usage of parameters, you can craft an experience for your players that feels random, but also feels fair.



Join my Discord Server or message me on twitter @sclark39 to ask questions and offer suggestions.

Technical Details

Features:

  • New Asset Type: Loot Table Definition (Graph based loot table)
  • New Actor Interface: Loot Source Interface (Add to your monster or treasure box actors so that they may specify which Loot Table Definition should be used)
  • New Actor Component: Loot Generation Component (holds loot generation state and uses Loot Table Definitions or actors implementing the Loot Source Interface to generate Loot Recipes)
  • Live Updating -- edit your Loot Table Definitions in real-time while running your game
  • Multiple types of random choice (Weighted Random, Shuffle-bag, Negentropy)
  • Multiple types of flow control within the Loot Table Definition (Sequence, Repeat, Test Parameter, Switch on Parameter)
  • Uses Gameplay Tags for Loot Type, Loot Tags, and Loot Stats
  • Nested Loot Table Definitions can be used to split up and reuse your Loot Table Definitions, to make it easier to maintain and organize them across a large game
  • Loot generation state is tracked uniquely per Loot Generation Component, which allows this system to be utilized in a singleplayer or multiplayer setting.


Code Modules:

  • Editor: Create and edit Loot Table Definitions
  • Run-time: Use Loot Table Definitions, Loot Generation Components, and Loot Source Interfaces to generate loot for your game


Supported Development Platforms: Win64, Win32, XboxOne, PS4, Switch

Supported Target Build Platforms: Win64, Win32, XboxOne, PS4, Switch

Documentation: GitHub