DICE PACKS BUNDLE

Thread: Custom d10?

  1. #1

    Custom d10?

    Hi there,

    Does anybody know how you can get a custom d10 to appear on the radial menu? For the other dice they show up automatically, however for a d10 the space where the custom dice should appear is taken up by the d%.

    Thanks for your help

  2. #2

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,398
    Hmm. I'm not sure exactly what you are asking here. To just change the icon override the existing % one with the icon you like, apparently the custom one.

    To override the behavior you would need to either change the custom die script or create another.

    You would usually do this in an extension. You can see the details in the library here: https://www.fantasygrounds.com/refdoc/customdie.xcp

  3. #3
    Doswelk's Avatar
    Join Date
    Jul 2005
    Location
    Surrey, UK
    Posts
    2,680
    I think what he means, is one the d6 if you want to add a d3 (i.e. d6/2), there is code to add an icon to the radial in the empty spot.

    But the d10 radial is full.
    Last edited by Doswelk; September 29th, 2010 at 20:29.
    My players just defeated an army, had a dogfight with aliens, machine-gunned the zombies, stormed the tower, became Legendary and died heroically

    Yours are still on combat round 6

    Get Savage
    Ultimate License Holder.
    First GM to post a game for the original FG Con!

  4. #4
    Hi there,

    Yes, Doswelk is right. I can create custom d10's no problem, and roll them using the /die command, however they do not appear on the radial menu when right clicking on a die.

    Do you know if it is possible to remove the d% icon from the radial menu, so that custom die can show up? I would rather have the custom die menu rather than a d%

    Cheers

  5. #5

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,398
    Quote Originally Posted by neilgfoster
    Hi there,

    Yes, Doswelk is right. I can create custom d10's no problem, and roll them using the /die command, however they do not appear on the radial menu when right clicking on a die.
    You have to modify the d10's radial menu - there is not link between a custom die and the radial menu unless you make one. The link I gave you gave the syntax of the control that builds the radial menu.

    Do you know if it is possible to remove the d% icon from the radial menu, so that custom die can show up? I would rather have the custom die menu rather than a d%
    Yes, see above. It should not be that difficult because you can use the custom die icon from the d6. The only question is do you need a sub menu like the d6 one or do you just have one custom die like it's done with the d100. Either way you can look at the code for the d6 or d100 and just change what you need. If you have any experience with programming, likely the hardest thing will be finding the location of the script/controls of the dice radial in the ruleset you are using.

  6. #6
    I don't think you *can* remove the d% because it is a built-in entry on the radial menu. I also think it is impossible to override a built-in radial menu item with a custom entry, so the d10 menu is full.

    We had this problem with the Rolemaster ruleset.

  7. #7

    Join Date
    Mar 2006
    Location
    Arkansas
    Posts
    7,398
    First neilgfoster, StuartW and Doswelk are correct that d100 stops the standard use of custom d10s. I'm embarrassed to say I drew a mental blank on this until I sat down and actually looked at a ruleset - despite Doswelk's pics.

    Second, once I realized that last night, I messed around with this and did get the d100 to throw a single d10 by commenting out the d100. It may be possible to use chatwindow.onDiceLanded to process this d10 as your custom dice if the type die is different from a d10 in the draginfo but I had to go to bed before I could verify whether this approach would work.

    Even if that idea would work this would still only give you one custom d10 at the cost of the d100.

    My other idea is to use a custom d20. Long before the "diamond" d10s and ten-tens were available people used d20s as d10s and d100s (I remember crayoning those damn dice). The advantage of this approach is you could have several custom d10s, you wouldn't have to mess around with onDiceLanded and it would preserve the d100.
    Last edited by Griogre; October 1st, 2010 at 18:51.

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