-
November 30th, 2021, 02:09 #101
-
November 30th, 2021, 02:10 #102
- Join Date
- Apr 2015
- Posts
- 99
-
November 30th, 2021, 10:40 #103
-
February 23rd, 2022, 00:19 #104
I'm just now picking this back up and getting it up on Forge. I think the issue is the load order. They way extension cascade can overwrite the images. I *think* using 1501 might work. Looking into it.
--Thomas
-
February 23rd, 2022, 00:21 #105
-
February 23rd, 2022, 00:42 #106
-
February 25th, 2022, 00:10 #107
- Join Date
- Nov 2018
- Posts
- 58
Are there triggers for saving throws too?
-
February 25th, 2022, 02:24 #108
Images for them, yes… as well as effects. However, I’ve yet to track down the names if the icons in FG I need to override.
Last night I figured out how to add an options to the options panel so you can choose a “theme”… but I am still working out the code to re-map the icons after FG has already loaded. Currently it is defined in a “themes.xml” file… which works great if you only want to have a single theme. It loads right up and overrides the default icons. But, once you go into options and choose a new theme, I need to find a way to re-map all of the icons to the new set. This bit is maddening because it has to be done via LUA and is not just as easy as loading a new XML file.
If anyone knows how to do this:
Code:<icon name="roll_attack_hit" file="themes/default/roll_attack_hit.png" />
The closest I’ve come is:
Code:window.roll_attack_hit.setIcons("../themes/hex/roll_attack.png");
—Thomas
-
February 25th, 2022, 15:41 #109Private 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!
-
February 26th, 2022, 08:29 #110
Yeah. I started this little adventure just wanting to swap out some icons and fonts. Did that. Then I got this crazy idea that I could pull together several different themes and configurations letting people customize a bit for their tastes... and that is where it has all gone wrong. heh. I'll figure out some path forward, but I figure I should post the updates I've made thus far. I have two themes and have cleaned up some of the code.
I'll start a new thread and put it on Forge.
Best, --Thomas
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks