5E Character Create Playlist
  1. #1

    Join Date
    Apr 2007
    Location
    Mississippi, USA
    Posts
    1,091

    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:

    Attachment 18916

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

    Attachment 18917

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

    Attachment 18918

    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:

    Attachment 18919

    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.
    Last edited by lokiare; May 26th, 2017 at 19:15. Reason: Version Update

  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
    Colorado, USA
    Posts
    33,404
    Quote Originally Posted by Wookiee420 View Post
    This one^^^^ I would love if it could remember my last open windows
    Vote for it here: https://fg2app.idea.informer.com/proj/?ia=40888
    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
    1,091
    New version uploaded. Added check for Host, if its not running on host it doesn't present window.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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