-
June 15th, 2020, 21:44 #1
Ability Rolls Extension (CoreRPG)
MD Ability Rolls Extension - by Matrix Dreamer
(CoreRPG)
This extension has several methods used to generate character ability stats.
These methods can be accessed using the chat slash commands defined below or
through the dice button on bottom of character sheet.
The character sheet die will roll the default method when clicked, or
the GM may use the right-click radial menu to choose a method.
For GM to set the default method used by Players (where # is the method number)
Use: /mdrollsetdefault #
Roll Methods defined
-------------------------------------------------------------------------
DefaultMethod
--------------------------------------------------------------------
Use: /mdrollstats
For Players and GM this rolls the default method set by the GM.
Method1
--------------------------------------------------------------------
Use: /rollstatsm1
Common Name: 4d6drop
Generates six rolls by rolling 4d6 and dropping the lowest die.
Stats range from 3 to 18.
This is probably the most commonly used method.
Method2
--------------------------------------------------------------------
Use: /rollstatsm2
Common Name: 3up3down
Generates six rolls using the following calculations.
Stats range from 9 to 18.
This one generates a balanced mix of stats.
10 + d6
15 - d6
10 + d8
15 - d8
8 + d10
17 - d10
Method3
--------------------------------------------------------------------
Use: /rollstatsm3
Common Name: herostats
Generates six rolls by rolling 2d6+6.
Stats range from 8 to 18.
This one generates more "hero" like stats.
Method4
--------------------------------------------------------------------
Use: /rollstatsm4
Common Name: epicstats
Generates six rolls by rolling 2d6+8 (cap at 18).
Stats range from 10 to 18.
This one generates more "epic hero" like stats.
===============================
Some notes for developers:
I have learned much from working on this Extension, and welcome others to use my code as examples for their work.
I have found that these forums have very good people with generally good conversations, but sometimes lacking in specific information on Extension coding.
FG has almost nothing for documentation, and it can be quite difficult to find information on coding questions.
Features of note for coders interest:
- Save and retrieve settings for your extension (persisted settings by user)
- OOB communications (passing user defined messages back and forth between clients/host)
- Radial menus (two deep)
- Dice rolling and modifying results on the fly
Thanks,
"Ignorance is bliss.." -- Cypher
-
June 15th, 2020, 21:47 #2
Welcome to FG MatrixDreamer, and an awesome contribution.
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
June 15th, 2020, 22:15 #3
Welcome to the FG forums. Very cool extension, thanks for sharing.
Regarding your comments about finding information on coding questions - my recommendation to you is to ask those questions if you can’t find answers. There are various examples and some documentation, but as each ruleset can be different and an individual developer's needs can be quite unique, then it often will be the case that there isn’t info specific to your task at hand. So, if you can't find an answer to a question, then please ask that question, we don’t bite! :-)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 15th, 2020, 23:00 #4
Awesome work and thanks for sharing! A great way to contribute on your first post
If I could ask a favor... you say;
and welcome others to use my code as examples for their work.
Thanks!
https://www.fantasygrounds.com/forum...munity-Content
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
February 26th, 2021, 17:34 #5
- Join Date
- Jun 2020
- Posts
- 9
Hello, not sure if this extension is still supported. My players all get these types of errors on joining a FGC server or when another player joins it pops up for them, seams to be narrowed down to this extension after loading and unloading others to test.
Runtime Notice: s'Desktop initialized'
Runtime Notice: s'*** OOB getDefMethod sent' | { s'dest' = s'HOST', s'type' = s'MDAbilityRolls', s'from' = s'Tyson', s'subtype' = s'getDefMethod' }
Runtime Notice: s'*** button Received OOB message: ' | { s'defMethod' = s'1', s'from' = s'HOST', s'dest' = s'Tyson', s'type' = s'MDAbilityRolls', s'subtype' = s'setDefMethod' }
Runtime Notice: s'*** button Received OOB message: ' | { s'dest' = s'HOST', s'type' = s'MDAbilityRolls', s'subtype' = s'getDefMethod', s'from' = s'Tyson' }
-
February 26th, 2021, 20:30 #6
Try this. It needed an update for the new CoreRPG changes.
EDIT: made a mistakeLast edited by bmos; March 6th, 2021 at 00:47.
bmos' extensions
he/them
-
March 5th, 2021, 23:57 #7
- Join Date
- Jun 2020
- Posts
- 9
Sadly now it doesn't do anything, including roll stats per its commands. Using 5e ruleset. Thanks for trying!!
-
March 6th, 2021, 00:47 #8bmos' extensions
he/them
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks