-
May 10th, 2017, 00:25 #1
Saint
- 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;
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
Support:
https://support.fantasygrounds.com/
-
May 10th, 2017, 04:05 #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:
-
May 10th, 2017, 06:32 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,541
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
-
May 10th, 2017, 06:49 #4
that makes sense, i have added information
FGU Standard License Holder.
Currently Running:
-
May 10th, 2017, 11:06 #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.
-
May 10th, 2017, 18:00 #6
-
May 10th, 2017, 18:10 #7
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!
-
May 26th, 2017, 19:16 #8
Saint
- 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.
Support:
https://support.fantasygrounds.com/
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks