-
November 7th, 2015, 19:24 #131
Well... there ya go. I was looking at it as the GM.. (obviously)
Standard License Operator - You must have a License to play in my games.
Interested in Custom Character Portraits and Tokens? Contact me.
-
November 7th, 2015, 19:34 #132FG Wiki: How to Compile the FG Logs
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!
-
November 7th, 2015, 20:59 #133
Try the attached "Fantasy Language Fonts" extension. This replicates the fonts and font mappings from the extension in post #1 of this thread - it overwrites the base FG v3.1.3 fonts and their mappings.
Note: If you've already created the campaign before loading this new extension then FG won't use the new mappings, it will use the old one. Edit your campaign db.xml file and remove the <language> section (all of it, including the <language> .. </language> tags). Then open up your campaign with this extension enabled and the new mappings will be there.
See post #139 below for v1.0.1 with minor fixes.Last edited by Trenloe; November 8th, 2015 at 21:42.
FG Wiki: How to Compile the FG Logs
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!
-
November 8th, 2015, 09:59 #134
Thanks very much, Trenloe! Would you mind giving a quick guide to the extension, in particular the lua, so I know how to modify it for my own selection of languages and fonts? It's not clear to me why that particular subset of languages appears in new_languagefonts (or why there two instances of "Dwarven"), nor why the GameSystem entries are structured in the way they are.
-
November 8th, 2015, 17:07 #135
Forget about the new_languagefonts table, that isn't used (it's just left in there from when I started messing around with this).
The GameSystem.languagefonts table sets up the fonts that can be assigned to a language in the Languages admin screen (available from the Options window). The name in square brackets is what will appear in the drop down list in the Languages admin window and the name after the = is the actual name of the font within Fantasy Grounds (defined in graphics\graphics_fonts.xml in the base ruleset or extension.xml in this extension) and is, strangely enough, the name that will appear in the list once the font is selected. I'd recommend making the name before an after the = the same.
The GameSystem.languages table is the list of the base language name to font mappings. Whatever is in the square brackets is the actual language name and after the = is the FG font name - within this extension it doesn't have to match to entries in the GameSystem.languagefonts table it can be a valid FG font name, but this might get confusing and it won't be available in the drop down fonts list.
Summary: Setup new FG fonts in GameSystem.languagefonts and map language name to font in GameSystem.languagesFG Wiki: How to Compile the FG Logs
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!
-
November 8th, 2015, 18:10 #136
That's very helpful, Trenloe - thanks! Why do some of the entries have "Interface.getString" at the beginning, and others not?
-
November 8th, 2015, 18:13 #137
Those are the base ones from the standard FG ruleset. Interface.getString fetches the text to use from the FG string files (in \strings). It's used to make translations easier. The ones without Interface.getString are the entries I added. I just hard coded them for expediency.
FG Wiki: How to Compile the FG Logs
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!
-
November 8th, 2015, 21:26 #138
A few oddities I noticed:
- You fetch Common with getString in GameSystem.languages, but not in GameSystem.languagefonts (it's one of your hard coded ones) - what font is assigend to Common in the standard FG ruleset?
- You hard code Halfling in GameSystem.languages - is this not included in the standard FG ruleset?
- You have Gnoll in GameSystem.languagefonts, but it doesn't appear in the extension.xml file.
- Conversely, you have Giant in the extension.xml file, but it doesn't appear in GameSystem.languagefonts.
-
November 8th, 2015, 21:40 #139
- Nothing is assigned, so it uses standard characters, which get scrambled for players without characters who speak common.
- No it's not included.
- Good spot. Fixed - see extension here: https://www.fantasygrounds.com/forum...s-(FG-v3-1-3-)
- Good spot. Fixed.
Last edited by Trenloe; November 9th, 2015 at 18:59.
FG Wiki: How to Compile the FG Logs
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!
-
November 9th, 2015, 18:59 #140
Created a new thread with the extension here: https://www.fantasygrounds.com/forum...s-(FG-v3-1-3-)
FG Wiki: How to Compile the FG Logs
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!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)

Reply With Quote


Bookmarks