yl_dice: new mod to add a dice block you can roll #6280

Closed
opened 2024-02-11 18:13:47 +00:00 by whosit · 16 comments
Member

https://gitea.your-land.de/whosit/yl_dice

Screenshot 2024-02-11 143507

You can test it on the test server.

Craft from ivory_block + black dye.
Right-click to roll again without picking it up.

https://gitea.your-land.de/whosit/yl_dice ![Screenshot 2024-02-11 143507](/attachments/fd431197-5bc1-44a0-ba14-4a0f5c7b9d63) You can test it on the test server. Craft from ivory_block + black dye. Right-click to roll again without picking it up.
whosit added the
1. kind/enhancement
label 2024-02-11 18:39:04 +00:00
flux added the
1. kind/node limit
3. source/art
labels 2024-02-11 19:28:04 +00:00
Member

you also get particles and a little entity which shows what was rolled

image

you also get particles and a little entity which shows what was rolled ![image](/attachments/322f5298-fe3e-4112-be68-89074449bce0)
156 KiB
Member

nice bevel

image

nice bevel ![image](/attachments/3e626188-9c57-4f59-8c72-92ca11216ab7)
Author
Member

Using colorfacedir technology, all 8 colors use only one node ID, so it may be a good value for small cost - some new "tool" people can use for tabletop games within the game.

Thanks for testing btw :)

Using `colorfacedir` technology, all 8 colors use only one node ID, so it may be a good value for small cost - some new "tool" people can use for tabletop games within the game. Thanks for testing btw :)
AliasAlreadyTaken added this to the 1.1.123 milestone 2024-02-12 08:48:02 +00:00

Ready for QA? :P

Or did the Ecklair have additional wishes?

Ready for QA? :P Or did the Ecklair have additional wishes?
Author
Member

I realized this lacks sounds at the moment...
I guess simple block placing sound may be enough?

But function-wise it's done I think.

I realized this lacks sounds at the moment... I guess simple block placing sound may be enough? But function-wise it's done I think.
whosit added the
4. step/ready to QA test
label 2024-02-13 04:50:12 +00:00
Author
Member

be04e2c9..f5ed5518
using default sound...

I also recorded one myself: yl_dice_roll.zip
but not sure if it's good or worth adding...

https://gitea.your-land.de/whosit/yl_dice/compare/be04e2c9..f5ed5518 using default sound... I also recorded one myself: [yl_dice_roll.zip](/attachments/ae54a99f-4a38-4ee1-a3a9-c918ca515fa4) but not sure if it's good or worth adding...
Member

I also recorded one myself: yl_dice_roll.zip

i'm happy with that. i've got a recording of me shaking a boggle board somewhere, but that's too many dice.

> I also recorded one myself: yl_dice_roll.zip i'm happy with that. i've got a recording of me shaking a boggle board somewhere, but that's too many dice.

Taking some notes:

  1. Logging when the mod is loaded and how long it took
  2. Is there a way it could log the position, the playername who rightlicked and what number was rolled?
  3. Texture ivory + colour

There was a fourth one but I can't remember.

Taking some notes: 1. Logging when the mod is loaded and how long it took 2. Is there a way it could log the position, the playername who rightlicked and what number was rolled? 3. Texture ivory + colour There was a fourth one but I can't remember.
Author
Member

There was a fourth one but I can't remember.

Blacklisting it for pistons?
but that's harmless I think... And it allows to automate rolling :p

> There was a fourth one but I can't remember. Blacklisting it for pistons? but that's harmless I think... And it allows to automate rolling :p
Author
Member
  1. Logging when the mod is loaded and how long it took

don't really understand why mod itself should do this :p but alright...
here: 48193a70e3

  1. Is there a way it could log the position, the playername who rightlicked and what number was rolled?

sure... logging is done.

I also thought about storing the name of the last person who touched it in the infotext - not sure if it's needed?

  1. Texture ivory + colour

image

image

like this? - already commited

sound is in it's own branch, idk if I like it... I don't have a sound booth to reduce acoustics, or whatever makes it sound weird
https://gitea.your-land.de/whosit/yl_dice/src/branch/feature-mysound

> 1. Logging when the mod is loaded and how long it took don't really understand why mod itself should do this :p but alright... here: https://gitea.your-land.de/whosit/yl_dice/commit/48193a70e33dadbd0bceae89f1ecd70d29edee39 > 2. Is there a way it could log the position, the playername who rightlicked and what number was rolled? sure... logging is done. I also thought about storing the name of the last person who touched it in the infotext - not sure if it's needed? > 3. Texture ivory + colour ![image](/attachments/946d4dfb-904e-4d0e-87b0-d5271bc92ac0) ![image](/attachments/4c9146bd-e958-463a-8d9c-0ec9619c2627) like this? - already commited sound is in it's own branch, idk if I like it... I don't have a sound booth to reduce acoustics, or whatever makes it sound weird https://gitea.your-land.de/whosit/yl_dice/src/branch/feature-mysound
Member
> sound is in it's own branch, idk if I like it here's some more dice roll sounds, not sure if any are better: https://opengameart.org/art-search-advanced?keys=dice&title=&field_art_tags_tid_op=or&field_art_tags_tid=&name=&field_art_type_tid%5B%5D=13&sort_by=score&sort_order=DESC&items_per_page=24&Collection=
Author
Member

here's some more dice roll sounds, not sure if any are better:

https://opengameart.org/art-search-advanced?keys=dice&title=&field_art_tags_tid_op=or&field_art_tags_tid=&name=&field_art_type_tid%5B%5D=13&sort_by=score&sort_order=DESC&items_per_page=24&Collection=

They sound good, could chop them up and use as a sound group. What bothers me is that my dice roll is instant, but these sounds are of \dice rolling for a bit. That's why I chose the shortest sound from my recording session XD

This is called bikeshedding, right? XD

> here's some more dice roll sounds, not sure if any are better: > > https://opengameart.org/art-search-advanced?keys=dice&title=&field_art_tags_tid_op=or&field_art_tags_tid=&name=&field_art_type_tid%5B%5D=13&sort_by=score&sort_order=DESC&items_per_page=24&Collection= They sound good, could chop them up and use as a sound group. What bothers me is that my dice roll is instant, but these sounds are of \dice rolling for a bit. That's why I chose the shortest sound from my recording session XD This is called bikeshedding, right? XD
Member

but these sounds are of \dice rolling for a bit.

some of them are multiple dice, some are a singular die. there wasn't any way to filter them better though. and if the sound isn't "instant" it's easy to just edit it and clip off the initial silence.

> but these sounds are of \dice rolling for a bit. some of them are multiple dice, some are a singular die. there wasn't any way to filter them better though. and if the sound isn't "instant" it's easy to just edit it and clip off the initial silence.
Author
Member

Not exactly what I meant... You click yl_dice and it's already rolled. So the sound in my head is very short - a "click" long basically - and default_dig_cracky fits by length.
If I had some sort of animation of it rotating for 0.5 second at least, then longer rolling sound would fit nicer.
If no one cares about this, then sure, I could add a proper sounding dice... Just looks weird when it's static, but sound still goes on :)

Not exactly what I meant... You click yl_dice and it's already rolled. So the sound in my head is very short - a "click" long basically - and `default_dig_cracky` fits by length. If I had some sort of animation of it rotating for 0.5 second at least, then longer rolling sound would fit nicer. If no one cares about this, then sure, I could add a proper sounding dice... Just looks weird when it's static, but sound still goes on :)

QA

All good :P

Let's leave the piston thingy in until we can make it that the dice rolls when it receives a mesecon signal

QA All good :P Let's leave the piston thingy in until we can make it that the dice rolls when it receives a mesecon signal
AliasAlreadyTaken added the
ugh/QA OK
label 2024-02-16 09:53:16 +00:00
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2024-03-28 22:27:11 +00:00
Member

live

live
flux closed this issue 2024-03-28 22:51:06 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#6280
No description provided.