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

A few questions about macro use

I recently started a game of Girl by Moonlight.  And the character sheets are quite nice.  However the in built roller function is a bit cumbersome, and two of my newest players to Blades in the Dark style games have expressed it's confusing for them. I'm looking for a solution.  I did look across the forums, and read up about how to edit char-sheets, found the Github, looked it over and decided I was in over my head trying to edit that code to the effect I desired. So my alternative thought is making a simple macro.  I think I can use the Ability recalls the sheet has (STAT-base-total) & (STAT-trancend-total) to make a drop down that only ask them which stat they're trying to roll.  And I'll simply have two macros for non and Transcended (Different stat bonuses). My big questions come down to, I'm looking to at least make the dice look better, like a more typical Blades result, 1-3 fails, 4-5 mixed, 6 full success, rather than doing the standard addition.  And I think going as far as to make the dice results look like the other rolls will be beyond this fix, but the simplicity is what I'm shooting for, so if it's not as decorated, I think it will still be appreciated. So I guess I'm looking for advice on format of the roll.  I think I have the core rolling function understood enough to get the proper number of dice rolling.  Or if anyone things that snipping the code for the sheet would be child's play and could help me with that.  But no mater which way, appreciate the replies and help, thanks!
1692577008
GiGs
Pro
Sheet Author
API Scripter
If you want to change the look of the dice, it's tricky. You need to either have graphics of the dice faces, and use rollable tables. This isn't compatible with rolltemplates be willing to edit the sheet you're using and that might involve editing the images in the rolltemplate (though you might be able to do it with CSS) be willing to make a custom API script, which means you don't need to edit the sheet but still need a lot of coding.
I'm more concerned with the Presentation of the dice rather than the look , if that makes sense. Like, I want to show the dice rolled, and not have the diceroller display an additive sum by default. I'll get a basic, functional, macro together and bring it around.  I am thinking "making it look nice" is going to span into territory I simply don't have the experience with yet.  And like I said, I glanced at the CSS / HTML files for the sheets I was curious about, but the level of coding going on there is more depth and less clear than I felt comfortable trying to untangle to get the dice rolling the way I wanted, at least for now.
1692598114

Edited 1692598198
GiGs
Pro
Sheet Author
API Scripter
That sounds easier. I don't know the system so cant yet help. How is a roll made, and what do you want shown in the roll?
I'm playing around with building this macro right now, but I'm curious if anyone knows, I'm looking at using the "Chat menus" option, and it has a template setting, are there alternative templates that are able to be applied as a free source, or just something you'd have to build yourself?
1692654818
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
There is the default template, which is available in every game. Most sheets have a number of roll templates to provide more customized output. To finely control your own output either requires some CSS hackery, or a Mod such as ScriptCards.
1692692898

Edited 1692693047
Welp, settled on a Macro in this style: &{template:default} {{name=Sorren Rolls }} {{[Analyze](`#Sorren-Analyze)= [Transcend](`#Sorren-Analyze-Transcend)}} {{[Conceal](`#Sorren-Conceal)= [Transcend](`#Sorren-Conceal-Transcend)}} {{[Confess](`#Sorren-Confess)= [Transcend](`#Sorren-Confess-Transcend)}} {{[Defy](`#Sorren-Defy)= [Transcend](`#Sorren-Defy-Transcend)}} {{[Empathize](`#Sorren-Empathize)= [Transcend](`#Sorren-Empathize-Transcend)}} {{[Express](`#Sorren-Express)= [Transcend](`#Sorren-Express-Transcend)}} {{[Flow](`#Sorren-Flow)= [Transcend](`#Sorren-Flow-Transcend)}} {{[Forgive](`#Sorren-Forgive)= [Transcend](`#Sorren-Forgive-Transcend)}} {{[Perceive](`#Sorren-Perceive)= [Transcend](`#Sorren-Perceive-Transcend)}} {{[Zero Dice Roll](`/r 2d6dh1s)= [Declare Dice](#Declare-Dice)}} Referencing Macros looking like this: /roll (@{Sorren Morrison|Express-base-total}+?{Bonus Dice?|0})d6k1s Pretty simple.  I had to divide the chat options into their own macros, or the Variable bonus dice was requested when the Chat Table was ran, which doesn't worry terribly well when you're not sure what you're doing in the first place! Making it look nice with a template may come down the line, but for now, it's functional.  I kind of wish I could drop the final result of the dice and just have it display the dice in ascending order, and we can read them, but the extra line taken up by repeating the highest roll isn't breaking anything.  And this is far less cumbersome for new players who aren't familiar with the Blades in the Dark style rolls with all the extra options per roll. I would be interested in the best way to "Copy" a macro set like this, since it's a total of 19 macros, and I want to populate one set per player.  I could probably design it to call on Tokens or variable targets so everyone can use the same macro, but it needs to be functional tonight, so this is fine for now, and if copy + paste is my best option.. then so be it.  I had hoped I could import from the Transmog > Change the names > then Reimport from Transmog, but alas, the changed name macros count as the same Macro ID to the transmog, so I can't copy as easily as that.
1692696409
Gauss
Forum Champion
Regarding Copying, don't use the Macro tab macros. Use Ability macros on a Macro Mule instead.  Then you can use select instead of a character name to identify the relevant person's abilities.