Fantasy Grounds Merchandise
Page 14 of 20 First ... 4 12 13 14 15 16 ... Last
  1. #131
    Blackfoot's Avatar
    Join Date
    Oct 2010
    Location
    New Jersey, USA
    Posts
    4,089
    Blog Entries
    4
    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.

  2. #132
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    Quote Originally Posted by Moon Wizard View Post
    It actually scrambles the text unless it's understood. Check it out on the player side.
    This is a nice addition as it allows players who own a PC who understand the text to copy/paste it into their notes and it come across as readable text. Nice one.
    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!

  3. #133
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    Quote Originally Posted by Callum View Post
    Any joy wth this, Trenloe? Since my players use the functionality of this extension all the time, I'm reluctant to udate to v3.1.3 until I know it can replicate all of it...
    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!

  4. #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.

  5. #135
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    Quote Originally Posted by Callum View Post
    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.
    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.languages
    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!

  6. #136
    That's very helpful, Trenloe - thanks! Why do some of the entries have "Interface.getString" at the beginning, and others not?

  7. #137
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    Quote Originally Posted by Callum View Post
    Why do some of the entries have "Interface.getString" at the beginning, and others not?
    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!

  8. #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.

  9. #139
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    Quote Originally Posted by Callum View Post
    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.
    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!

  10. #140
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,696
    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!

Page 14 of 20 First ... 4 12 13 14 15 16 ... Last

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Refer a Friend

Log in

Log in