inherit
200494
0
Dec 10, 2014 20:07:26 GMT -8
jai54jeans
3
September 2013
jai54jeans
|
Post by jai54jeans on Sept 29, 2013 3:16:42 GMT -8
I currently am trying to create a RPG site and I really need a dice. I installed the VDice plugin but I want two dices {I installed the advanced and the standard}. But I want members to be able to choose from either one and see which die is which.
Is there a way that I can make the dice be named something or have a pop-up appear above the die with its name?
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Oct 1, 2013 10:30:20 GMT -8
|
|
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 2, 2013 19:59:36 GMT -8
jai54jeans: Dice are differentiated by tags in BBCode mode of the editor and by graphics in the visual mode of the editor. So for example, you might have a tag such as [roll=magic] for one type of dice roll, and a second tag such as [roll=attack] for another type. You would have to use a feature called "aliases" in VDice Advanced to accomplish this. In the visual mode of the editor, the dice are simply represented by a placeholder graphic. You can customize the graphic, and you can have a separate graphic for previewable rolls (rolls where the user can see the outcome in the editor) but you're limited to just two types of placeholder: previewable placeholders, regular placeholders. When the dice actually appear in posts, you can customize them to look any way you want using VDice Advanced. If I understand your request correctly and you know for a fact that you're only going to use two types of dice, you could also use the following simpler approach: - Make two editor button images. We'll call them editor button A (for dice A), and editor button B (for dice B). - Make two placeholder graphics for representing dice A and dice B in the editor. - Configure VDice so that the standard roll uses the dice A editor button, the dice A placeholder graphic, and specify a special tag for it (such as [diceA]). Set the caption of the standard roll button to "Dice A" or whatever you like. This will show up when the user hovers over the button, and in the dialog for entering range if you allow the user to set ranges. - Configure VDice so that previewable rolls use the dice B editor button, the dice B placeholder graphic, and specify a special tag for it (such as [diceB]). Set the caption for the previewable roll button to "Dice B" or your preference. - Configure VDice advanced to use one set of templates for previewable (dice B) rolls, and another set of templates for standard (dice A) rolls. - The trickiest part: Since you probably don't want the dice B rolls to be previewable, you'll have to replace the code in "Preview Caption Style" in the "Previewable Rolls" settings tab with .vdice-preview a { display: none; } This will prevent previewable rolls from showing their values in the editor. By doing all of the above, you'll have created two different dice, with two different buttons, with two different placeholder graphics, and two different appearances when displayed. Alternatively, if you post the URLs of all graphics you'd like to use (for the buttons, placeholders, etc.) in this thread, I can plug in the settings for you and attach a preconfigured version of the plugin here. It will only take a few minutes, hence I don't mind. But if you want special graphics, buttons, etc., you have to make them on your own first.
|
|