Graphics

 View Only
  • 1.  Simulating a dice roll

    Posted 10-27-2023 11:21

    Hello, 

    I have some students who are doing a D&D show and they approached me about using Xpression as their D12. Is it possible to create a 12 sided die in Xpression and would anyone know how to make it generate random rolls on playout? 

    Any idea would be greatly appreciated!



    ------------------------------
    Zach Persechini
    Manager
    Emerson College
    ------------------------------


  • 2.  RE: Simulating a dice roll

    Posted 10-27-2023 15:43

    First, just use a search engine to get the model. Try this for the search string:

    "free dodecahedron 3D model"

    Next, once in Xpression, you can hover text fields over the faces. Now you have our dice.

    Make several scene directors giving different roll animations.

    Use VB and create an "on prepare" or "on beforeonline" script that randomly assigns numbers to the face.

    Then put a script in you transition IN scene director that randomly triggers one of the scene roll directors.

    https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.vbmath.randomize?view=net-7.0



    ------------------------------
    Azathoth
    Son of Cthulhu
    ------------------------------



  • 3.  RE: Simulating a dice roll

    Posted 10-27-2023 17:05

    Awesome, I'm going to try that out on Monday, thanks for the help!



    ------------------------------
    Zach Persechini
    Manager
    Emerson College
    ------------------------------