lokiare
May 10th, 2017, 00:25
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:
18916
If you select "Open Modules Individually" you are presented with the modules window:
18917
If you select "Pre-Load Common Modules" you are given a choice between a list of module sets based on the ruleset:
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:
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.
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.
This extension opens once when you create a new Campaign (with the extension enabled). Once that happens you are prompted with a dialog:
18916
If you select "Open Modules Individually" you are presented with the modules window:
18917
If you select "Pre-Load Common Modules" you are given a choice between a list of module sets based on the ruleset:
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:
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.
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.