Page 5 of 5 First ... 345
  1. #41
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, CO, USA.
    Posts
    19,436
    Quote Originally Posted by Llisandur View Post
    It doesn't overwrite the previously added languages because it's simply adding to the end of the array. The extension's code uses GameSystem.languagefonts = {["language"] = "language"} which sets the array to a new array.
    Sorry, I was assuming you were copying a whole new table over - as you only had one line of code. It wasn't clear that you would have one line for each individual language. If it works, go with it.


    FG Product Development status: Pathfinder Bestiary, Pathfinder Bestiary 2, Pathfinder Bestiary 3 (in store).

    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!

  2. #42
    Yeah, just copy both of those lines for each language. It works great.
    Ultimate License Holder
    US Central Time Zone

    Currently Running:
    Wrath of the Righteous w/ Ponyfinder - Sunday @ 7:30pm

    Character Creation and Management: PCGen

    Pathfinder Official Modules: Core Rulebook; Advanced Player's Guide; Ultimate Magic; Bestiary; Bestiary 2; Bestiary 3; Bestiary 4
    Official Adventure Paths: Kingmaker 1

  3. #43
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, CO, USA.
    Posts
    19,436
    It's another way of doing what the commented out code in the extension originally did. I remember what the original issue was - some rulesets, CoreRPG included, don't define the GameSystem.languagefonts in manager_gamesystem.lua, so using GameSystem.languagefonts["language"] = "language" produces and error and the script exits. That's why I hard coded the tables, not adding them onto any existing table - because it wasn't there. I could have coded around it, but it was basically a proof-of-concept extension, and it worked, so I didn't take it any further.

    You can check the ruleset you're going to use the modified extension with and make sure both of the GameSystem language tables exist, and so adding in new languages to the end of a language table will work OK for all possible situations.


    FG Product Development status: Pathfinder Bestiary, Pathfinder Bestiary 2, Pathfinder Bestiary 3 (in store).

    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. #44
    G'day there. I have existing campaigns, so how do I

    1/ "Edit your campaign db.xml file and remove the <languages> section (all of it, including the <languages> .. </languages> tags)."

    so I can use the extension?
    Cheers

  5. #45
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    15,662
    Blog Entries
    1
    From FG splash screen click on Explorer folder icon to view your data file folders.
    Go to Campaigns and your campaign.

    Locate db.xml and make a copy as a backup.
    Edit db.xml and locate the <languages> start and end tags and delete. that entire section.
    Save the db.xml and start your campaign.

    FG Con 12 Fantasy Grounds Online RPG Convention - April 13-15 2018
    Register at www.fg-con.com for all the latest info.
    --- Projects ---
    Extensions | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  6. #46
    Thanks for that, it's working.
    Cheers

Thread Information

Users Browsing this Thread

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

Posting Permissions

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

Log in

Log in