[v0.9.8 UPDATE] RNGNeeds - Probability Distribution

Introducing
RNGNeeds
Your Ultimate Companion for
Probability Distribution in Unity

Available on the Asset Store
v0.9.8 (Beta) - 30 September 2024
Documentation / Manual

RNGNeeds is a plugin that lets you effortlessly design and manage probability distribution for any value, type, or custom object directly within the Unity Inspector.

UPDATE - New Major Feature - Depletable Lists

Depletable Lists are a powerful feature that allows items to have limited availability. By setting the maximum and available units for each item, you can unlock a wide range of possibilities for your game mechanics. Depletable items can be utilized in various ways, such as ensuring unique selections for game rewards or managing multiple instances of the same item, like in card decks or loot tables.

Greetings!

We’re thrilled to introduce RNGNeeds, a Unity plugin born out of our love for games and the magic of randomness that makes them so engaging. We’ve poured our hearts into creating a tool that simplifies and enhances the way you handle random elements in your games.

:sparkles: Take control of your random item drops, monster spawns, card decks, dice rolls, damage modifiers, or even organic animations using probability distribution with unparalleled simplicity and ease-of-use.

:sparkles: Visually author probability distribution of your NPC behaviors, dialogue choices, random encounters, ambient sounds, or character voice responses in a fully-customizable Inspector Drawer.

:sparkles: Enhance your game mechanics with Probability Influence Provider - an innovative concept that brings dynamic probability adjustment based on external factors.

GENERIC & USER FRIENDLY

We’ve made RNGNeeds as intuitive as possible. You can use it with any value or reference type, and author probabilities visually with a simple drag, scroll, or direct input. You can disable items from selection while keeping them in the list, or lock probabilities to preserve odds when others are adjusted.

POWERFUL & ACCESSIBLE

All features are accessible via the Inspector and an easy-to-use API. If you’re feeling adventurous, you can extend the plugin by implementing your own Seed Providers or Selection Methods. In addition, we’ve optimized RNGNeeds for lightning-fast performance with burst-compiled versions of selection methods, allowing selections of millions of items in milliseconds.

DYNAMIC & ADAPTABLE

With RNGNeeds, you can modify probabilities based on external factors, avoid consecutive item selections with Repeat Prevention techniques, and choose from fixed or variable pick count options with bias control.

We’ve included a bunch of samples to help you get started. These include Dice Playground, Treasure Chest (loot tables), Random Unit Responses, Monster Spawner, Card Deck Builder, and Attack Manager. They’re a great way to see RNGNeeds in action and get inspired for your own projects.

:sparkles: PROBABILITY INFLUENCE :sparkles:

Do you need to raise the odds of a critical strike based on player stats? Or perhaps you want to increase the chance of spawning that elite monster when it’s close to midnight? Maybe you need to drop health potions more often in tutorial scenarios, or you’re considering making the battle more intense if the music volume is loud? Open up vast possibilities with the Probability Influence Provider, a novel workflow that allows you to adjust odds based on external factors.

:sparkles: ON THE ROADMAP :sparkles:

Weighted Distribution
Use weights to drive probabilities, seamlessly toggle between percentile and weighted distributions.

Dynamic Probability Modification
Utilize multiple Mod Providers for items to dynamically manage probability adjustments and multipliers. (ie. crit chance +1.5% and/or *0.95)

Card Deck Extensions
A collection of handy methods to treat lists like card decks. Draw from the top/bottom, add cards, peek, cut decks, deal hands, or shuffle.

Join our Discord community to share ideas, find guidance, and gain inspiration. We’re also working on a comprehensive Documentation / Manual to help you get the most out of RNGNeeds.

We created RNGNeeds because we believe in the power of randomness to create engaging, dynamic gameplay. We hope you’ll love using it as much as we loved creating it.

May the odds be in your favor!

RNGNeeds Samples
Documentation - Examples Overview

RNGNeeds comes with a variety of samples to help you get started and explore the many possibilities of the plugin. From dice simulations to modular loot tables, monster spawning to deck building, these samples provide a hands-on experience of RNGNeeds in action.

Dice Playground
Documentation Link

Explore the world of virtual dice rolling with RNGNeeds’ Dice Playground. This sample demonstrates how you can simulate various dice rolls and combinations, from simple 6-sided dice to complex biased rolls. Whether you’re looking to create a tabletop game or just want to experiment with probability, the Dice Playground offers a fun and interactive way to dive into the mechanics of randomness. This sample includes a deterministic dice roll simulation.

Random Audio
Documentation Link

Bring your game characters to life with RNGNeeds’ Random Audio sample. This example showcases how you can randomize unit responses, dialogue choices, and ambient sounds to create a more immersive and dynamic audio experience. From quirky character lines to rare responses, learn how to fine-tune your game’s auditory landscape with ease.

Monster Spawner
Documentation Link

Unleash the beasts with RNGNeeds’ Monster Spawner sample. Utilizing Probability Influence, this example dynamically controls the spawning of various monsters based on location and other factors. Whether you’re designing a horror game or a fantasy adventure, the Monster Spawner provides an inspiration how to dynamically alter odds in runtime.

Intermediate Samples
(Documentation - WIP)

The Deck Builder and Treasure Chest samples demonstrate how RNGNeeds can be used to create complex, modular systems. Whether you’re building a deck of cards or designing a loot table, these samples provide a solid foundation to build upon.

We’re always looking to expand our collection of samples and we’d love to hear from you.

What are your RNG needs?
Share your feedback or ideas on mechanics you’d like to see turned into samples. Thank you!

Roadmap Updates

  • Added Weighted Distribution to the roadmap

Thread Updates (Aug 07, 2023)
Added a post with RNGNeeds Samples with images, links to the documentation and short descriptions.

Mar 29, 2024
Updated images to reflect latest features and visuals. (v0.9.5)

Documentation Updates (Aug 05, 2023)
We’ve added pages documenting RNGNeeds samples, including Dice Playground, Random Audio, and Monster Spawner. Check out the overview of our samples at Examples Overview to get started with probability-based RNG. Explore the innovative Probability Influence concept and learn how to dynamically alter odds based on external factors. Get inspired and take your RNG game mechanics to the next level!

Documentation Updates (Aug 16, 2023)
New Pages in the Docs
Customizing Lists
Testing Outcomes

Documentation Updates (Aug 26, 2023)
New Pages in the Docs
Seeding Options
Pick History

Documentation Updates (Sep 12, 2023)
New Pages in the Docs
Selecting Distinct Values Guide

Documentation Updates (Mar 29, 2024)
New Pages in the Docs
Probability Influence - concept & basics
Probability Influence Guides

Documentation Updates (May 13, 2024)
New Pages in the Docs
Nesting Lists - concept & basics
PLCollection Guides

Documentation Updates (June 12, 2024)
New Pages in the Docs
Depletable Lists - concept & basics
Selecting Distinct Values Guide - updated to use Depletable Lists
Depletable Lists Examples - practical use cases with limited availability items

RNGNeeds Update v0.9.7 is now live on the Asset Store

This update introduces a new Major Feature: Depletable Lists
Depletable Lists are a powerful feature that allows items to have limited availability. By setting the maximum and available units for each item, you can unlock a wide range of possibilities for your game mechanics. Depletable items can be utilized in various ways, such as ensuring unique selections for game rewards or managing multiple instances of the same item, like in card decks or loot tables.

Documentation - Changelog

RNGNeeds Update v0.9.8 is now live on the Asset Store

This update brings several inspector improvements, features and bug fixes.

Inspector Improvements

  • [NEW] Hide List Entries: Introduced the option to hide list entries in the inspector. When hidden, the button displays the number of entries in the list. This feature helps keep the inspectors simple and more readable once the lists are set up.

  • [NEW] Variable Stripe Height Slider: Added a variable stripe height slider to the Theme section of the inspector. The fixed height options have been removed in favor of variable height, allowing greater flexibility in customizing individual drawers.

  • [NEW] Change Palette via Scroll Wheel: Enabled the ability to change palettes using the scroll wheel. While hovering over the palette dropdown button, use Shift + Scroll Wheel to easily browse through palette options. This makes finding the right palette much less tedious.

  • [NEW] Reverse Palette Option: Introduced the option to reverse the palette. A new button next to the palette color preview toggles between normal and reversed color order, enhancing the usability of palettes, especially when using gradients for logical value progression.

  • Improved Header Bar Buttons: Enhanced the buttons in the header bar by changing all option buttons from text to icons, unifying the visuals for a cleaner and more consistent look.

Bug Fixes

  • PLCollection Inspector Visual Issue: Fixed a visual issue with the PLCollection inspector when using the Editor Light skin.

  • Probability Lists Multi-Editing Issue: Resolved an issue where items in Probability Lists would get disabled when multi-editing scriptable objects.

Documentation - Changelog