View Full Version : Extension Font Hunt - Pathfinder/3.5 Character Sheet
SerakHawk
February 9th, 2017, 15:01
Hello, I've been making a "High" contrast extension for a fellow player who need the fonts to all be white and the background black or dark.
I've got pretty much everything switched over except I cannot find the font name for the numbers for "Max Stat" "Skill Chk" "Spell Fail" so I can change their color to white.
A Snapshot of the piece of the character sheet in question is attached
Thanks
Zacchaeus
February 9th, 2017, 18:22
SerakHawk; welcome to FG and to the community. Moon Wizard just popped into the #support channel on Discord with an answer for you - just in case you miss it.
SerakHawk
February 9th, 2017, 18:30
Thanks Zacchaeus, I've seen it now
SerakHawk
February 10th, 2017, 03:21
Alright, I checked through the font xml I made and what Moon Wizard suggested and I found that I was already changing the color of the "sheetnumber" font asset. I added "basicnumber" to my fonts being changed color as well and it still remained black on the character sheet.
I pulled the font.xml from both CoreRPG and 3.5, Not entirely sure if it is a script that is overriding the color as I am running the extension by itself on the ruleset.
damned
February 10th, 2017, 03:28
Post your extension and Ill have a look tonight.
SerakHawk
February 10th, 2017, 03:37
Thanks, The Extension is attached.
SerakHawk
February 24th, 2017, 13:00
Hey Guys,
Anyone have some time to take a look at this?
Thanks
damned
February 24th, 2017, 21:50
Hi mate - sorry - I did spend some time on oit - yes it is set by script and no I couldnt fix it. Perhaps go teh other way and change the BG colour to white for those fields.
Also some areas the contrast didnt work so well - from memory some of the fonts with drop shadows on really looked blurry so consider turning off the shadows.
SerakHawk
February 24th, 2017, 21:53
Thanks! By any chance could you tell me which script it is?
I was thinking that that blur was being caused by the shadows but wasn't 100% sure at the time.
damned
February 24th, 2017, 22:20
3.5e ruleset
Search on Spell Fail
Search on char_label_invarmorspellfailure
Find the buttonfield and change the script from:
<script>
function onInit()
onValueChanged();
end
function onValueChanged()
if getValue() == 1 then
window.armormaxstatbonus.setColor("FF000000");
window.armorcheckpenalty.setColor("FF000000");
window.spellfailure.setColor("FF000000");
else
window.armormaxstatbonus.setColor("7F000000");
window.armorcheckpenalty.setColor("7F000000");
window.spellfailure.setColor("7F000000");
end
end
</script>
to FFFFFFFF and F7FFFFFF
EDIT: Just in case you arent sure - this does work - I must have messed something up when i was testing it last time.
SerakHawk
February 25th, 2017, 00:01
Okay, I am having issues *finding* the location of the script/.lua file this is contained in, a search in the main .xml loading all the scripts comes up empty looking for spell fail or char_label
Might be looking in the wrong place?
damned
February 25th, 2017, 01:45
Hi SeakHawk use notepad++ and use the "find in files" search.
I unpacked the 3.5e ruleset.
I looked at the char sheet for the affected area for something I could search on - Spell Fail
Searching that finds it in strings - attached to char_label_invarmorspellfailure
So I next searched on char_label_invarmorspellfailure to find where that was being used...
Hope that helps...
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.