ZenGhost
April 19th, 2020, 15:11
Apologies if this has been asked before. Couldn't find an exact answer. I also didn't see any attachments for Jeff's Simple Extension Tutorial, so couldn't download that to read. I am working with a Esper Genesis Theme Extension written for the 5e Ruleset.
Problem: Font color text field titles are a shade of yellow on beige background. Barely legible. I'm barely XML capable and completely clueless on LUA. All color tags found in any XML files in the unpacked .ext directories and files specify #620000, which is a maroon color that I don't even see on my FG desktops or windows.
Approach: Trying to find and modify the color reference tag to change the text field titles in all pop-up windows like the Character Sheet.
Request: Please help me find the location and show me what to change.
Here's the code in extension.xml under the campaign folder...
<?xml version="1.0" encoding="iso-8859-1"?>
<root version="3.0" logo="logo.png">
<announcement text="Esper Genesis Theme v1.0\rfor Fantasy Grounds\rCopyright 2019 Alligator Alley Entertainment." font="emotefont" icon="extensionlogo_5E_wotc" />
<properties>
<name>Esper Genesis 5E Theme</name>
<version>1.0</version>
<author>Zeus & Raddu</author>
<description>Esper Genesis Theme based on 5e theme by Zeus</description>
<ruleset>
<name>5E</name>
<minrelease>3</minrelease>
</ruleset>
</properties>
<base>
<script name="5EThemeWizards">
function onInit()
OptionsManager.addOptionValue("DDCL", "option_val_DDCL_ddbase", "desktopdecal_ddbase", true);
OptionsManager.setOptionDefault("DDCL", "desktopdecal_ddbase");OptionsManager.addOptionValue("DDCL", "option_val_DDCL_ddlogo", "desktopdecal_ddlogo", true);
DesktopManager.setStackOffset(56, 2, 4, 0);
DesktopManager.setUpperDockOffset(52, 5, 2, 0);
DesktopManager.setLowerDockOffset(52, 5, 2, 5);
end
</script>
<hotkeybar>
<title frame="hotkeytitlebox" frameoffset="2,-2,5,2" margin="2,0" font="hotkey" />
</hotkeybar>
<string name="option_val_DDCL_ddbase">D&D Short</string>
<string name="option_val_DDCL_ddlogo">D&D Long</string>
<!-- Only overriding title and header fonts due to quality issues with font bitmaps -->
<includefile source="graphics/graphics_buttons.xml" />
<includefile source="graphics/graphics_icons.xml" />
<includefile source="graphics/graphics_frames.xml" />
<includefile source="graphics/graphics_fonts.xml" />
<includefile source="common/template_common.xml" />
<includefile source="common/template_lists.xml" />
<includefile source="common/template_windows.xml" />
<includefile source="common/template_records.xml" />
<includefile source="campaign/template_campaign.xml" />
<includefile source="desktop/desktop_classes.xml" />
<includefile source="ref/template_ref.xml" />
<includefile source="utility/template_utility.xml" />
<includefile source="ct/template_ct.xml" />
<includefile source="ps/template_ps.xml" />
</base>
</root>
Problem: Font color text field titles are a shade of yellow on beige background. Barely legible. I'm barely XML capable and completely clueless on LUA. All color tags found in any XML files in the unpacked .ext directories and files specify #620000, which is a maroon color that I don't even see on my FG desktops or windows.
Approach: Trying to find and modify the color reference tag to change the text field titles in all pop-up windows like the Character Sheet.
Request: Please help me find the location and show me what to change.
Here's the code in extension.xml under the campaign folder...
<?xml version="1.0" encoding="iso-8859-1"?>
<root version="3.0" logo="logo.png">
<announcement text="Esper Genesis Theme v1.0\rfor Fantasy Grounds\rCopyright 2019 Alligator Alley Entertainment." font="emotefont" icon="extensionlogo_5E_wotc" />
<properties>
<name>Esper Genesis 5E Theme</name>
<version>1.0</version>
<author>Zeus & Raddu</author>
<description>Esper Genesis Theme based on 5e theme by Zeus</description>
<ruleset>
<name>5E</name>
<minrelease>3</minrelease>
</ruleset>
</properties>
<base>
<script name="5EThemeWizards">
function onInit()
OptionsManager.addOptionValue("DDCL", "option_val_DDCL_ddbase", "desktopdecal_ddbase", true);
OptionsManager.setOptionDefault("DDCL", "desktopdecal_ddbase");OptionsManager.addOptionValue("DDCL", "option_val_DDCL_ddlogo", "desktopdecal_ddlogo", true);
DesktopManager.setStackOffset(56, 2, 4, 0);
DesktopManager.setUpperDockOffset(52, 5, 2, 0);
DesktopManager.setLowerDockOffset(52, 5, 2, 5);
end
</script>
<hotkeybar>
<title frame="hotkeytitlebox" frameoffset="2,-2,5,2" margin="2,0" font="hotkey" />
</hotkeybar>
<string name="option_val_DDCL_ddbase">D&D Short</string>
<string name="option_val_DDCL_ddlogo">D&D Long</string>
<!-- Only overriding title and header fonts due to quality issues with font bitmaps -->
<includefile source="graphics/graphics_buttons.xml" />
<includefile source="graphics/graphics_icons.xml" />
<includefile source="graphics/graphics_frames.xml" />
<includefile source="graphics/graphics_fonts.xml" />
<includefile source="common/template_common.xml" />
<includefile source="common/template_lists.xml" />
<includefile source="common/template_windows.xml" />
<includefile source="common/template_records.xml" />
<includefile source="campaign/template_campaign.xml" />
<includefile source="desktop/desktop_classes.xml" />
<includefile source="ref/template_ref.xml" />
<includefile source="utility/template_utility.xml" />
<includefile source="ct/template_ct.xml" />
<includefile source="ps/template_ps.xml" />
</base>
</root>