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

Roll Template dice result coloring

1458666052

Edited 1458666336
The default behavior for a roll template seems to be to outline the result number depending on how many ones and sixes are rolled - with a red outline if you have ones but no sixes, a green outline if you have sixes but no ones, a blue outline if you have both ones and a sixes, and no outline if you have neither.  This is... not useful in the games I play.  Is there some way to turn this off or configure this color coding differently? Whoops.  Topic name fail, and I don't seem to be able to fix it. Can someone assist?
1458667840

Edited 1458667883
Diana P
Pro
Sheet Author
The red indicated critical failure, the green indicated critical success, the blue indicated mixed results. If you don't want any coloration at all, then you can adjust the critical success and failure indicators to outside the bounds of the roll ie:&nbsp; [[1d6cf&lt;0cs&gt;7]] will never be colored since it can only fail on a 0 or less and succeed on a 7 or higher. edit: more information in wiki at: <a href="https://wiki.roll20.net/Dice_Reference#Critical_Success_and_Fumble_Points" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Critical_Success_and_Fumble_Points</a>
Ah, I see, thank you.&nbsp; How do these work in dice pool games?
1458669151
Diana P
Pro
Sheet Author
the coloration is per die so&nbsp; 100d6cf&lt;0cs&gt;7 also works fine.&nbsp; If you have multiple pools of die, you will have to put the cf/cs codes on each set: 2d6cf&lt;0cs&gt;7 + 2d8cf&lt;0cs&gt;9 or what ever is appropriate. You can also use it to color the die:&nbsp; red die: [[2d6cf&lt;7cs&gt;7]]&nbsp; blue die: [[2d6cf&lt;7cs&gt;0]] and green die: [[2d6cf&lt;0cs&gt;0]] if you have a particular example you'd like help with, please post it.
Oh; Well that's easy. Sorry for the dumb questions, I find the documentation on this stuff less than clear.&nbsp;
1458676353
Diana P
Pro
Sheet Author
Not a problem, we are happy to help! Let us know if you have additional questions. Happy Gaming!
So the followup question is, if these are all per-die calculations, is there any way to make a 12 on 2d6 show as a crit?
1459032683
Diana P
Pro
Sheet Author
Short answer: no. Long answer: maybe in certain circumstances with certain amounts of work.&nbsp; *You probably can write an API script which handles the rolling for you and does so.&nbsp; It is possible (I don't know for certain) that HoneyBadger's Power Cards may already be able to do so.&nbsp; *If you write html/css code, you could possibly code a custom roll template which uses #rollGreater and maybe some of the other helpers to simulate a crit and display additional information based on that.&nbsp; Probably not coloring the die roll, however.&nbsp; But the cs&gt;# coding itself only works on a per-die basis. &nbsp;
1459033901

Edited 1459034291
For what it's worth, the inline roll [[ 2d6cs&gt;2cf&lt;5 ]] will highlight red on a sum of 2 and highlight green on a sum of 12. Otherwise, it will highlight blue.
1459034293
Diana P
Pro
Sheet Author
*blinks*&nbsp; That's an interesting way to color it.&nbsp; I never thought of that. *bows to Silvyre*&nbsp; TIL... :)