Dive’s DnD Dice – RPG Dice Roll for Zeus

If you liked this item, please rate it up on Steam Workshop page.

Author: Dive

Last revision: 14 Jul, 2025 at 20:10 UTC

File size: 711.75 KB

On Steam Workshop

Description:
This mod adds a DND-like mechanic where Zeus can initiate a Dice roll for a Player.
How to use:

1. Locate the modules under "Dive’s DnD Dice"
2. Choose a Dice you wish to roll (D4, D6, D8, D10, D100, D12, D20)
3. The module could be placed two ways:
a. On a Player . In this case the Player’s name will be visible in the Dice Roll UI
b. Not on a Player . In this case no Players will be mentioned in the Dice Roll UI
4. Configure the Settings and press OK

Available settings

1. Visibility Radius – Players within the Radius will see the Dice Roll UI. If you want the dice roll to not be visible by Players that are far away you can use this.
2. Global Visibility – Every Player on the map will see the Dice Roll UI
3. Message – Dice Roll UI will contain the text of this message. This is intended to help the Players understand what is the purpose of this particular Dice Roll.
4. Check against Difficulty – When enabled the Dice Roll will be compared against the configurable Difficulty. If the check passes the Player will see the "Success" text, or "Failure" otherwise. By default it is enabled only for D20 but you can use it with other dice too.
5. Difficulty – If "Check against Difficulty" is enabled this slider determines the difficulty of the roll.
6. Enable Critical Success/Failure – When enabled, the lowest value of the dice (e.g. 1 for D20) will result in a "Critical Failure" message, while the highest value of the dice (e.g. 20 for D20) will result in a "Critical Success" message. By default it is enabled only for D20 but you can use it with other dice too.

Included Dice

Full standard set is included!
D4, D6, D8, D10*, D100, D12, D20
* Note that values for D10 start from 0 and end at 9 to replicate how IRL D10 works. All other Dice start with 1 and end with their respective number.

Supported Languages

English
Russian

Source Code

https://github.com/dive155/arma3-dives-simple-dice-roll

Contact

My Discord[discordapp.com]

Update 1.1.0 (30.04.2025)

+ Module settings will now be saved when the settings window is closed.
+ Added ability to execute code after the dice is rolled.
Example (striking the target player with lightning if the difficulty check fails):

if not _checkPassed then {      private _tempTarget = createSimpleObject ["Land_HelipadEmpty_F", getPosASL _targetPlayer];      [_tempTarget, nil, true] spawn BIS_fnc_moduleLightning; };

+ Added CBA event DSDR_diceRollHappened . The event is LOCAL to the computer of ZEUS ! You have to use remotexec to do anything on other machines. The available arguments are:

[ _result, _checkPassed, _message, _hasDifficulty, _difficulty, _hasCriticals, _sides, _targetPlayer, _affectedPlayers, _buff ]

Update 1.2.0 (13.07.2025)

+ Added ability to set Buffs/Debuffs and a corresponding animation extension for the roll.
+ By default the initial value of the Buff slider is set to 0, however with scripts it is possible to change the default value for a specific player. This is done as a QoL feature for Zeuses. You can do this somewhere in your code:

_buffAmount = 5; _playerYouWantToBuff setVariable ["DSDR_Buff", _buffAmount];

Now if a zeus initiates a roll for this player, the default buff value on the slider will be set to 5. This is a mere QoL recommendation – you are still free to set any other value manually.

Download
Required items:

Click the title to search on this site.


CBA_A3Steam Workshop
Zeus EnhancedSteam Workshop