Joshua Stream Pre
Page 1 of 14 12311 ... Last
  1. #1

    New RuleSet creation help.

    I have (mostly) created another ruleset for FG. There are a few things I need help with.

    So, I though I could start a thread just for helping everyone mod.

    The little buttons to pop-up mini-sheets are bronze in color. I made gold ones for my AD&D Second Edition sheet. They came in bonze. I found that I could remove the resource.pak file and I would get gold in my 2ndEd sheet and bronze in the D20 sheet. But then I would not get ANY tokens in either sheet. I put the resource.pak file back and tokens were back in the D20 ruleset, but not the 2ndEd ruleset and those buttons are bronze again in my ruleset. How can I fix this?
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

  2. #2
    I think you need to define those as icons in your own ruleset. If you have a look at the \data\graphics.xml you'll find a bunch of icon definitions, copy those you need to your own graphics definition in your ruleset folder.

  3. #3

    That is the perplexing question though...

    button_opengemwindow.png, button_opengemwindow2.png or button_opengemwindow2down.png have no referrence to them in data\graphics.xml, rulesets\2ndEd\2ndEd_graphics.xml or rulesets\d20\2ndEd_graphics.xml.

    I did a search in the FantasyGrounds folder for button_opengemwindow and then opengemwindow and there are no referrences to these files at all.

    So were does the d20 ruleset get its referrence? I started looking for files that were dated after my install date. That is when I found resource.pak and took the hacker approach of pull it out, if it works that's it, if it crashes that must not be it - put it back.

    Then there is still the question of, why is it that when I put resource.pak back the tokens are still gone for my ruleset?

    I am going to put those referrences into data\graphics.xml like you said. I'll let you know how that works.
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

  4. #4

    Well...

    First off I must have typoed my first search, I found it this time.

    I restored resouce.pak and changed
    <icon name="button_openwindow" file="data/icons/button_openwindow.png" />
    <icon name="button_openwindow2" file="data/icons/button_openwindow2.png" />
    <icon name="button_openwindow2down" file="data/icons/button_openwindow2down.png" />

    ... in \data\graphics.xml to...

    <icon name="button_openwindow" file="rulesets/2ndEd/icons/button_openwindow.png" />
    <icon name="button_openwindow2" file="rulesets/2ndEd/icons/button_openwindow2.png" />
    <icon name="button_openwindow2down" file="rulesets/2ndEd/icons/button_openwindow2down.png" />

    ... and all buttons came up bronze in both rulesets. I then changed that section of \data\graphics.xml to...
    <icon name="button_openwindow2e" file="rulesets/2ndEd/icons/button_openwindow.png" />
    <icon name="button_openwindow2e2" file="rulesets/2ndEd/icons/button_openwindow2.png" />
    <icon name="button_openwindow2e2down" file="rulesets/2ndEd/icons/button_openwindow2down.png" />
    <icon name="button_openwindow" file="data/icons/button_openwindow.png" />
    <icon name="button_openwindow2" file="data/icons/button_openwindow2.png" />
    <icon name="button_openwindow2down" file="data/icons/button_openwindow2down.png" />

    ... all of the buttons come up bronze in the d20 set, but are all invisible in the 2ndEd ruleset.

    I then search for all referrences to 'openwindow' and edited 2ndEd_adventure.xml, charsheet.xml and 2ndEd_reference.xml in my \rulesets\2ndEd folder to refer to those above. Like this:
    <icon normal="button_openwindow2e2" pressed="button_openwindow2e2down" />

    They all still came out invisible. Furthermore, there are tokens in the d20 ruleset and not in the 2ndEd ruleset.
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

  5. #5
    Ah, but you need to do that in your own ruleset. The stuff in \data is contained in the resource-file and so the program looks for that first. However, if you for instance copy those lines of code to for instance \rulesets\yourruleset\your_graphics.xml then it should work.

  6. #6

    Ok, now that I'm back from the holi-daze

    I did as you recommended. That "mostly" worked.

    Resouce.pak is there. In the d20 ruleset there are bronze buttons and in the 2ndEd ruleset there are gold buttons.

    However, in the d20 ruleset there are tokens. In the 2ndEd ruleset, no tokens.

    How do I get tokens in both?
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

  7. #7
    Do you have this line in the base.xml:

    Code:
    	<tokenroot source="data\tokens" />
    Honor et Gloria

  8. #8
    Thinking score dropping....

    need Restoration...

    uhhhggg

    You guys are far too smart for me...
    FW
    AzarDM

  9. #9
    Quote Originally Posted by Crusader
    Do you have this line in the base.xml:

    Code:
    	<tokenroot source="data\tokens" />
    That did it!

    Thank you!!!

    P.S. I doubled checked and that line is not in the d20 base.mxl either.
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

  10. #10
    What questions do you have?

    I'm hoping to make this a thread for help on making new rulesets for everyone, not just me.
    Bridgekeeper: Hee hee heh. Stop! What is your name?
    Arthur: It is Arthur, King of the Britons.
    Bridgekeeper: What is your quest?
    Arthur: To seek the Holy Grail.
    Bridgekeeper: What is the air-speed velocity of an unladen swallow?
    Arthur: What do you mean? An African or European swallow?
    Bridgekeeper: Huh? I-- I don't know that! Auuuuuuuugh!
    Bedevere: How do know so much about swallows?
    Arthur: Well, you have to know these things when you're a king, you know.

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
  •  
PF2E Playlist

Log in

Log in