-
April 7th, 2020, 12:34 #1
- Join Date
- Apr 2018
- Posts
- 16
Having Module Show up in Data Activation
So I figured I'd as a personal project try to build a new version of Mutants and Mastermind's 3rd edition ruleset.
Ambitious, but right now I've got some time.
Starting with CoreRPG as a base and modifying it importing parts of the old ruleset as appropriate or as needed.
I am having an issue having the M&M 3rd edition hero handbook module to show up in the Data Activation screen.
I tracked down where scripts/data_desktop.lua where the modules are being registered, but I can't seem to pass in the data
so it shows up. My gut feeling is it's a naming thing I don't understand or a low level thing of how modules interact with a ruleset.
Here is my aDataModuleSet table. Any thoughts? I looked through the docs but I couldn't find any details on this one.
Code:aDataModuleSet = { ["local"] = { { name = "Mutants and Masterminds 3rd", modules = { { name = "Mutants and Masterminds 3rd Ed Heroes Handbook" }, }, }, }, ["host"] = { { name = "Mutants and Masterminds 3rd", modules = { { name = "Mutants and Masterminds 3rd Ed Heroes Handbook" }, }, }, }, ["client"] = { { name = "Mutants and Masterminds 3rd", modules = { { name = "Mutants and Masterminds 3rd Ed Heroes Handbook" }, }, }, }, };
-
April 7th, 2020, 13:32 #2
You might want to check on how 5E does it as it does offer more in terms of other things it may be looking for. I haven't had a chance to do module pre-loads, but see if 5E might unlock the secret for you.
Dominic Morta
Ruleset Developer
Smiteworks
How to zip up your campaign if the Developers ask for it-How to zip up your campaign if the Developers ask for it
How to provide an Unity Connection issue?-Connection Issues and What to Provide
Unity Updater issue?-Updater Issues
Classic and Unity Port Forwarding?-Fantasy Grounds Connections Explained
Comcast or Cox ISP User?-Comcast XFinity and Cox Users
Have a suggestion?-Feature Request
-
April 7th, 2020, 13:49 #3
Try "Hero's Handbook" - this is the internal name within the module definition.xml file.
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!
-
April 7th, 2020, 14:27 #4
- Join Date
- Apr 2018
- Posts
- 16
@superteddy - Yep I got the format the table needs to be in 5e.
@Trenloe - Doesn't seem to help.
here is the data structure from data_desktop.lua after I tried a lot of combinations.
aDataModuleSet =
{
["local"] =
{
{
name = "Mutants and Masterminds 3rd Edition",
modules =
{
{ name = "Hero's Handbook" },
},
},
},
["host"] =
{
{
name = "Mutants and Masterminds 3rd Edition",
modules =
{
{ name = "Hero's Handbook" },
},
},
},
["client"] =
{
{
name = "Mutants and Masterminds 3rd Edition",
modules =
{
{ name = "Hero's Handbook" },
},
},
},
};
<importinfo>
<acceptfrom ruleset="CoreRPG" />
<acceptfrom ruleset="MutantsMasterminds3" />
</importinfo>
-
April 7th, 2020, 14:56 #5
OK, I think we need to clarify the issue here.
Do you see the module at all in the Module Activation screen? All of the code above is just to give a default set of modules - which is only used in the campaign startup screen (shown when you load a new campaign). It doesn't control whether the module appears in the module activation window.
The Hero's Handbook is created for the Mutants and Masterminds 3rd ruleset. It won't load in another ruleset, unless you have an acceptfrom entry for Mutants and Masterminds 3rdPrivate 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!
-
April 7th, 2020, 15:04 #6
- Join Date
- Apr 2018
- Posts
- 16
@Trenloe - Happy to help clarify.
First - Ahh I didn't realize that was a defualt for that campagin setup.
Second - No I do not see the module at all in the Module Activation Screen.
But that gave me the direction I needed.
I modified the accept from statement to 'Mutants and Masterminds 3rd' and it showed up.
What threw me is the current ruleset for M&M uses the string 'MutantsMasterminds3'
Thanks for the help.
-
April 7th, 2020, 15:23 #7Private 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!
-
April 7th, 2020, 15:37 #8
- Join Date
- Apr 2018
- Posts
- 16
Got it thanks.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks