DICE PACKS BUNDLE
Page 9 of 20 First ... 7 8 9 10 11 19 ... Last
  1. #81
    ah I'm sorry for not being clear
    What I was referring to was since you can set languages, if it was possible to set a font for a language like I thought I read (or must have been dreaming), example: someelvishscript.ttf using /setlanguage elven someelvishscript
    Or is it limited to JUST the ones in the extension.
    As to the request, I highly appreciate it and thanks for the info in regards to what happened. I personally don't have much issue about it either way, but figure to chime in for the group in regards to it.

  2. #82
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    you can open up the extension and add your own fonts...
    rename .mod to .zip and extract
    use notepad++ to view/edit/tinker with files.
    when you zip them back up again do not zip the parent folder - the files should be in the root of the zip
    rename the zip to mod

    make sure windows is not hiding the .mod/.zip extensions or you are likely to get confused....

  3. #83
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,697
    Quote Originally Posted by damned View Post
    use notepad++ to view/edit/tinker with files.
    Love it!

    To expand on what damned is saying here: Fantasy Grounds needs a definition of a font within an XML file - this definition specifies the font file to use, what colour the text will be and the name FG will use to refer to that font.

    You can "tinker" with the extension XML files - opening extension.xml you'll see that it is pretty much a list of FG font names and their corresponding file (in the extension). For example:
    Code:
    <font name="elven">
    	<fgffile name="fonts/dnd4eelvish-regular-14.fgf" />
    	<color value="#000000" />
    </font>
    Note that the font file is an FG font file - you can use the FG Font Generator tool available here (at the bottom of the page) to convert Truetype fonts into .FGF bitmap font files: https://www.fantasygrounds.com/wiki/...veloper_Guides

    FG now support Truetype fonts in certain controls - I'm not sure if they are fully supported in the chat window, I've done some basic tests and they appear to be but haven't done extensive tests for this extension. If you're trying a TrueType font you'll need to specify the size to use in the FG font defintion, I'd recommend using 14. Here's an example of one of the two TrueType fonts used in the CoreRGP ruleset, note the addition of the size parameter:
    Code:
    <font name="reference-h">
    	<ttf file="graphics/fonts/MarcellusSC-Regular.ttf" name="Marcellus SC" size="24" />
    	<color value="#660000" />
    </font>
    So, if you wanted to add your own fonts to this extension you would have to:
    1. Add your supported font file to the extension.
    2. Add a font definition to extension.xml that references this new font - use the name you want to use as the default language.
    3. Package your extension back up and activate it for the campaign you want to use it in.

    Note: The extension currently uses community commons fonts which can be legally distributed (see the sources.txt file in the extension). If you modify the fonts being used please do so only for your own use (your own private games), only distribute font files that you have permission to distribute.
    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. #84
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Apologies - that was the first extension I ever made any successful modifications to...
    I did only add extra languages and not change any fonts...

    Thus - I could just "tinker" with it!

  5. #85
    Interesting. Thanks all!

  6. #86
    Has this been updated for 3.0.12 ? I just started my new campaign and was surprised to see that this extension isn't working anymore.

    Thanks for the help, I really liked this extension.

  7. #87
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,697
    Quote Originally Posted by Vogard7A View Post
    Has this been updated for 3.0.12 ? I just started my new campaign and was surprised to see that this extension isn't working anymore.

    Thanks for the help, I really liked this extension.
    It shouldn't need updating. What isn't working? Do you get any error messages? What ruleset are you using?
    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. #88
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    24,754
    Blog Entries
    1
    Quote Originally Posted by Vogard7A View Post
    Has this been updated for 3.0.12 ? I just started my new campaign and was surprised to see that this extension isn't working anymore.

    Thanks for the help, I really liked this extension.
    I love seeing players/GMs come out into the open!
    Welcome Vogard7A! Although you have been here for 2years already we have only just met

  9. #89
    Quote Originally Posted by Trenloe View Post
    It shouldn't need updating. What isn't working? Do you get any error messages? What ruleset are you using?
    I'm using the 3.5 ruleset. No error messages, just /lang {language} {text} doesn't do anything, it just brings up the help command.

    I have it saved in Fantasy Grounds/extensions I thought about saving it in Fantasy Grounds/campaigns/[My Campaign]/extensions but there's no extensions folder there by default. Do you think I should create a folder for that?

    Quote Originally Posted by damned View Post
    I love seeing players/GMs come out into the open!
    Welcome Vogard7A! Although you have been here for 2years already we have only just met
    Thanks, I'm mostly just a user, not active on the forums as you can tell, lol.

  10. #90
    When you start up the campaign, do you get a message in the chat window saying the extension is loaded?

Page 9 of 20 First ... 7 8 9 10 11 19 ... 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