Other5
Creator docs

Loot, currency and shops

Weapons that drop with a rarity and bonuses, enemies that drop currency, and shops to spend it in. This is how CubeEscape does it, all from Class Defaults.

Plugins used

Install them from the launcher's CREATE page. What each plugin provides

A player at a CRED EXCHANGE shop counter with two rare rifles for sale at 450 CR, the prompt Hold E to buy Rare Rifle (+14% ACC) for 450 CR, and the HUD
A shop in CubeEscape: look at an item and hold E

Rarity and bonuses

Weapons drop in six tiers: Common (grey, no bonus), Uncommon (green), Rare (blue), Heroic (red), Epic (purple) and Legendary (orange). Each tier above Common rolls +5% to +25% on one or two of damage, fire rate, accuracy and reload speed. While the weapon is in hand, its bonuses are applied as a GameplayEffect.

  • To change the tiers, odds, bonus ranges or prices, make a Data Asset of class Other5 Rarity Table and set it as Rarity Table on your chests, shops and inventory. Leave it empty to use the defaults.
  • The HUD outlines each weapon slot in its rarity colour and lists the bonuses of the weapon in hand.
The HUD: slot 2 outlined in purple, +16% ACC +12% ROF, CR 2,000 and an HP ammo chip
Slot colours, bonuses, currency and ammo type

1. Chests drop rolled weapons

Other5 Chest already rolls a rarity for every weapon it drops. In its Class Defaults:

  • Weapon Lifetime: how long a dropped weapon stays (30 s). It blinks before it goes.
  • Max Rarity: the rarest it can drop (-1 for any).

Walking over a gun you already carry takes its ammo, and the gun stays. Hold E while looking at it to swap it in. What you swap out is gone.

Class Defaults of a pickup Blueprint filtered to swap: Leave for Swap, Swap Hold Seconds 0.6
On your own Other5 Pickup: Leave for Swap, Swap Hold Seconds, Lifetime

2. Enemies drop currency

  1. Make a Blueprint of Other5 Pickup and set Display Mesh, Display Material and Currency. That's your coin.
  2. On each enemy, set Currency Drop Class to it, plus a min and max.
An enemy's Class Defaults filtered to currency: Currency Drop Class BP_CredChip, Min 8, Max 14
Class Defaults > Enemy > Loot

Each player who hurt the enemy gets their own drop, so everyone in a party earns. Currency is lost on death.

3. Add a shop

  1. Make a Blueprint of Other5 Shop and place it, or spawn it.
  2. Under Shop > Stock, pick the weapons, how many to offer and the rarity range. Prices come from the rarity table.
  3. For ammo, add Ammo Types and set the chance and price.
  4. Under Shop > Look, set the counter mesh, its material and the sign.
Class Defaults of BP_CubeShop filtered to rarity: Min Rarity 2, Max Rarity -1, Rarity Table
Min Rarity 2 means Rare and up

Players look at an item and hold E to buy it. Without enough currency, the prompt shows the price and what they have.

4. Death drops

When a player dies, their rarest weapon (Uncommon or better) stays where they fell, glowing, until someone takes it. Everything else is lost. You can change this on the character's Other5 Inventory Component with Drop Rarest On Death, Death Drop Min Rarity and Death Drop Class.

A fallen player with a red glow on the ground where her weapon stays to be picked up
Anyone can pick it up

Good to know

  • Anything can be used with E: implement Other5 Interactable in a Blueprint (Can Interact, Get Interact Text, Get Interact Hold Seconds, Interact).
  • Weakness and ammo types are covered in Damage types and weaknesses.