Package Description

Foundry VTT - Dice So Nice!

This module for Foundry VTT adds the ability to show a 3D dice simulation when a roll is made.

Usage Instructions

There are no particular instructions for use. Once the module is enabled, 3D animation will be displayed each time dice is rolled on foundry.

Configuration

There's two type of settings:

  • The GM settings can only be modified by a GM user and will affect everyone in this FVTT world.
  • The Player's dice settings are linked to a player in a single world and can be modified by himself. These settings won't affect other players settings.

Appearance

Preview

  • Enable 3D dices: Enable the 3D dice display in this browser session.
  • Dice Presets (Faces): Allows to select the dices faces. Default is "Standard" where every face is a text label. Some game systems can force this value for all players to display their own dices.
  • Theme: Allows to select a color theme for your dices. Themes changes every color settings and can pack multiple colors that will be selected at random each time you roll. A theme can also include a default texture that will be displayed if you selected "None / Auto (Theme)" in the "Texture" dropdown.
  • Texture: Allows to select a texture for the dice. Selecting "None / Auto (Theme)" will show the theme texture if there is one.
  • Material: Allows to select a material for the dice. Selecting "Auto (Theme)" will show the theme material if there is one. Default is "plastic".
  • Font: Allows to select a font for the dice. Selecting "Auto (Theme)" will use the theme font instead.
  • Label Color: Allows to change the color of the dice label.
  • Dice Color: Allows to change the color of the dice.
  • Outline Color: Allows to change the color of the dice label outline.
  • Edge Color: Allows to change the color of the edges of the dice.

Preferences

Preview

  • Automatically Hide: When enabled, the dice disappear automatically after the result is displayed.
  • Millisecs Before Hiding: time in milliseconds after which the dice disappear automatically.
  • Hide FX: Effect used during dice hiding
  • Sound Effects: When enabled, custom sounds with "realistic" collision effects are played when the dices roll.
  • Sound Volume: Let you change the dice sound effect volume. This setting is applied on top of the "Interface" volume bar.
  • Table surface for sounds: Allows to select the type of sound made by dice hitting the virtual table.
  • Auto Scale: When enabled, auto scale the dice dimension based on the display size.
  • Manual Scale: Allows to manually change the scale of the dice.
  • Animation Speed: Change the speed at which the dices roll.
  • 3D layer position: Select if dice appear on top of the UI or under.
  • Throwing force: Change the magnitude of the vector applied to roll the dice. Let you either gently roll the dice or throw them with full force like a mad man.

Special Effects

Preview

  • Show other players special effects: When enabled, it will play the special effects from other players settings. Disable to only show your own.
  • Add: You can add special effects. A special effect is a short animation and/or sound played when a die roll on a specified result. Ex: Rolling a native 20 on a d20.

💥You can find a gallery of all special effects here💥

Performance

Preview

  • Shadows Quality: Allows to select the shadows quality. Can help with performances on some PCs.
  • Advanced lighting: When enabled, use realistic lighting (HDRI). Disable for better performances.
  • Enable 'high density' screen support: When enabled, it will upscale the 3D view to benefit from the extra pixels. Only have an effect on HDPI screens (like Retina display, 4k, etc). High-end GPU needed.

Documentation and API

A complete API and documentation for developers and artists alike is available in the Wiki

Known limitations

  • Works with vanilla foundry and with modules that do not substantially modify the Roll API.

Compatibility

Tested on Foundry VTT 0.7.9
If you need to use an older Foundry version, please download a compatible older version

Acknowledgment

Based on the "Online 3D dice roller" from http://a.teall.info/dice. Credits go to Anton Natarov, who published it under public domain.

"You can assume that it has the MIT license (or that else) if you wish so. I do not love any licenses at all and prefer to simply say that it is completely free =)" - Anton Natarov

v2 of "Dice So Nice" based on Teal's fork from the awesome MajorVictory, with his direct consent. You can find his online roller here: http://dnd.majorsplace.com/dice/

d10 Geometry created by Greewi who did all the maths for our custom "Pentagonal Trapezohedron". You can find his homebrewed (french) TTRPG Feerie/Solaires here: https://feerie.net

Built on ThreeJSCannonJS and Proton

Theme and model credits:

  • Spencer Thayer: Thylean Bronze theme
  • Foundry VTT: For the FVTT Logo in the Foundry VTT preset.
  • MajorVictory: For all the other theme in this module!
  • Joost Vanhoutte: For the "Foyer" HDRI map
  • Additional sound effects from https://www.zapsplat.com

Many thanks to the people who continue to support us on Discord, to the amazing system and module developers who integrate our module and to the artists who have let us integrate their textures in Dice So Nice!

Feedback

Every suggestions/feedback are appreciated, if so, please contact (Simone#6710) or JDW (JDW#6422) on discord

To report a bug, please open a new issue in our tracker

License

FoundryVTT Dice So Nice is a module for Foundry VTT by Simone and JDW and is licensed under a Creative Commons Attribution 4.0 International License.

This work is licensed under Foundry Virtual Tabletop EULA - Limited License Agreement for module development.

Tagged Categories

  1. Dice Rolling

Available Versions

  1. Version 1.0

  2. Version 1.1

  3. Version 1.2

  4. Version 1.3

  5. Version 1.4

  6. Version 1.5

  7. Version 1.6

  8. Version 1.7

  9. Version 1.8

  10. Version 2.0

  11. Version 2.0.1

  12. Version 2.0.2

  13. Version 2.0.3

  14. Version 2.0.4

  15. Version 3.0.0-final

  16. Version 3.0.1

  17. Version 3.0.2

  18. Version 3.0.3

  19. Version 3.1.0

  20. Version 3.1.1

  21. Version 3.2.0

  22. Version 3.2.1

  23. Version 3.3.0

  24. Version 3.3.1

  25. Version 3.3.2

  26. Version 3.3.3

  27. Version 3.3.4

  28. Version 3.4.0

  29. Version 3.4.1

  30. Version 3.4.2

  31. Version 4.0.0

  32. Version 4.0.1

  33. Version 4.0.2

  34. Version 4.0.3

  35. Version 4.0.4

  36. Version 4.0.5

  37. Version 4.0.6

  38. Version 4.0.7

  39. Version 4.1.0

  40. Version 4.1.1

  41. Version 4.1.2

  42. Version 4.1.3

  43. Version 4.1.4

  44. Version 4.1.5

  45. Version 4.2.0

  46. Version 4.2.1

  47. Version 4.2.2