Realistic Dice

Realistic Dice

$19.99

Add to Basket

REALISTIC  DICE
PROPS & SCRIPT

VIDEO PREVIEW
758a0745cc95898beb9cf5ec0ac9f0d0bc640f4e.png


Physical dice for FiveM. Shake, throw, watch them settle and pick them up again.


SHAKE, THROW AND ROLL:
- Use a dice item from your inventory to start a throw.
- Your character shakes the dice before releasing them in front of you.
- The dice tumble through an arc, bounce along the ground and settle with the rolled numbers facing up.
- Random spin, landing distance and rotation give each throw a different look.
- Two dice per throw by default, with the count adjustable in the config.


SHARED RESULTS:
- The server rolls the numbers and sends the throw to nearby players.
- Everyone watching sees the same dice, landing positions and results.
- Read the result directly from the physical dice on the ground.
- The viewing distance is configurable, with a default range of 40 metres.


EIGHT DICE COLOURS:
- Blue, classic white, black, green, pink, purple, red and yellow.
- Each colour has its own inventory item and matching dice prop.
- Item definitions and inventory images are included in the installation folder.
- Add more colours by registering their items and props in the config.


PICK THEM UP AGAIN:
- A throw removes one dice item from your inventory. Picking up the pair gives one item back.
- Use ox_target or qb-target to pick up dice from the ground.
- A target zone around the pair makes them easier to select than aiming directly at a small die.
- A pick-up animation plays before the dice disappear.
- Let anyone pick up a pair, or restrict it to the player who threw it.
- The server checks the pick-up distance and restores the dice if the inventory cannot accept the returned item.
- Unclaimed dice expire after a configurable time, with a default of five minutes.


DICE SOUND:
- An included dice clatter plays as part of the throw.
- Built-in playback needs no separate sound resource and gets quieter with distance.
- Optional interact-sound support, or disable the sound entirely.
- Configure the sound file, volume, hearing distance and playback timing.


TUNE THE THROW:
- Configure the shake animation and when the dice leave the player's hand.
- Adjust flight time, landing distance, spacing, spin and each bounce's distance and height.
- Set the delay between throws, the pick-up distance and the size of the target zone.
- Change the number of dice and how long abandoned throws remain on the ground.


BUILT FOR SERVERS:
- Works with Qbox, QBCore and ESX, or without a framework when using a supported inventory.
- Supports ox_inventory, qs-inventory, qb-inventory and the ESX inventory (or configure your own).
- Framework, inventory and target detection are automatic, with manual overrides in the config.
- Framework-specific code lives in the open bridge folder, separate from the dice logic.
- The config, bridge and installation files are excluded from escrow.
- The server checks the dice item, removes it before a throw and enforces a per-player cooldown.
- Pick-ups are validated on the server, and an item can only be returned once per pair.