5E Character Create Playlist
  1. #1

    Thumbs up Changing Only The Frame Of An Existing CoreRPG Windowclass

    Hi Guys,

    A quick Q: if I just want to change the frame of a CoreRPG Windowclass in a child Ruleset, and renaming the source image is not an option, do I need to include the entire windowclass definition in the new Ruleset or is there someway I can use a "merge" technique (similar to templates) and only include the new frame code? Sample code follows:

    Existing Code
    Code:
    <windowclass name="existingwindowclass">
    	<frame>utilitybox2</frame>
    	{Other Relevant Code Here}
    </windowclass>
    New Windowclass Code (I hope)
    Code:
    <windowclass name="existingwindowclass">
    	<frame>utilitybox3</frame>
    </windowclass>
    Cheers
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  2. #2
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,384
    Quote Originally Posted by dulux-oz View Post
    Hi Guys,

    A quick Q: if I just want to change the frame of a CoreRPG Windowclass in a child Ruleset, and renaming the source image is not an option, do I need to include the entire windowclass definition in the new Ruleset or is there someway I can use a "merge" technique (similar to templates) and only include the new frame code? Sample code follows:

    Existing Code
    Code:
    <windowclass name="existingwindowclass">
        <frame>utilitybox2</frame>
        {Other Relevant Code Here}
    </windowclass>
    New Windowclass Code (I hope)
    Code:
    <windowclass name="existingwindowclass">
        <frame>utilitybox3</frame>
    </windowclass>
    Cheers
    You can use join merge rule to do this:

    Code:
    <windowclass name="existingwindowclass" merge="join">
        <frame>utilitybox3</frame>
    </windowclass>
    no need to include anything else within the windwclass
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  3. #3
    Quote Originally Posted by Ikael View Post
    You can use join merge rule to do this:

    Code:
    <windowclass name="existingwindowclass" merge="join">
        <frame>utilitybox3</frame>
    </windowclass>
    no need to include anything else within the windwclass
    So the Template join rules work with the Windowclass definitions as well? Excellent! That should save some coding size.

    Thanks Ikael
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •  
5E Product Walkthrough Playlist

Log in

Log in