Fantasy Grounds Fridays Pre
  1. #1

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    625

    New Campaign Module Selection Extension

    New Campaign Module Selection Extension V0.4.0

    This extension opens once when you create a new Campaign (with the extension enabled). Once that happens you are prompted with a dialog:

    screenshot0046.png

    If you select "Open Modules Individually" you are presented with the modules window:

    screenshot0047.png

    If you select "Pre-Load Common Modules" you are given a choice between a list of module sets based on the ruleset:

    screenshot0048.png

    Once you've selected the module set you want to open, Fantasy Grounds loads the modules (this may take a short amount of time). After that if you open your modules window you will see your list of loaded modules:

    screenshot0050.png

    Note: Each set of modules even knows what should be shared with players and what shouldn't.

    For Theme and Ruleset Developers (not tested)
    You can add to the list of pre-load module sets by adding something similar to this in your onInit() function.

    Code:
    local moduleList = {};
    moduleList["Module name as it appears in library"] = "restricted";
    moduleList["Module name as it appears in library"] = "shared";
    moduleList["Module name as it appears in library"] = "shared";
    ModulePreLoader.moduleListTable["Module group that will appear in combobox"] = moduleList;
    If you like this extension and would like to contribute, but are not a programmer, you can post a list of modules that should be loaded when users start a new campaign for a ruleset or setting. Please include which modules should be 'shared' and which should be 'restricted' to GM only, and which ruleset and/or Setting its for.

    Version History:
    • v.0.4.0 - Checks to see if its running on Host. If its not it doesn't present module load window. Name change.
    • v.0.3.3 - First Public version.
    Attached Files Attached Files
    Last edited by lokiare; May 26th, 2017 at 19:15. Reason: Version Update
    For support post in the House of Healing or email [email protected]
    Have a suggestion for a feature? Go here http://fg2app.idea.informer.com/

  2. #2
    how does something like this effect players load time? since 3.3 players have a slightly longer load time, especially if more than 3 players, its actually getting to the point i unshare every module until they are all in game and then reshare and they can load it individually as they want or dont want (not complaining about what is happening, just asking about this extension)
    FGU Standard License Holder.

    Currently Running:

  3. #3
    The module and asset sharing engine has not changed for many versions, so the longer load times are possibly an effect of additional records being shared over time in a campaign, the addition of tokens or some other scenario that involves additional transfers.

    I think I'm going to rename the thread for James, because it's not so much a "preloader" as a campaign module selection dialog.

    Regards,
    JPG

  4. #4
    that makes sense, i have added information
    FGU Standard License Holder.

    Currently Running:

  5. #5
    This is good. Now we need an option to pre-load the workspace environment so players and GMs don't have to place and resize windows each new campaign.
    I never claimed to be sane. Besides, it's more fun this way.

  6. #6
    Quote Originally Posted by Nickademus View Post
    This is good. Now we need an option to pre-load the workspace environment so players and GMs don't have to place and resize windows each new campaign.
    This one^^^^ I would love if it could remember my last open windows, even if its an option on exit..Right click to close FG and a third option pops up "Exit and Save State" or some such option
    FGU Standard License Holder.

    Currently Running:

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Isle of Wight, UK (for a bit)
    Posts
    27,528
    Quote Originally Posted by Wookiee420 View Post
    This one^^^^ I would love if it could remember my last open windows
    Vote for it here: http://fg2app.idea.informer.com/proj/?ia=40888
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    Register at www.fg-con.com for all the latest info.

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

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    625
    New version uploaded. Added check for Host, if its not running on host it doesn't present window.
    For support post in the House of Healing or email [email protected]
    Have a suggestion for a feature? Go here http://fg2app.idea.informer.com/

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Storm Kings Thunder Playlist

Log in

Log in