Random Item Stats for Game Creator 2
A built in ledger makes sure the same item never stacks its bonus twice, even across ... LOOT DROPS IN ONE STEP ... One instruction, done. VALIDATION BUILT IN ✅ ... MULTIPLAYER READY
by Auxilium
Price History +
THE ROLL PROFILE 🎲
- A ScriptableObject holding a list of rolls
- Per roll: a target GC2 Stat (optional), an Inventory Property ID, a number mode, a min and max range, a decimal step, and a modifier type
- Whole number or decimal rolls, with an optional step for decimals
- Negative values allowed, for penalties or cursed rolls
- Optional seed for reproducible rolls, without touching Unity's global random
- A per-wearer ledger prevents the same item from stacking its bonus twice
VISUAL SCRIPTING 🧠 (Auxilium, Random Item Stats)
- Roll Item Stats: rolls the numeric Properties on one Runtime Item (use in an item's On Create list)
- Add Rolled Item: creates, rolls and adds an item to a Bag in one step (loot drops)
- Add Rolled Stat Modifiers: applies the equipped item's rolled Properties as Stat bonuses (On Equip)
- Remove Rolled Stat Modifiers: removes them again (On Unequip)
VALIDATION ✅
- The Roll Profile inspector flags missing or duplicate Property IDs, empty or impossible ranges, and whole-number ranges with no integer
- A Check Against Item field verifies a profile's Property IDs against a real item, without changing anything
OPTIONAL MULTIPLAYER 📡
- A FishNet add-on (in the Addons folder) for networked games
- Server-authoritative: the server rolls each item and replicates its exact rolled values and runtime ID, not just item counts
- Network Rolled Bag component plus an Add Network Rolled Item instruction
- Requires FishNet and the Auxilium FishNet GC2 Integration. The main asset does not require either.
WHAT IS IT 🎲
Random Item Stats for Game Creator 2 gives your loot a soul. Two swords look the same, but one rolled plus 7 Attack and the other plus 3 Attack and plus 2 Speed. You set the ranges once in a Roll Profile, and every item made from it comes out different. When the player equips it, those rolled values become real Game Creator 2 Stat bonuses, and they come off cleanly when it is unequipped. It is the backbone of every loot game, built the proper GC2 way.
REQUIRES THE GAME CREATOR 2 INVENTORY AND STATS MODULES. Rolled values live on the item as normal Inventory Properties, and the bonuses are normal Stat modifiers, so everything works with the rest of your project.
EVERY DROP IS DIFFERENT 💎
Make a Roll Profile, add the stats you want to randomise, and give each a range. Roll whole numbers for clean integers, or decimals with an optional step. Allow negative values for a cursed roll. From then on, every item created from that profile rolls its own numbers, so no two drops are ever quite the same.
ROLLS BECOME REAL STATS 📈
Each roll can point at a Game Creator 2 Stat. When the item is equipped, its rolled value is applied as a real Stat modifier on the wearer, and removed when it is unequipped. A built in ledger makes sure the same item never stacks its bonus twice, even across equip and load callbacks.
SET IT ONCE, USE IT EVERYWHERE 🛠️
Drop one instruction into an item's On Create list and it rolls itself. Add one on equip and one on unequip to apply and remove the bonuses. Reuse a single profile across many items, or make a profile per rarity tier for common, rare and legendary rolls.
LOOT DROPS IN ONE STEP 🎁
For a chest or an enemy drop, use Add Rolled Item: give it an item, a bag and a profile, and it creates a freshly rolled item straight into the bag. One instruction, done.
VALIDATION BUILT IN ✅
The Roll Profile inspector checks your work. Drag an item into Check Against Item and it flags any missing Property ID, any empty or impossible range, and any duplicate, so a profile is never quietly broken.
MULTIPLAYER READY 📡
An optional FishNet add-on is included for networked games. The server rolls each item once and shares its exact rolled values with every client, so a plus 7 sword looks the same on every screen. It needs FishNet and the Auxilium FishNet GC2 Integration, and the main asset does not require any of it.
WHAT YOU GET 🎁
- The Item Stat Roll Profile asset
- Four visual scripting instructions: Roll Item Stats, Add Rolled Item, Add Rolled Stat Modifiers, Remove Rolled Stat Modifiers
- A validation inspector
- A demo scene with a sample item, profile and loot table
- An optional FishNet multiplayer add-on
SUPPORT 💬
Fast and friendly support, and we genuinely like good ideas. Come say hi on the Auxilium Discord. If this saves you time, a quick review helps more than you would think.