Starfinder Playlist
  1. #1

    Core RPG Background Changer

    This is a Fantasy Grounds extension that allows you to easily change the whole background of the application by changing a filename in the code.

    An example image that was downloaded as a free background is included as a sample, called 1.jpg.


    Sample images of the extension in action:
    Example 1.jpg
    Example 2.jpg
    Example 3.jpg


    If you like the project feel free to give it a star on GitHub, it helps a lot.



    # How to install?

    https://github.com/StyrmirThorarins/...ground-Changer


    1) Create a new folder in "Fantasy Grounds/Data/extensions" to hold the files.
    2) Download all the files from the GitHub page for the project and place them inside.
    3) When you start your campaign, select the 'FG Core RPG - Background Changer' extension.
    Hint: Duplicate the folder and rename the extension name in "extension.xml" to something else for each of your campaigns. That way you can have different backgrounds for all your games.


    # Why did I choose not to add the files into an .ext file?

    Because the extension is made to be updated by yourself frequently as your campaign moves along. So it is easier to work with the files outside a compressed file.

    # How to add a new background image?

    Find an image you would like to use as a background, it should be of at least 2048 x 1080 pixels in size.
    You can manually crop the image down to those pixels, or you can open up the included Photoshop file which is saved to those dimensions, and save your image from there.


    # How to change the background image?

    1) Open the "graphics/graphics_frames.xml" file.
    2) Inside edit the name of the bitmap file to whatever you want. Change the filename to the new image you want.
    3) Reload the campaign, or type in "/reload" in the FG chat as the GM and press enter. This will reload your campaign with the new image.
    Hint: I've found it convenient to name images from 1 and upwards as I add new backgrounds to reflect what the group is up to or where they're at.

    <!-- Desktop background -->
    <framedef name="desktop">
    <bitmap file="graphics/backgrounds/1.jpg" />
    <right rect="0,0,0,0" />
    <middle rect="0,0,2048,1080" />
    </framedef>



    # Changelog / Added / Modified:
    Versioning: v(Major.Minor.Patch) https://en.wikipedia.org/wiki/Software_versioning

    v1.0.0 (July 5th, 2019)
    * All core functionality and files created and prepared for sharing.
    - Created extension.xml
    - Created graphphics_frames_xml
    - Created Backgrounds.xml
    - Created example images.

    Last edited by StoryWeaver; July 5th, 2019 at 04:45.
    Extension writer, FGU Backer, Ultimate License holder.

    5E Enhancer (development and support on hold for now)

    Combat Enhancer 5E Classic (no longer officially supported, community support only)

    ps. Do not send PM's for support for the extensions I write, I will not not be able to respond there. Use the relevant forum threads instead so the community can benefit from the replies, thank you.



  2. #2
    great work! I can totally see using this to update the next session, or something like it.
    Ultimate Licence holder

    I've had FG for so LONG I DON'T KNOW HOW TO USE IT!

    But I'm learning!

  3. #3
    LordEntrails's Avatar
    Join Date
    May 2015
    Location
    -7 UTC
    Posts
    17,242
    Blog Entries
    9
    Does this tile or stretch to fill the background? Specifically, how does it behave when different clients have different screen resolutions?

    Problems? See; How to Report Issues, Bugs & Problems
    On Licensing & Distributing Community Content
    Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
    Note, I am not a SmiteWorks employee or representative, I'm just a user like you.

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,676
    Blog Entries
    1
    Quote Originally Posted by LordEntrails View Post
    Does this tile or stretch to fill the background? Specifically, how does it behave when different clients have different screen resolutions?
    FG cant stretch - it only tiles.
    As this is using only
    <middle rect="0,0,2048,1080" />
    it tiles on screens greater than 2048*1080 and displays as much image as it can on smaller screens

  5. #5
    Indeed. It is not perfect, but has worked well in my groups so far. It should work well for 70+% of users. Tile for those above the set size and cut off at those underneath. But overall from the screenshots taken at 1920x1080 you can see that looks good.

    Most common screen resolutions: https://www.w3schools.com/browsers/browsers_display.asp

    If you're using a larger screens still you can change the middle rect numbers and use even larger images.

    I thought I'd share as my players have been loving it and being able to change FG's background in-game was something I had wanted for my games. So surely there would be other GM's out there hoping to do the same.
    Last edited by StoryWeaver; July 5th, 2019 at 15:36.
    Extension writer, FGU Backer, Ultimate License holder.

    5E Enhancer (development and support on hold for now)

    Combat Enhancer 5E Classic (no longer officially supported, community support only)

    ps. Do not send PM's for support for the extensions I write, I will not not be able to respond there. Use the relevant forum threads instead so the community can benefit from the replies, thank you.



  6. #6

  7. #7
    Ah... well then lol. It's a while since I put this together. I guess it's as good as it's going to get until possibly some new magic arrives with Unity then.
    Extension writer, FGU Backer, Ultimate License holder.

    5E Enhancer (development and support on hold for now)

    Combat Enhancer 5E Classic (no longer officially supported, community support only)

    ps. Do not send PM's for support for the extensions I write, I will not not be able to respond there. Use the relevant forum threads instead so the community can benefit from the replies, thank you.



  8. #8
    Nice work Stymir! Easy to use. Now I have a dozen hand picked uber high rez pics assembled for different sessions queued up and ready to go. Easy Peasy!

    Cheers

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
  •  
DICE PACKS BUNDLE

Log in

Log in