Thread: CoreRPG and Dice Macros
-
May 30th, 2014, 17:56 #1
CoreRPG and Dice Macros
Hey programmers,
I like how the CoreRPG basic ruleset allows you some flexibility to create your own character sheets. It's pretty darn daunting to a newb to figure out that you could drag dice onto one of the abilities lines and it stores the dice. Those wikis are confusing as heck too. A nice tutorial or a "for-dummies" starter section would go a long way. (and not a youtube based one)
Anyway, my real point is this. I can see in the ruleset where it parses dice expressions. A really cool feature would be to be able to parse more complex dice expressions. It would go a very long way in helping further rulesets based on the CoreRPG. Such as what roll20.com can do.
if you want exploding dice you put a ! behind them like /roll 3d6!>4 and all 4s or greater then get rolled again and added.
or if you wanted to roll 8 d100's and drop the 3 lowest /roll 8d100d3 the d drops
if you wanted to roll a bunch of d6's and count how many successes such as /roll 3d6>3 this adds up a 1 for every roll over 3
or re-rolls lower than a certain number, like Brutal damage in 4E /roll 2d8r<2
This page https://wiki.roll20.net/Dice_Reference has a bunch of very useful expressions, that I could probably program myself in an extension, but you programmers might already have it for fantasy grounds.
If it existed, I could imagine using the "roll" section of an NPC in the CoreRPG to be able to create an extreme amount of different NPCs for different rulesets. Just by being able to type lists and lists of dice expressions in there, the section expands to hold a very large amount of text! Not to mention if you added a dice expressions section to the player character sheets.
Thanks
-
May 30th, 2014, 20:01 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,564
More advanced dice options are on the wish list currently.
They can be built as additions or extensions of the current ruleset code, or built into the FG engine. The challenge is in the prioritization with other features to make a more generally easier to use feature. The syntax for dice expressions is probably the simplest part to build; it's the back end logic that takes more work.
There are a few rulesets that already handle this customization of roll types in the ruleset code, but are fully formed rulesets. (Star Wars EotE, Savage Worlds, Rolemaster)
JPG
-
May 31st, 2014, 01:09 #3
Hey Moon Wizard - I think that this is a very common comparison between Roll20 and Fantasy Grounds. Whilst those with some coding skill can make the dice do anything and do it much more nicely than Roll20 - for the average user the non standard dice rolls and accessibility is a lot better over there....
-
May 31st, 2014, 02:44 #4
How about enabling dragging of /die XXXX commands to the CoreRPG character sheet? That would help a bit with doing custom dice.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
May 31st, 2014, 15:12 #5
I want to second this, because at the moment the Documentation on the Core ROG ruleset and how to get non standard dice to work is non existent as far as I can tell. So looking at R20 for some inspiration for dice Macros might be wise. But in general anything that makes stuff clearer for the user would be appreciated. Some basic LUA libraries for common non standard dice with EXTENSIVE commenting and a wiki page that explains everything so a layman can understand would be good as well.
Teamwork is essential, it gives them someone else to shoot at.
Read me: https://chaosmeister.games/
-
May 31st, 2014, 15:48 #6VenomousFiligreeGuest
I think that would help with my drop highest / drop lowest request.
-
June 1st, 2014, 21:06 #7
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,401
I really like this idea, Trenloe.
Adding better /die support to CoreRPG would make it a better generic ruleset and add more functionality to all the derived rulesets. I also believe that adding support for arbitrary die like a d7, etc is a good long term idea. The /rand works but you can't do something like /rand 8 + 2.
-
June 3rd, 2014, 04:06 #8
Any die type is now supported using the /die command - you just don't see dice being rolled as a random number generator is being used rather then the 3D dice mechanics. This includes the ability to have modifiers, e.g. /die 1d7+2. However, you can only do one die at a time, /die 2d7, for example, doesn't work.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
June 3rd, 2014, 04:53 #9
a much more comprehensive dice command line would be really useful...
-
June 4th, 2014, 00:54 #10
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,401
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks