> For the complete documentation index, see [llms.txt](https://plugn-play.gitbook.io/ultimate-dice-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://plugn-play.gitbook.io/ultimate-dice-system/faq.md).

# FAQ

Answers to common questions about setup, customization, multiplayer, controls and effects.

Quick answers about setting up and customizing Ultimate Dice System. For step-by-step fault finding, see [Troubleshooting](https://plugn-play.gitbook.io/ultimate-dice-system/troubleshooting.md).

## Setup and integration

### Is the dice system Blueprint-only?

Yes. The gameplay system is implemented in Blueprints; you do not need to write C++ to integrate it. The input and result effects use Unreal's Enhanced Input and Niagara systems.

### Do I need to replace my GameMode, PlayerController or character?

No. Keep your existing classes. Place one `BP_DiceManager`, assign a Dice Configuration preset, and call **InitializeDiceManager** on the server when your player setup is ready. The demo GameMode and cylinder pawn are optional examples. See [Quick Start](https://plugn-play.gitbook.io/ultimate-dice-system/quick-start.md).

### Is placing the manager in the level enough?

No. Initialization is explicit. Your startup flow must call **InitializeDiceManager** on the authority/server. The included demo makes this call for you; your own level needs an equivalent call.

### How do I enable dice for only certain players?

Enable **Advanced → Initialization → Initialize Only Tagged Controllers**, then add the configured **Actor Tag** to eligible PlayerControllers on the server. The default tag name is `DiceThrower`. A tag on the pawn does not count. Removing the tag later does not automatically remove an existing thrower. See [Initialization and Lifecycle](https://plugn-play.gitbook.io/ultimate-dice-system/initialization.md).

### Can I throw dice from another Blueprint?

Yes. Find the intended player's `BP_DiceThrower` by matching its Owner to that player's PlayerController, then call **ThrowDice (Message)** on it. The caller does not need to implement the interface; the target thrower already does. See [Blueprint Integration](https://plugn-play.gitbook.io/ultimate-dice-system/blueprint-integration.md).

### How do I receive the results in my own gameplay logic?

Implement `BPI_Dice` on an Actor Blueprint and handle **RollResults**. The event supplies the PlayerController, an integer array of results, and the batch score. It is broadcast to implementing world actors **on the server**, so filter by player as needed. A client-only widget does not receive it automatically.

Valid faces are **1–6**. Check the array for invalid or unavailable entries before treating the entire batch as successful; the score sums only valid face values. See [Blueprint Integration](https://plugn-play.gitbook.io/ultimate-dice-system/blueprint-integration.md).

## Settings and custom dice

### Where should I change the default settings?

Duplicate `DA_DiceConfig_Default`, edit the copy, and assign it to **BP\_DiceManager → Dice Configuration** before initialization. **Basic Settings** contains the initial runtime-control values, **Appearance** contains visual settings, and **Advanced** contains limits and other configuration. See [Settings Reference](https://plugn-play.gitbook.io/ultimate-dice-system/settings.md).

### Will changing the Data Asset update every die already in play?

No. The preset is applied during configuration and spawning; it is not a general live-reload binding. Use the runtime controls for player changes. To apply a different baseline preset, stop play, assign it, and initialize a new session.

### Can I change dice size without resizing my source mesh?

Yes. Use **Dice Size** in the preset or the demo's **1 / 2** controls. The supplied workflow expects a **1 m × 1 m × 1 m** source mesh; a Dice Size of **0.1** makes it approximately **10 cm** across. Use uniform scaling and suitable simple collision. See [Custom Dice](https://plugn-play.gitbook.io/ultimate-dice-system/custom-dice.md).

### Can I use my own mesh, textures and colors?

Yes. Assign your mesh and material under **Appearance → Dice**. Replace face-mask and normal-map Texture Samples in `M_DiceMaster`, or duplicate the master if you need both appearances to coexist. Set colors in its material instance. Preserve the runtime scalar parameters `UseNumberedDice` and `Unknown`. See [Custom Dice](https://plugn-play.gitbook.io/ultimate-dice-system/custom-dice.md).

### How do I switch between dots and numbers?

Toggle **Appearance → Dice → Use Numbered Dice** in the assigned preset. Enabled selects numbers; disabled selects dots. The Blueprint applies this setting to each die.

### Can I use a D12 or D20?

The current system supports **D6 results only**. Changing the mesh does not add more faces: result detection, face mapping, forced orientations and related result handling need additional implementation.

### Can I force a particular result?

Yes. Set **Forced Result** to **1–6**, or press **4** in the demo and then the desired keyboard number. Set it to **0** for a normal roll. During keyboard selection, another keyboard key resets it to normal.

This controls the final face; it is not a promise of an identical physics trajectory on every throw. **Enable Unknown when Forcing** can hide the faces during motion. Returning to normal does not automatically disable unknown rolling—use **7** to toggle it. See [Input and HUD](https://plugn-play.gitbook.io/ultimate-dice-system/input-and-hud.md).

## Multiplayer and results

### Does the system support listen-server multiplayer?

The system uses server-authoritative throws and results with player-owned throwers. The owning client creates its input and HUD, while replicated state drives presentation for other players. Initialize the manager on the server, and include the same configuration preset in server and client builds. See [Multiplayer and Private Results](https://plugn-play.gitbook.io/ultimate-dice-system/multiplayer.md).

### What is the difference between Unknown While Rolling and Private Results?

**Unknown While Rolling** hides the face during motion and reveals a public roll after settlement. **Private Results** keeps another player's dice unknown even after settlement and suppresses their result popup. Private batches are hidden in shared history and excluded from the public leaderboard.

Private Results controls presentation. The server still knows the values, and the system replicates result state; it is not encryption or protection against a modified client.

### What does the leaderboard measure, and are scores saved?

It tracks each player's **best valid public batch total**, not the sum of all their throws. History and scores are session state held by the manager; cross-session saving is not included.

### What is BP\_DiceRollRecord for?

It temporarily tracks one batch while its dice settle, collects the individual results, reports the completed batch and destroys itself. It is not a persistent save record.

## HUD, effects and performance

### Can I replace the HUD or remap the hotkeys?

Yes. Edit `IMC_Dice` for key mappings, or connect your UI to the owning player's thrower using the existing input handler. The demo's key labels are static, so update those separately when rebinding. See [Input and HUD](https://plugn-play.gitbook.io/ultimate-dice-system/input-and-hud.md).

### Will the bottom controls fit a narrower aspect ratio?

The control strip uses `HUD_Scaler` with **Scale to Fit / Down Only**, around `HUD_Sizer`'s **1920 × 380** design reference. It stays bottom-centered and shrinks proportionally when the viewport cannot fit the reference size. Project DPI scaling still applies. History and leaderboard panels are outside this wrapper.

### Can I disable the roll camera?

Yes. Disable **Use Roll Camera** in the preset or toggle it with **9** in the demo. Camera tuning and input-lock options are under **Advanced**. To allow overlapping throws, also review **Wait for Roll to Finish** and **Lock Player Input**.

### When does the sound play, and can I replace it?

The sound plays **once per successful batch when thrown**, not once per die or on impact. Set **Advanced → Audio → Throw Sound** and **Throw Sound Volume** in the preset. Clearing the sound or setting volume to zero disables it. See [Sound and Result VFX](https://plugn-play.gitbook.io/ultimate-dice-system/sound-and-vfx.md).

### Why does my custom Niagara popup not scale with the die?

The Blueprint supplies the die's mesh scale to the Niagara component, but the effect must apply it to its sprite size. Add **Apply Owner Scale to Attributes** in Particle Update, enable **Sprite Size**, and keep it after other sprite-size modules. Avoid applying owner scale twice. The result-number parameter must be an integer named `User.DiceResult`. See [Sound and Result VFX](https://plugn-play.gitbook.io/ultimate-dice-system/sound-and-vfx.md).

### How many dice can I safely roll?

There is no universal performance limit. The default maximum batch count is **6**, and **Maximum Dice Count** is configurable. Profile your intended concurrent dice and player counts on target hardware. Automatic cleanup helps avoid accumulating actors; **History Entries Shown** limits visible rows, not stored history. See [Troubleshooting](https://plugn-play.gitbook.io/ultimate-dice-system/troubleshooting.md).

## Contact

For all questions, email <plugnplaystore@proton.me>.
