> 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/settings.md).

# Settings Reference

Every exposed Dice Data Asset setting and its current preset value.

Create presets by duplicating `DA_DiceConfig_Default`, then assign one to **BP\_DiceManager → Dice Configuration** before initialization.

The defaults below are the values currently saved in `DA_DiceConfig_Default`, inspected on 17 October 2026. They may differ from the class defaults of a newly created `BP_DiceConfig` asset.

The category locations below match the current Blueprint. Camera presentation is grouped under **Advanced → Camera**, camera input locking under **Advanced → Camera Input**, and the **Use Roll Camera** toggle remains in **Basic Settings**.

The Data Asset has three main categories:

* **Basic Settings:** initial values for the nine settings players can change through the supplied keyboard/HUD controls.
* **Appearance:** dice artwork, HUD display and result VFX.
* **Advanced:** size/count limits, throw physics, result handling, cleanup, camera presentation, input behavior, initialization and audio.

Basic Settings still define preset defaults; use the controls to change player state during play. Editing the Data Asset is not a universal live-update mechanism.

## Basic Settings

| Setting                                               | Current preset | What it does                                                                                          |
| ----------------------------------------------------- | -------------- | ----------------------------------------------------------------------------------------------------- |
| Starting Dice Count (`StartingDiceCount`)             | 1              | Number of dice initially selected for each player's next batch.                                       |
| Dice Size (`DiceSize`)                                | 0.1            | Uniform scale used for newly thrown dice; this is a scale multiplier, not a dimension in centimetres. |
| Wait for Roll to Finish (`WaitForRollToFinish`)       | On             | Blocks another batch while previously thrown dice remain unresolved.                                  |
| Forced Result (`ForcedResult`)                        | 0              | Sets a final D6 face from 1 to 6; 0 selects a normal physics result.                                  |
| Unknown While Rolling (`UnknownWhileRolling`)         | Off            | Uses unknown markings while a die rolls, then reveals its result to permitted viewers.                |
| Automatically Remove Dice (`AutomaticallyRemoveDice`) | On             | Schedules a die for destruction after it reaches the normal settled completion path.                  |
| Use Roll Camera (`UseRollCamera`)                     | On             | Enables the owning player's temporary camera for the latest batch.                                    |
| Can Roll (`CanRoll`)                                  | On             | Allows or blocks new throws for the player.                                                           |
| Private Results (`PrivateResults`)                    | Off            | Reveals results visually only to the owning player and excludes the batch from public scoring.        |

## Appearance

### Dice

| Setting                               | Current preset | What it does                                                                                              |
| ------------------------------------- | -------------- | --------------------------------------------------------------------------------------------------------- |
| Dice Mesh (`DiceMesh`)                | `SM_Dice_6`    | Static mesh used by spawned dice; it must have suitable physics collision and match the six-face mapping. |
| Dice Material (`DiceMaterial`)        | `MI_Dice`      | Base material used for numbered, dotted and unknown appearances through a per-die dynamic instance.       |
| Use Numbered Dice (`UseNumberedDice`) | Off            | Uses numbered faces when enabled and dotted faces when disabled, including matching normals.              |

### HUD

| Setting                                       | Current preset | What it does                                                                                           |
| --------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------ |
| Show Dice HUD (`ShowDiceHUD`)                 | On             | Creates the supplied dice-control HUD for the owning local player.                                     |
| Show Throw History (`ShowThrowHistory`)       | On             | Displays the throw-history board in the HUD.                                                           |
| History Entries Shown (`HistoryEntriesShown`) | 10             | Limits how many recent history rows are displayed; it does not cap the manager's stored history array. |
| Show Leaderboard (`ShowLeaderboard`)          | On             | Displays each player's best valid public batch score.                                                  |

### Result VFX

| Setting                                            | Current preset  | What it does                                                                                      |
| -------------------------------------------------- | --------------- | ------------------------------------------------------------------------------------------------- |
| Show Result VFX (`ShowResultVFX`)                  | On              | Enables a local result popup when a valid result becomes available to an allowed viewer.          |
| Result VFX Height Offset (`ResultVFXHeightOffset`) | 10              | Additional world-space height in centimetres above the mesh bounds where the popup is spawned.    |
| Result VFX System (`ResultVFXSystem`)              | `NS_DiceResult` | Niagara system spawned for result popups; it should expose the integer User.DiceResult parameter. |

## Advanced

### Dice Count

| Setting                                 | Current preset | What it does                                                                  |
| --------------------------------------- | -------------- | ----------------------------------------------------------------------------- |
| Maximum Dice Count (`MaximumDiceCount`) | 6              | Upper limit for the selected batch size; the effective limit is at least one. |

### Dice Size

| Setting                                     | Current preset | What it does                                                                             |
| ------------------------------------------- | -------------- | ---------------------------------------------------------------------------------------- |
| Minimum Dice Size (`MinimumDiceSize`)       | 0.05           | Lower bound for runtime dice-size changes; the effective lower bound is at least 0.01.   |
| Maximum Dice Size (`MaximumDiceSize`)       | 1              | Upper bound for runtime dice-size changes, never lower than the effective minimum.       |
| Size Adjustment Step (`SizeAdjustmentStep`) | 0.05           | Amount added or subtracted by each size adjustment; the effective step is at least 0.01. |

### Throw Physics

| Setting                                 | Current preset | What it does                                                       |
| --------------------------------------- | -------------- | ------------------------------------------------------------------ |
| Throw Speed (`ThrowSpeed`)              | 520            | Forward impulse strength applied when a die is thrown.             |
| Upward Throw Speed (`UpwardThrowSpeed`) | 220            | Upward impulse strength added to the throw.                        |
| Spin Speed (`SpinSpeed`)                | 900            | Initial angular speed used to spin each die in a random direction. |

### Forced Results

| Setting                                                  | Current preset | What it does                                                                          |
| -------------------------------------------------------- | -------------- | ------------------------------------------------------------------------------------- |
| Enable Unknown when Forcing (`EnableUnknownWhenForcing`) | On             | Automatically enables unknown rolling when a forced result is configured or selected. |

### Cleanup

| Setting                        | Current preset | What it does                                                                   |
| ------------------------------ | -------------- | ------------------------------------------------------------------------------ |
| Removal Delay (`RemovalDelay`) | 3              | Seconds between normal settlement and automatic removal; use a positive value. |

### Camera

| Setting                                                     | Current preset | What it does                                                                                    |
| ----------------------------------------------------------- | -------------- | ----------------------------------------------------------------------------------------------- |
| Tracking FOV (`TrackingFOV`)                                | 45             | Field of view while tracking; smaller values zoom in, with an effective range of 5–170 degrees. |
| Transition Duration (`TransitionDuration`)                  | 0.4            | Duration in seconds of the camera view transitions.                                             |
| Hold After Settling (`HoldAfterSettling`)                   | 1              | Time in seconds the tracking shot remains after the tracked roll finishes.                      |
| Hide Own Pawn (`HideOwnPawn`)                               | On             | Temporarily hides the owning player's pawn components locally during the roll shot.             |
| Position Interpolation Speed (`PositionInterpolationSpeed`) | 4              | Controls how quickly the camera position follows the tracked batch.                             |
| Rotation Interpolation Speed (`RotationInterpolationSpeed`) | 8              | Controls how quickly the camera rotates toward the tracked batch.                               |
| Minimum Group Radius (`MinimumGroupRadius`)                 | 60             | Minimum group radius in centimetres used when calculating camera framing.                       |
| Group Distance Multiplier (`GroupDistanceMultiplier`)       | 4              | Scales camera distance relative to the size of the tracked dice group.                          |
| Height to Distance Ratio (`HeightToDistanceRatio`)          | 0.6            | Sets camera elevation relative to its framing distance.                                         |

### Camera Input

| Setting                               | Current preset | What it does                                                     |
| ------------------------------------- | -------------- | ---------------------------------------------------------------- |
| Lock Player Input (`LockPlayerInput`) | On             | Locks player controls while the roll camera holds input control. |

### Face Mapping

| Setting                           | Current preset | What it does                                                              |
| --------------------------------- | -------------- | ------------------------------------------------------------------------- |
| Face Positive X (`FacePositiveX`) | 2              | Result assigned to the mesh's local +X face when that face points upward. |
| Face Negative X (`FaceNegativeX`) | 5              | Result assigned to the mesh's local -X face when that face points upward. |
| Face Positive Y (`FacePositiveY`) | 3              | Result assigned to the mesh's local +Y face when that face points upward. |
| Face Negative Y (`FaceNegativeY`) | 4              | Result assigned to the mesh's local -Y face when that face points upward. |
| Face Positive Z (`FacePositiveZ`) | 1              | Result assigned to the mesh's local +Z face when that face points upward. |
| Face Negative Z (`FaceNegativeZ`) | 6              | Result assigned to the mesh's local -Z face when that face points upward. |

### Settling

| Setting                                                        | Current preset | What it does                                                                                    |
| -------------------------------------------------------------- | -------------- | ----------------------------------------------------------------------------------------------- |
| Minimum Roll Duration (`MinimumRollDuration`)                  | 0.5            | Minimum age in seconds before a die can accumulate still time.                                  |
| Settle Linear Speed Threshold (`SettleLinearSpeedThreshold`)   | 2              | Maximum linear speed in cm/s considered still.                                                  |
| Settle Angular Speed Threshold (`SettleAngularSpeedThreshold`) | 5              | Maximum angular speed in degrees/s considered still.                                            |
| Required Still Duration (`RequiredStillDuration`)              | 0.4            | Continuous time below both speed thresholds required to resolve a normal settled result.        |
| Maximum Roll Duration (`MaximumRollDuration`)                  | 15             | Timeout in seconds after which an unresolved roll is marked finished.                           |
| Settle Check Interval (`SettleCheckInterval`)                  | 0.1            | Interval in seconds between server-side settling checks.                                        |
| Face Alignment Threshold (`FaceAlignmentThreshold`)            | 0.95           | Required upward alignment for recognizing a face; values closer to 1 require a flatter landing. |

### Initialization

| Setting                                                                | Current preset | What it does                                                                            |
| ---------------------------------------------------------------------- | -------------- | --------------------------------------------------------------------------------------- |
| Initialize Only Tagged Controllers (`InitializeOnlyTaggedControllers`) | Off            | Creates throwers only for PlayerControllers with the configured Actor Tag when enabled. |
| Controller Tag (`ControllerTag`)                                       | DiceThrower    | Actor Tag required on eligible PlayerControllers when tag filtering is enabled.         |

### Audio

| Setting                                 | Current preset | What it does                                                                            |
| --------------------------------------- | -------------- | --------------------------------------------------------------------------------------- |
| Throw Sound (`ThrowSound`)              | `WAV_DiceRoll` | Sound asset played once per successful batch when dice are thrown.                      |
| Throw Sound Volume (`ThrowSoundVolume`) | 1              | Volume multiplier for the throw sound; 1 uses the asset's normal volume and 0 mutes it. |

## Practical combinations

* **Ordinary visible rolls:** Forced Result 0, Unknown While Rolling off, Private Results off.
* **Reveal on settlement:** Unknown While Rolling on and Private Results off.
* **Owner-only reveal:** Private Results on; non-owners continue seeing unknown dice after settlement.
* **Forced six:** Forced Result 6; leave Enable Unknown when Forcing on to conceal the rolling appearance.
* **Many consecutive batches:** turn off Wait for Roll to Finish, and disable the camera or its input lock if it prevents further input.
* **Keep dice in the scene:** turn off Automatically Remove Dice. Continued throws will accumulate physics actors.
* **Silent throws:** set Throw Sound Volume to 0 or clear Throw Sound.

{% hint style="info" %}
Unknown rolling is a presentation setting. Forced results choose the final face; they do not make the full physics trajectory deterministic.
{% endhint %}

## Configuration limits

Settings primarily establish the initial state and spawn configuration. They are not all live-bound to a Data Asset edited during play. Use the runtime controls for player changes.

The timeout path marks a roll finished but does not use the normal settled cleanup/VFX path. Keep this distinction in mind when choosing settling thresholds or removal behavior.
