This worked...
..that's awesome, but now I have all those edits to make. :p
Printable View
This may have been asked before, and I'm sorry. I don't want to comb through 100+ pages to find out, but is there a morecore version that works with FGUnity? It doesn't seem to work for me at all (Nor do any of the games (extensions) related to it.
MoreCore has been FGU friendly for some years.
Get it on the Forge to make sure you always have teh correct build.
Where's the MoreCore background image which features an art deco top border located? I've browsed through the graphic subfolders, but couldn't find it.
On another note...I've changed some of the icons and logos for my latest MoreCore project. I did it the quick & dirty way of just copying in my own graphic files and renaming the exiting and new files so the desired images are displayed. That was really just a quick test though and I really want to do it correctly with an extension.
Is such an extension as simple as creating a standard extensions.xml file and including the \graphics\icons folder along with the graphic files for those images I want to change?
I do want to change the desktop and character sheet backgrounds, so I guess a 3rd question would be; is it better to instead use the GMW Campaign Toolkit to make all of these changes?
[Edit] I found these 2 entries in the graphics_icons.xlm file and they're the 2 icons I want to change on the Character Sheet:
<icon name="chat" file="graphics/icons/button_chat.png" />
<icon name="rulesetlogo" file="graphics/icons/morecore-ruleset.png" />
So if I change those 2 lines to reference the 2 files I placed in my extension's /graphics/icons folder. And then include that altered graphic_icons.xml file in my extension's \graphics folder, will that work?
Nevermind. I guess I'm a person that sometimes just needs to get it up on the screen. No sooner did I type that question, that I recalled an example of a icon changes within the <Base></base>section of an extensions.xml
So I entered this...
<base>
<icon name="chat" file="graphics/icons/button_dragon.png" />
<icon name="rulesetlogo" file="graphics/icons/DA-ruleset.png" />
</base>
.. and my desired icons are displaying on character sheets when I load my extension.
My bigger question now though, is how do I set up my custom stunt dice arrangements that I was helped with in an above post? I see where I changed the manager_custom_stunt.lua script here:
and here:Quote:
function getStuntDice(rRoll)
local rDie1, rDie2, rDie3;
local nResult1, nResult2, nResult3;
rDie1 = rRoll.aDice[1];
nResult1 = rDie1.result;
Debug.console("nResult1: ", nResult1);
rDie2 = rRoll.aDice[2];
nResult2 = rDie2.result;
Debug.console("nResult2: ", nResult2);
rDie3 = rRoll.aDice[3];
nResult3 = rDie3.result;
Debug.console("nResult3: ", nResult3);
-- nStunt = nResult1 - nResult2;
local nStunt = 0;
if nResult1 ~= nResult2 and nResult2 ~= nResult3 and nResult3 ~= nResult1 then
Debug.console("No Stunt");
nStunt = 0;
rRoll.sMessage = "No Stunt Roll";
else
Debug.console("Stunt");
nStunt = nResult2;
Debug.console("Stunt: ", nStunt);
rRoll.sMessage = "Stunt " .. nStunt .. " points!";
end
rRoll.nStunt = nStunt;
rRoll.total = nResult1 + nResult2 + nResult3;
return rRoll;
end
But I don't know how to set that up in the extensions.xml, Or even in a custom launcher.lua script?Quote:
function createRoll(sParams)
local rRoll = { };
rRoll.aDice = {"d6","d1006","d6"};
Debug.console("rRoll.aDice: ", rRoll.aDice);
rRoll.sType = sCmd;
Debug.console("rRoll.sType: ", sCmd);
rRoll.sDesc = "";
rRoll.nMod = 0;
rRoll.nTarget = 0;
--- rRoll.sUser = User.getUsername();
local nStart, nEnd, sMod, sDescriptionParam = string.find(sParams, "([+-]?[%d]+)%s*(.*)");
--Debug.console("createRoll: ",nStart, nEnd, sTarget, sDescriptionParam);
if sMod then
rRoll.nMod = tonumber(sMod);
Debug.console("rRoll.nMod1: ", rRoll.nMod);
rRoll.sDesc = sDescriptionParam;
Debug.console("rRoll.sDesc: ", rRoll.sDesc);
else
rRoll.sDesc = sParams;
end
if rRoll.nMod > 0 then
rRoll.sDesc = rRoll.sDesc .. " [+"..rRoll.nMod.."]";
elseif rRoll.nMod < 0 then
rRoll.sDesc = rRoll.sDesc .. " ["..rRoll.nMod.."]";
end
--Debug.console("createRoll: ",rRoll);
return rRoll;
end
everything on the desktop is probably in the desktop image and definition.
desktop1.jpg
Code:<!-- Desktop background -->
<framedef name="desktop">
<bitmap file="graphics/frames/desktop1.jpg" />
<top rect="0,0,738,100" />
<middle rect="0,100,738,900" />
<bottom rect="0,1000,738,120" />
</framedef>
For other images and frames same thing. use the same icon and frame names and you shoudl be ok.
I think the GMW Theme Builder supports MoreCore but its not too hard anyway.
In your extension.xml include this line:
and point it to your custom version.Code:<script name="CustomDiceStunt" file="scripts/manager_custom_stunt.lua" />