-
April 5th, 2024, 07:49 #311
- Join Date
- Aug 2012
- Posts
- 95
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].
-
April 5th, 2024, 09:15 #312
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.
-
April 5th, 2024, 09:32 #313
- Join Date
- Aug 2012
- Posts
- 95
That works.
Thanks.
-
May 5th, 2024, 18:50 #314
- Join Date
- Jun 2021
- Posts
- 1
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.
-
May 6th, 2024, 01:09 #315
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.
-
May 16th, 2024, 23:36 #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.
-
May 17th, 2024, 02:33 #317
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.
-
May 18th, 2024, 15:21 #318
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)
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.
-
May 18th, 2024, 16:18 #319
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
-
May 19th, 2024, 00:43 #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 1 users browsing this thread. (0 members and 1 guests)
Bookmarks