inherit
214630
0
Oct 31, 2014 22:32:19 GMT -8
thudd224
1
October 2014
thudd224
|
Post by thudd224 on Oct 7, 2014 20:57:33 GMT -8
i m in process of rebuilding old site and need dice roller pluggin to show previewable dice rolls, i have already installed vdice to my server avidityadrift.freeforums.net/how do i do that
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Oct 15, 2014 17:27:52 GMT -8
thudd224: Settings for previewable dice are configured under the "Previewable Dice" tab in the plugin settings.
|
|
inherit
215246
0
Oct 24, 2014 16:47:39 GMT -8
dragonslayer22
1
October 2014
dragonslayer22
|
Post by dragonslayer22 on Oct 24, 2014 16:47:15 GMT -8
Hey Virgil,
Is it possible to have more than one dice configuration when I'm posting something? I mean, like, one dice that rolls 1-6, another one to insert a d12 dice (several dices to chose from when you are in reply mode)?
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Oct 26, 2014 16:55:42 GMT -8
dragonslayer22: Different configurations are possible using different "ranges", if "Use Dynamic Range" is enabled. The user types in a range when they insert the die. Hence a user might click the button and type in d12 under "range" to get a 12-sided die, or 1-6 to get a standard die. To enable this, check "Use Dynamic Range" under the "Range" tab in the plugin configuration. If you want to use custom graphics, etc. for different die types, or if you want to specify dice using words of your choosing (e.g. 20-sided, or coinflip), these can be configured in the "VDice Advanced" companion plugin. This can be a bit challenging, however, hence if this is what's desired and the VDA docs aren't clear for you, give me a description of what kinds of dice you're looking for and I can provide you with a pre-configured copy of VDA that meets your needs.
|
|
inherit
215360
0
Nov 14, 2014 3:26:37 GMT -8
tish66
2
October 2014
tish66
|
Post by tish66 on Oct 28, 2014 21:53:41 GMT -8
Hi, I have an enhancement request for you. We play various dice games on our forum, wondering if there is a way to calculate scores for the various games? Here's an example - somethingtodo.freeforums.net/thread/449/farkle-love-lifeRules
-You must score on every roll or you go bust. -You must score 350 before you can bank. -If you throw two 5s in the same roll, you can choose to turn the two dice into one 1 if it suits your roll (it usually does) Scoringa 1 = 100 a 5 = 50 three Xs = X00 (so three 2s = 200, three 3s = 300 etc.) with the exception of; three 1s = 1000 add a thousand for four of a kind; so four Xs = 1X00 and four 1s = 2000 add another thou for five of a kind and again for six of a kind (you will probs never use these tbh) a full straight 123456 = 4500
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Nov 1, 2014 10:56:39 GMT -8
tish66: That shouldn't be too difficult. I'm a bit backed up now, but give me a week and I shall oblige.
|
|
inherit
215360
0
Nov 14, 2014 3:26:37 GMT -8
tish66
2
October 2014
tish66
|
Post by tish66 on Nov 1, 2014 20:52:28 GMT -8
Thanks a bunch! Happy to help test it if you have a dev or test environment that I can access?
|
|
inherit
215638
0
Nov 7, 2014 9:58:54 GMT -8
tsinistar
1
November 2014
tsinistar
|
Post by tsinistar on Nov 7, 2014 9:58:54 GMT -8
Is there a way to remove the graphics and make the text fit the same size the post was made in, or at least be smaller?
I tried lessening the size of the dice graphics, but now I just get little dice and big jumbles of super big font numbers on top of them.
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Nov 8, 2014 15:51:45 GMT -8
tsinistar: You can reconfigure the font using the VDice style sheet as follows: - On the admin plugins page, click Build and then on the VDice plugin to open it up in the plugin builder.
- Under the Components tab, notice that one of the boxes is labeled "CSS". This contains all the CSS style settings for dice.
- The setting you're most likely interested in changing is this one:
/* Style for face value of a box die. */ .vdice-value { padding-top: 10px; font: bold 48px Times New Roman,serif; } Reduce the font size (48px) and the font padding (10px) to suit your preferences.
- When you're done, be sure to click Save Changes.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 2, 2014 9:46:59 GMT -8
Virgil SovereignI'm not sure if this is at all possible however on SHIELD some individuals are avoiding injury and taking risky decisions so I was wondering if there is any way you could help with this. Basically what I'm looking for is the dice roll to be a d10 (10 sided dice). The clause for failure is any number above 8 and any number below 3 What I'm wondering if you'd be able to help me build is an out of the box VDA build that would automatically increase the chances of landing on one of those range of numbers for failure each time the dice is rolled for that person. Can you please advise if this is even possible?
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Dec 5, 2014 16:36:45 GMT -8
Virgil SovereignI'm not sure if this is at all possible however on SHIELD some individuals are avoiding injury and taking risky decisions so I was wondering if there is any way you could help with this. Basically what I'm looking for is the dice roll to be a d10 (10 sided dice). The clause for failure is any number above 8 and any number below 3 What I'm wondering if you'd be able to help me build is an out of the box VDA build that would automatically increase the chances of landing on one of those range of numbers for failure each time the dice is rolled for that person. Can you please advise if this is even possible? Boy_Wonder: When you say "that person", do you mean you want the a range to mean different things for different users? That would indeed be tricky, albeit not impossible. It also seems antithetical to the concept of fair play. My strong recommendation would be that you stick with 1 range syntax (or alias) = 1 type of roll, regardless of user. As for weighted dice, that's easily accomplished within the existing framework via weighted ranges. In particular, a weighted range of 1-2w2,3-8w1,9-10w2 would increase the chances of failure from 40% (4/10) to ~57% (8/14).
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 5, 2014 23:44:29 GMT -8
That would work!
What I was looking for is how to set up an alias so that each time a dice was rolled in a thread (if possible) the chances of failure would increase as the odds would 'narrow'. Mainly so that if people decided to take risks each risk would be uh riskier XD
I was also looking for a way of doing two different dice colours beyond the standard white one but I'm not sure how to do that either (mainly how to host them, where to put them etc).
So risk could be a red d10 and chance could be a blue d10.
Risk is the only one that needs increasing failure chance
|
|
inherit
215816
0
Jan 22, 2015 21:54:01 GMT -8
bokvakk
4
November 2014
bokvakk
|
Post by bokvakk on Dec 7, 2014 12:04:11 GMT -8
Is it possible to make it so that the author of a tread are allowed to create custom aliases JUST for that tread? This would be useful for different games requiring different dice. I don't have much experience with coding and plugin-creation, but I understand if this is completely impossible.
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Dec 10, 2014 4:32:01 GMT -8
That would work! What I was looking for is how to set up an alias so that each time a dice was rolled in a thread (if possible) the chances of failure would increase as the odds would 'narrow'. Mainly so that if people decided to take risks each risk would be uh riskier XD I was also looking for a way of doing two different dice colours beyond the standard white one but I'm not sure how to do that either (mainly how to host them, where to put them etc). So risk could be a red d10 and chance could be a blue d10. Risk is the only one that needs increasing failure chance Boy_Wonder: For hosting the images, you can go into the Build mode of the plugin and upload them right into the plugin itself. Proboards will host them on its image server. You can then either use the URLs provided, or reference the graphics by their resource name, which is the code (usually the filename minus the stub) that appears next to the graphic in the plugin builder. What I gather is that you want different sets of "risk dice" such that a user who continues to roll failing rolls is required to roll dice with increasing risk penalties on subsequent attempts. Each set of dice would come with its own alias, probability distribution, and set of images (and/or layouts). For example: [roll=attack] (white dice)
If this fails, then
[roll=attack-] (slightly red dice)
If this fails, then
[roll=attack--] (red dice)
...and so on and so forth. Such a setup would be easily configurable in VDA. I could send you a prototype, but I would need to know how many levels of "penalty" you require as well as an idea of what you wanted the alias syntax to be. As for forcing specific users to use specific roll aliases by (for example) refusing to submit a post that contained dice at an incorrect risk level, this is possible but would require keeping track of a user's posts in multiple threads, which in turn would require user keys and significant modifications to the plugin. Unfortunately I don't presently have time to add a feature of this degree of sophistication. If you're a Javascript programmer, I could give you a rundown of what specific modifications would be required to the source to make this kind of feature a reality.
|
|
inherit
168679
0
Nov 18, 2012 17:03:07 GMT -8
Virgil Sovereign
Latet anguis in herba.
686
July 2011
syonidv
|
Post by Virgil Sovereign on Dec 10, 2014 4:51:34 GMT -8
Is it possible to make it so that the author of a tread are allowed to create custom aliases JUST for that tread? This would be useful for different games requiring different dice. I don't have much experience with coding and plugin-creation, but I understand if this is completely impossible. bokvakk: It's possible, but it would require admin intervention. Specifically, it would require that an admin take the data entered by a user about what types of rolls (s)he wanted, manually convert it to a Javascript-friendly format (using a set of rules I would provide), and then paste it as a new line at a specific location in the Javascript component of a plugin. Hence a user might request something like: I want two kinds of dice. One that uses the red 10-sided die images and that rolls 1-9 each 11% of the time and 10 just 1% of the time. I want to name this one 'blaster'. I also want another kind called 'superblaster' that uses the blue 20-sided die images and that rolls 1-9 with 10% probability, 10 with 5% probability, and 20 with 5% probability. You would convert this to something that looked like: addroll( 18091, "blaster", "1-9w11,10w1", "red10-$R" ); addroll( 18091, "superblaster", "1-9w10,10w5,20w5", "blue20-$R" ); You would then paste these new lines of code into the Javascript component of a plugin at a marked location, and it would make the "blaster" and "superblaster" rolls available for a specific thread (in this case, thread ID 18091). If this is acceptable, let me know.
|
|