DICE PACKS BUNDLE
Page 32 of 32 First ... 22303132
  1. #311


    How can I correctly write this formula?
    My A is not being picked up.
    I wanted a result rolled that has as a starting point -
    /die 2d8s4
    and then add to that another dice string which is -
    the value of [a] less 2 and then in a similar format but with a d6s4 .

    I seem to just be getting my extra bit (good on that front) but only a single d6s4 in addition , irregardless of the number I input ,I assume my number input is [a].

  2. #312
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,695
    Blog Entries
    1
    Sometimes you have to sully spell out the source eg:

    /die ([DAMAGE archaic ammo|a]-2)d6s4+2d8s4

    You cannot just add more /die commands you need to use standard syntax.

  3. #313

  4. #314
    I am trying to make a roll that adds to a value whenever player rolls it. In this case I have built a few "Stats" called Blood, Echo, Fortune, Mind, and Supplies, and put them in the stats box. Initially I was building this as a counter, so that players could increment (since generally they will increase this score), and am using the counter, e.

    Blood Resistance Counter.png

    I then built a roll using "add" at the front of the string - there are four different rolls, a d4, d6, d8, and d10. The string I wrote is pretty simple, and relies on two stats - I am asking it "add [Blood|e] 1d4 - ([Blood Protection|e])" I want it to add to the counter in e by 1d4, minus the counter in another stat called Blood Protection, which also utilizes a counter.

    Now, it took me a while to sort this out, but I managed to get it to work - I am pretty excited by that outcome.

    Initial status:

    Blood and Blood Protection Stats.png

    Rolls:

    Stress Rools against Blood Resistance Work.png

    Results on Character Sheet:

    Blood Resistance after Damage.png

    But that appears to be something only I as the GM can do. When players attempt to roll this against one another or against a NPC, they get "s'Could not find target state' | s'Blood'. I don't know why the roll works when I make it, but not when a player does. Any suggestion, or experience with this that could lead me to a place where players can make this roll?

    As an experiment, I updated the dice string to increment another field on the stat instead of the counter in |e. I used "add [Blood|a] 1d4 - ([Blood Protection|a]). That roll works fine for me, and I have not yet tested it on a player - hoping to do that today (See edit below - this did not actually work for me). If it works, I will probably just resort to using this field instead, but I thought I (and they) liked the feel of the counters. Any thoughts would be greatly appreciated!

    *Edit on 5/5/ around 4:14 PM: actually it turns out that using "add [Blood|a] 1d4 - ([Blood Protection|a])" gives me the ""s'Could not find target state' | s'Blood' " error, and the value will not update. Interestingly, if I set it as "add [Blood|a] 1d4 - ([Blood Protection|e])" it still works for me, but I have not tested this with players.
    Last edited by domesthenus; May 5th, 2024 at 21:16.

  5. #315
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,695
    Blog Entries
    1
    So players can only change/edit/update/delete records they own.
    Players only own their character sheets and any notes they create (and sometimes other extensions like Player Agency will add additional data types players can own).
    So players cannot directly edit another character or NPC.
    Under the hood there is code (OOBM) that allows things like damage rolls to be executed as the GM so that they work.

    Please share your campaign db.xml and full steps as to how I should test the use case.
    The add command should be using this OOBM but maybe its not working or has broken.

  6. #316

    d616 Dice Mechanic in FG?

    Not sure where to post this, so I'll start here.

    As anyone tried to duplicate the Marvel Multiverse d616 dice rolling mechanic in Fantasy Grounds?

    Seems like it should be pretty easy, but unfortunately I don't know enough about Unity FG programming to take a stab at it. And, I really don't want to give Roll20 a dime to be able to play the game online.

    In case you're not familiar, here is the die rolling mechanic from the rulebook.

    Any feedback is appreciated.
    WR

    ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++
    When you’re asked to roll d616, roll your three six-sided dice and add up the numbers.

    Example: You roll 3 5 4, so your total is 12.

    Note that when we list the results for a d616 roll, we always list the Marvel die as the middle die. Think of it as the number 1 in the 616.

    There is one special exception when you add up the dice. If your Marvel die comes up with a Marvel logo, that’s a Fantastic result. Count the Marvel die as a 6 instead of a 1 and then add up the numbers like usual.

    When we list an action check that has a Fantastic roll as its result, we use an M to represent the middle (Marvel) die. If the dice come up 6M6, that is an Ultimate Fantastic result, the best roll in the game.

  7. #317
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,695
    Blog Entries
    1
    You can 100% do that but it will need an extension.
    There is an example of a Dice Roll extension in the Forge.

    Please download it and see if you can determine how to do it.

    Things to consider before you start
    what will you call the roll? m616 is my suggestion (you should not use d616)
    is the roll always exactly 3d6 or do you add modifiers?
    in my mind i would also create a custom dice that actually displays an M on the 1 of the dice. I would also make that dice a red dice.

    See how you go - I dont think it will be too hard.

  8. #318
    Quote Originally Posted by damned View Post
    There is an example of a Dice Roll extension in the Forge.
    Please download it and see if you can determine how to do it.
    Can't find it, or it's called something other than "Dice" or "Dice Roll"?

    Things to consider before you start
    what will you call the roll? m616 is my suggestion (you should not use d616)
    d616 is the official term

    is the roll always exactly 3d6 or do you add modifiers?
    Straight 3d6 with mods, but I'm not looking to building an entire ruleset. All I want to do is have an FG interface that can roll d616 and tokens that interact with maps. Some of the data can be put in an XCore sheet, but only minimal. Players can manually add mods, the roll is the most important. [/QUOTE]

    in my mind i would also create a custom dice that actually displays an M on the 1 of the dice. I would also make that dice a red dice.
    The "M" and color would be preferred, color optional. The most important part is the M and 6 both = 6 against the dice total.

  9. #319
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,695
    Blog Entries
    1
    The reason I say dont use d616 in creating a new dice is that I think there are issues with calling a new dice roll d### it can be another letter at the start or your second character should not be a number - ofc I could be wrong.

    Create a custom roll:
    https://forge.fantasygrounds.com/shop/items/1541/view

    Create a custom theme:
    https://forge.fantasygrounds.com/shop/items/1588/view

    Change String Defaults:
    https://forge.fantasygrounds.com/shop/items/1389/view

    Build a new custom dice.
    https://www.fantasygrounds.com/forum...l=1#post707654

  10. #320
    Thank you for all the info, dammed. This is VERY cool stuff. Thank you for putting it all together for the community.

    Unfortunately, my programming days are a bit behind me (mostly due to age, experience, and life bandwidth). I was hoping someone out there already had this ready to go. I guess I'm going to "wing it" the hard way and have the players just roll d6s manually. Like I said previously, I refuse to give Roll20 a dime and not just because I have years invested into Fantasy Grounds.

    Thank you again for your advice and links.
    WR

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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
  •  
FG Spreadshirt Swag

Log in

Log in