Summer Sale
  1. #1

    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" },
    			},
    		},
    	},
    };

  2. #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.
    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?-Idea Informer

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,480
    Try "Hero's Handbook" - this is the internal name within the module definition.xml file.
    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!

  4. #4
    @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" },
    },
    },
    },
    };
    In case it makes a diffrence here is the rules node from base.xml
    <importinfo>
    <acceptfrom ruleset="CoreRPG" />
    <acceptfrom ruleset="MutantsMasterminds3" />
    </importinfo>
    The core rpg right now is stock minus a bunch of commented xml that is notes for myself.

  5. #5
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,480
    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 3rd
    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!

  6. #6
    @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.

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    26,480
    Quote Originally Posted by huntsfromshadow View Post
    What threw me is the current ruleset for M&M uses the string 'MutantsMasterminds3'
    That's for older products released specifically with that old ruleset name.

    The current ruleset name is the name of the ruleset .pak file.
    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

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DMsGuild

Log in

Log in