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

[Script] TintShift

1562944561

Edited 1562976376
TintShift Script Hello :) a new script is here! This script changes the tint of a selected token. Optimized for map design, more specifically fine tuning tints quickly. Created a short video just to show the way this script works: <a href="https://www.youtube.com/watch?v=uz8RFpsuZRE&amp;feature=youtu.be" rel="nofollow">https://www.youtube.com/watch?v=uz8RFpsuZRE&amp;feature=youtu.be</a> Overview * behaviour: script has two modes, one for black and white tints only, the other for all colours. The script will make the tint of a selected graphic darker / brighter each time it is executed. At a certain threshold it changes to another colour. * goal: quick testing of many tints for a single object. * how it works: script finds a tint similar to current one, in a list of predefined 112 colours - this works best for strong colours, like bright red. Then it changes that tint color to be brighter or darker, depending on the used command. * license: use for free, have fun. How to use:&nbsp; * select the object that you want to change the tint of. * darken the tint by one increment: !tintShiftColor -1 * lighten the tint by one increment: !tintShiftColor +1 * note: after some clicks it will eventually jump to another hue, but this is always reversible by simply going the other direction. * note2: for only looking at black and white tints, !tintShiftBW +1 !tintShiftBW -1 Suggested implementation I suggest using this with API buttons! Something along the lines of, /w gm &amp;{template:npcaction} {{name= }} {{rname= tintShift Script}} {{description= [darker](!tintShiftColor -1) [lighter](!tintShiftColor +1) }} Feedback Any feedback, post here or PM me :) Link: official code snippet found at github, <a href="https://gist.github.com/gui8311/4da9f3cc110572e30484ac6f3981a97b" rel="nofollow">https://gist.github.com/gui8311/4da9f3cc110572e30484ac6f3981a97b</a>
Major update done, script is now very reliable :)