-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: initial genesys dice #1
base: main
Are you sure you want to change the base?
Conversation
This commit includes the blend file for a tweaked version of the Quest Portal initial dice. It also includes a set of Babylon exports and a draft config file that can be used to roll Genesys dice using the current 1.0.5 dice-box repo. 1.0.5 does not support non d naming hence the dice all prefixed with d. This commit does not include die face mapping.
This commit includes a dice face mapping using magic numbers for the included Genesys dice
@frankieali I think this is now ready for an initial review. I've added a new set of more performant Genesys dice models. |
I'll take a look as soon as I can. A quick look at the genesys.json file looks good. I have to ask if you created the models yourself, and if not, then are they models that can be freely redistributed by a third party? Models taken/purchased from online market places are usually "Royalty Free License" for personal use or single project use, but this project, I believe, would fall under "redistribution". |
I had someone make them for me from scratch. They're good for redistribution 👍 |
Your dice set looks good. I've adjusted the parser in @3d-dice/dice-box to take into account any dice listed under "diceAvailable" in the theme.config.json file. I may move the |
Of course!
Anything you need from me?
…On Mon, 19 Sep 2022, at 9:15 PM, Frank wrote:
Your dice set looks good. I've adjusted the parser in @3d-dice/dice-box to take into account any dice listed under "diceAvailable" in the theme.config.json file. I may move the `.blend` file somewhere else in the project.
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCMZ5Q5JFU6DNDMDPDBEELV7DCX5ANCNFSM6AAAAAAQJZ5D6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I'm curious how the values add up for the symbols in Genesys. I see on your values map it can range from -7 to 7 in value. In the proof of concept I was working on, I just added up the symbol counts. Edit: I should describe this in more detail. So, for the collider face map, I just return the face numbers. If the faces have been triangulated, like on a d12, then triangles on the same face should return the same number.
Then, when displaying the actual results after the roll is complete, I map the number values to the symbol values like so:
Here, the letters represent the symbols found on the die faces. "a" = "advantage", "s" = "success" So, if "2dability" results in a 1 and a 7 then the final result is "3s, 1a". Why map the values twice? Well, the internals of the Dice Box wants to add together the totals for you before posting the results and it still expects numbers for that. This gets around triggering an error there. Perhaps in the future I can adjust that. |
I've made updates to Dice Box to allow for die names without the "d" prefix. In fact, the "d" prefix should only be used with numbered dice. Could you update the names here? |
I think I committed a readme which explains the values?
If not I can send one. I iterate through through the values and map them.
…On Mon, 19 Sep 2022, at 9:22 PM, Frank wrote:
I'm curious how the values add up for the symbols in Genesys. I see on your values map it can range from -7 to 7 in value. In the proof of concept I was working on, I just added up the symbol counts.
—
Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCMZ5SLD6PNFRW4RXSKKUDV7DDOVANCNFSM6AAAAAAQJZ5D6A>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This PR includes the blend file for a tweaked version of the Quest Portal initial dice.
It also includes a set of Babylon exports and a draft config file that can be used to roll Genesys dice using the current 1.0.5 dice-box repo.
As 1.0.5 does not support non "d" naming for dice so the dice all prefixed with d.
As you can see by the diff these exports are huge due to the strange geometry of the provided files. I intend to provide a better set of Gensys dice but I wanted to get this up quickly so 1) you wouldn't feel the need to do this for me (or others) 2) we can concretely work towards a better system for non-numeric dice.