DICE PACKS BUNDLE
  1. #1

    Exporting MCC Content as Module to DCC - Category Mismatch - Solution?

    I have a question about importing MCC "Programs" (i.e. spells) into DCC as Spells by exporting the content as a Module of MCC content into DCC. Programs (MCC) and Spells (DCC) are the same thing but when I export Programs from MCC as a module into DCC they do not show up because there is no "Programs" section/category in DCC. Is there a way to accomplish this? I have a gonzo DCC campaign going and would love to incorporate this MCC material without a great manual effort.

  2. #2
    It would require building an extension to register the "program" data type like what the MCC ruleset does.

    Regards,
    JPG

  3. #3
    Thanks. Now need to find someone who knows how to do that...but I think I know a guy.

  4. #4
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,885
    Blog Entries
    1
    Correct, the MCC ruleset is largely backwards-compatible with DCC, but not the other way around.

    You're gonna need this in the data library file:

    Code:
    aRecordOverrides = {	-- New record types
    	["mutation"] = {
    		bExport = true,
    		aDataMap = { "mutation", "reference.mutationdata" },
    		sRecordDisplayClass = "power",
    		sSidebarCategory = "create",
    		aCustomFilters = {
    			["Source"] = { sField = "source" },
    			["Type"] = { sField = "mutationtype" };
    		},
    	},
    	["program"] = {
    		bExport = true,
    		aDataMap = { "program", "reference.programdata", "reference.spelldata" },
    		sRecordDisplayClass = "power",
    		sSidebarCategory = "create",
    		aCustomFilters = {
    			["Source"] = { sField = "source", fGetValue = getProgramSourceValue },
    			["Level"] = { sField = "level", sType = "number" };
    		},
    	},
    };
    I included mutations in there as well in case you want that. I prefer to leave this out of the DCC ruleset as crossover games are intended to run on the MCC ruleset. If you run into problems with creating an extension, feel free to message me here or post on the Fantasy Grounds Discord server.

  5. #5
    This is amazing! Thank you so much. I will give this to my friend who is a programmer and understands it better. With permission, I may have him reach out to you as you suggest if he has questions. Thank you again!

    Quote Originally Posted by leozelig View Post
    Correct, the MCC ruleset is largely backwards-compatible with DCC, but not the other way around.

    You're gonna need this in the data library file:

    Code:
    aRecordOverrides = {	-- New record types
    	["mutation"] = {
    		bExport = true,
    		aDataMap = { "mutation", "reference.mutationdata" },
    		sRecordDisplayClass = "power",
    		sSidebarCategory = "create",
    		aCustomFilters = {
    			["Source"] = { sField = "source" },
    			["Type"] = { sField = "mutationtype" };
    		},
    	},
    	["program"] = {
    		bExport = true,
    		aDataMap = { "program", "reference.programdata", "reference.spelldata" },
    		sRecordDisplayClass = "power",
    		sSidebarCategory = "create",
    		aCustomFilters = {
    			["Source"] = { sField = "source", fGetValue = getProgramSourceValue },
    			["Level"] = { sField = "level", sType = "number" };
    		},
    	},
    };
    I included mutations in there as well in case you want that. I prefer to leave this out of the DCC ruleset as crossover games are intended to run on the MCC ruleset. If you run into problems with creating an extension, feel free to message me here or post on the Fantasy Grounds Discord server.

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
  •  
GI JOE RPG Launch

Log in

Log in