Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Tim's Baldur's Gate 3 Dice Roller Mod (ScriptCards) for D&D 5E by Roll20

1764995392

Edited 1766365746
Hi All, This is the new version of my Baldur's Gate 3 Dice Roller Mod for D&D(2014) 5E by Roll20. This Mod requires ScriptCards to be installed in your game. This will not work with the beacon 2024 sheet. What Does it Do? This Mod rolls dice using a BG3 themed template. It will roll Skill Checks, Savings Throws and Stat Checks. It takes into account several class traits such as Reliable Talent, Jack of All Trades and others, as well as taking into account current selected global modifiers. Easy copy and paste link. What's New? On the surface, not much has changed, although much of the script is different. Changes people might notice are that the selection of the skill/save/stat checks are now chat buttons rather than a drop-down popup menu. With the new code comes more reliability and bug fixes, as well as a switch to using Roll20 as the image host for everything but the Dice Sets, as Github has limited the amount of hot-linking of image files. Installation 1. Create a new character in your game journal named ScriptCards_TemplateMule, exactly as shown. Obviously, if you've already created this character for another ScriptCards Mod, you can skip this step. 2. Create a new attribute(macro) on the player's character sheet, name it whatever you like and place the code from the "Easy copy and Paste" link near the top of the post. I suggest putting the Mod on individual character sheets as token actions rather than using the Mod as a game-wide Macro since the token needs to be selected for everything to work anyway. 3. Run the Macro the first time and it will install the template information to the Template Mule. Any subsequent runs of the Macro will just run the Macro. Don't worry too much about messing up the install, the Mod will let you know if it needs something to install. Check out my profile for my other Mods
Update to 2.0.1 With some feedback from the Discord server(thanks Si), I fixed a bug with the display of the modifier number. Previously, if you rolled twice or more from the same card it would continually add + every time, ie. ++1 etc. Also, for overall uniformity, a bonus of 0 will show up as +0. Also added a button to restart the Mod once the player has chosen a Dice Set.
Very cool! Love the aesthetic. Easy to install too. 
1765069794
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
What an amazing project!
Thanks Fellas!
1765232179

Edited 1765232299
first - woah, that's awesome. thanks for making it! I do have some questions: so when it rolls, there is 2 dice images. Top and Bottom - what does the top one mean, if the bottom is the roll total? Also, if I need them to roll, a disadvantage with perception, how do they turn it on and roll with disadvantage? when I click on the D/A it rolls the initiative - I assumed D/A was the toggle for disadvantage/advantage I have no rogues in my party but reliable talent shows even though that is turned off in the sheet as well. ------- how do I add or can you add a dice roll sfx to the script?
1765341416

Edited 1765939530
The top die would be your actual roll and the bottom die the roll total. There's D and A, disadvantage and advantage, for every roll. I'll have to look into reliable talent showing up when it shouldn't, that's definitely not intented. Is it happening for every skill or just initiative? You can't add SFX to the chat window, unfortunately. Gifs are the only animations you can have and they are too limited to make anything decent. You can add a sound from your jukebox, though. Find  --&diceSound| and add the name of your sound from your jukebox. --&diceSound|YourJukeboxSoundHere EDIT: Rereading your request for SFX I for some reason assumed you meant Special FX, not Sound FX. So, yes the above is how you'd add that.
Novercalis, I can't replicate the Reliable Talent issue, do you have any additional information or specifics about the conditions of the problem? Can anyone else give this a test and see if they are getting Reliable Talent showing up anywhere it shouldn't be?
1766341542

Edited 1766366437
Update to 2.1.0 I was able to replicate the Reliable Talent bug and it's now been fixed. The conditionals were incorrect. The UI is updated, it looks a bit more like BG3. Disadvantage/Advantage is now chosen on the first card, which unifies the functionality. EDIT: Skills and saves will show as blue if the character is proficient and red if they are not. EDIT: I don't know why but I can't edit the post, I click "save edit" and it doesn't change, so for the time being click on the "easy copy and paste" link in the first post to get the updated version.
1766345185
timmaugh
Forum Champion
API Scripter
RE: not being able to edit/save changes to the first post... That initial post is long, counting the ScriptCards code... I know I've run into an upper limit of the length of a post that Roll20 will handle before borking and not saving it (or updating it). I would guess that's what you're running into, there. The link to your Git repo is probably the best bet... but if the code is different, there, than it is in your first post I would suggest removing the code that is present IN the post body, itself, if you can... just put verbiage there that you removed the code but because of length-after-updates, you can't paste it in again... then just share the link to the repo again. I have to think the eye-candy, alone, is enough to get people to click through. (Honestly, well done, there!)
Thanks Tim, That was the key, it was just too long. Thanks for the kind words as well. I also forgot that I added a feature; Skills now show blue if proficient and red if not.