PDA

View Full Version : Force one extension to supercede another extension



Ezio
April 8th, 2018, 13:26
I'm working on two extensions, a theme and a font color alteration. The idea is that, once completed, the theme would be open to public. The font color would be used for our DM group as we have a blind person who requires very dark background and a light font scheme.

The issue:
I've set a few font colors in my theme extension to make it a bit easier to read. However, I wish to overwrite those font color changes in the second extension, but it is not over writing the setting and black font color on dark blue is difficult to read.

Question:
How can I make the font color extension supercede the theme extension's font color settings?

shadzar
April 8th, 2018, 13:43
you understand that when the font extension is in use it will override the font for everything right? the DM's table will have those same font colors for every user connecting?

you want to look n the extension.xml and make the change to



<loadorder>##</loadorder>


set this number higher than the theme so that it loads last and overwrites the font settings. at least that is my understanding.

Ezio
April 8th, 2018, 13:53
Thank you. I had tried adding in loadorder into the font extension, but didn't put it in the theme also.

I understand the font color changes will affect everyone playing. Off that, is there a way to change the /lighting for one user? This was why I've began looking into the color change extension. Because only the DM can set the lighting and it will do that for him and the players.

Note: setting <loadorder> requires going back to launcher and back in. It will not reload when using the /reload command.

Trenloe
April 8th, 2018, 13:54
Yep, use loadorder.

Info here:https://www.fantasygrounds.com/refdoc/properties.xcp