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.
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.
Visually author probability distribution of your NPC behaviors, dialogue choices, random encounters, ambient sounds, or character voice responses in a fully-customizable Inspector Drawer.
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.
PROBABILITY INFLUENCE
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.
ON THE ROADMAP
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!