STAR TREK 2d20
  1. #3151
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    If the icons are not set correctly click in the dice string field and click out again and the correct Icon will set.

    if you want to experiment with the dice order in the Stunt roll locate \scripts\manager_custom_stunt.lua

    ln51 change nresult3 to nResult2
    ln 76 change {"d6","d6","d2006"} to {"d6","d1006","d6"}

    see if that gives you what you want

  2. #3152
    Thanx for the reply.

    Quote Originally Posted by damned View Post
    If the icons are not set correctly click in the dice string field and click out again and the correct Icon will set.
    Aha that was it - going to record that in my notes this time.

    if you want to experiment with the dice order in the Stunt roll locate \scripts\manager_custom_stunt.lua
    ln51 change nresult3 to nResult2
    ln 76 change {"d6","d6","d2006"} to {"d6","d1006","d6"}

    see if that gives you what you want
    OK cool, I'll play with it

  3. #3153
    This worked...
    Quote Originally Posted by damned View Post
    ln51 change nresult3 to nResult2
    ln 76 change {"d6","d6","d2006"} to {"d6","d1006","d6"}
    ..that's awesome, but now I have all those edits to make.

  4. #3154
    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.

  5. #3155
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,413
    Quote Originally Posted by Lord Xtheth View Post
    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.
    The link in post #1 is for FG Classic (as mentioned in post #1). Have you got MoreCore by subscribing to MoreCore in the Forge? If not, delete MoreCore.pak from the <FG app data>\rulesets directory, subscribe to MoreCore in the Forge and then run an update.
    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. #3156

  7. #3157
    Quote Originally Posted by Trenloe View Post
    The link in post #1 is for FG Classic (as mentioned in post #1). Have you got MoreCore by subscribing to MoreCore in the Forge? If not, delete MoreCore.pak from the <FG app data>\rulesets directory, subscribe to MoreCore in the Forge and then run an update.
    Ah. Sorry. The forge is new to me, I didn't know what it was until now... plus I'm old and forgetting how the internet works. Thank you.

  8. #3158
    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:

    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
    and here:

    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
    But I don't know how to set that up in the extensions.xml, Or even in a custom launcher.lua script?
    Last edited by kronovan; June 19th, 2022 at 00:16.

  9. #3159
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    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>

  10. #3160
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    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.

Thread Information

Users Browsing this Thread

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

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
  •  
DICE PACKS BUNDLE

Log in

Log in