Thread: Dice Total color change
-
September 22nd, 2018, 04:49 #1
- Join Date
- Aug 2009
- Posts
- 261
Dice Total color change
Extension to change the dice total color in the chat window. I wanted the dice total to be red so it really stands out. Normal size or larger size option.
(Added a few other colors for those that do not like red. But just change the color in the extension to whatever you want.)
large_red_example.jpgLast edited by valeros; September 22nd, 2018 at 20:48.
-
September 22nd, 2018, 04:51 #2
- Join Date
- Aug 2009
- Posts
- 261
Too late now, but is there an easier way to do this (change the color of the dice total in the chat window)? Or is there another post that I missed that already had an equivalent extension or instructions on how to do it easier?
-
September 22nd, 2018, 05:12 #3
Looks like the simplest way to me.
The only suggestion I have is that you have specified a fgddile and a ttf - you only need one or the other.
Also if you include the ttf statement you also have to include the font that you specified.
-
September 22nd, 2018, 07:33 #4
- Join Date
- Aug 2009
- Posts
- 261
Good info about font, thanks.
For the font I had copied directly from "graphics_fonts.xml" and just changed the color. I didn't actually know the rules.Thanks again, damned.
-
September 22nd, 2018, 08:24 #5
The inclusion of TTF info in the font XML is for future FGU readiness. Some info here: https://www.fantasygrounds.com/forum...l=1#post402573 and in the rest of that thread.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
September 22nd, 2018, 08:57 #6
-
April 24th, 2019, 10:32 #7
- Join Date
- Jul 2018
- Posts
- 88
Is it possible to make this pull from the Player color? Like the color players choose for their dice? This color is also used when that player draws lines on the map etc
-
April 24th, 2019, 16:34 #8
- Join Date
- Aug 2009
- Posts
- 261
Is it possible to make this pull from the Player color? Like the color players choose for their dice? This color is also used when that player draws lines on the map etceither:1) A font could be changed at runtime, or
2) A font for the dice and dice total could be passed into the code that puts the dice roll in the chat.
(And even then, the font either has to be changeable or be able to be built at runtime to match the player color.)
From what I can see neither of those is possible based on the existing documentation. Somebody much smarter than me would have to chime in on whether it is even possible.
-
September 28th, 2020, 03:45 #9
- Join Date
- Jul 2016
- Posts
- 115
Seems to be using the first number rolled when you have ADV or DIS not the highest/lowest?
-
October 10th, 2020, 23:38 #10
Do we know if this will be updated in a future update of FGU? I'm part colorblind and white text on that background is almost impossible for me to see. It would be nice to be able to change the chat box text color and dice roll colors. Devs?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks