-
January 6th, 2019, 21:59 #1
Adding a different D10 die rolls as a D20
Greetings All,
I've got two sets of dice for the D10's, Red and Black.
What I want to do is swap out the default D10 in the rRoll, and put in my D10.
Odd thing is when I add a new die type, it defaults to a D20, even if I set the new die to the D10 default.
In my gameElements.xml
Code:<die name="d10_h"> <icon>d10hungericon</icon> </die>
Code:<!-- Rolls --> <icon name="d10icon" file="graphics/icons/d10_icon.png" /> <icon name="d10hungericon" file="graphics/icons/d10_hungericon.png" />
Code:for i=nDiceRequired,(nDiceRequired-nHungerDice)+1,-1 do rRoll.aDice[i] = "d10_h" end
This is now FIXED. Moon Wizard states a model is needed, so the following code works:
Code:<die name="d10h"> <icon>d10hungericon</icon> <model>d10</model> </die>
MBMLast edited by MadBeardMan; January 6th, 2019 at 23:49. Reason: Has a solution
Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 6th, 2019, 22:30 #2
Im not across your code but there are 4 additional colours of every dice in MoreCore
red, green, blue, yellow
hmmm... I think your dice name is wrong - it can only have d##### it cant have any other alphas.
-
January 6th, 2019, 23:09 #3Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 6th, 2019, 23:27 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
It's because you didn't specify a model for your new dice type, and the default is d20.
JPG
-
January 6th, 2019, 23:28 #5Ruleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 6th, 2019, 23:41 #6
Hi JPG,
Seems the documentation on the wiki is wrong then, as adding model did work:
Code:<die name="d10h"> <icon>d10hungericon</icon> <model>d10</model> </die>
ColRuleset and much more content built for FGU.
Come join me on Twitter at: https://twitter.com/MadBeardMan to see what I'm up to!
-
January 7th, 2019, 07:02 #7Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
-
January 7th, 2019, 07:06 #8
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks