In-game Dice Rolling

Non game or out of character posts

Moderator: Priest

User avatar
carnage_lee
Admin
Admin
Posts: 2324
Registered for: 18 years 6 months
18
Location: Orpington, Kent, UK
Contact:

In-game Dice Rolling

Post by carnage_lee »

We've installed a new MOD on the forum to allow members to 'roll dice' on the forums.

The MOD has a number of features but it's only a beta and development on it is patchy and some features we might like are not supported.

We've tested the MOD over the past few weeks and think it's worth releasing in spite of it's shortcomings.

Here's a quick overview:

The Dice Roller is accessed via two new BBCodes, the BBCode is parsed when you make a post and the result is lodged in the database - when the post is viewed the roll is retrieved and presented in the text. Dice rolls can't be edited once the post is submitted - Keepers can remove the rolls if they wish (as Moderators). One of the features I liked was the ability to see representations of the dice making up the roll, as inline images.

How to Roll some Dice:

The BBCode supports the following syntax - 'the number of rolls, the dice type =/- modifiers' (this follows standard RPG dice rolling)

So three six sided dice plus 2 becomes : 3d6 +2
To roll this you would do this:

Code: Select all

[dice]3d6+2[/dice]
And that renders in the post like this:
[dice]1[/dice]

This is the same as using he modes 'string' and 'total' together. We've chosen this as the default setting as it's the most useful when representing a dice roll.


There are some additional 'modes' that you can access:
total, string and quote (usage of these is straight forward - but quote does not actually do what it implies ) - here are the details:

Code: Select all

[dice=total]3d6+2[/dice]
[dice=total]2[/dice]
This just gives the total... the end result.

Code: Select all

[dice=string]3d6+2[/dice]
[dice=string]3[/dice]
'string' lists the dice rolled... it also has the total listed.

Code: Select all

[dice=string,total]3d6+2[/dice]
[dice=string,total]4[/dice]
'string and total' - same as the first roll example as we've made the default methods list both the roll and the total.

Code: Select all

[dice=quote]3[dice]
[dice=quote]3[/dice]
Quote: Actually quotes the referenced roll in the same post - counting starts at zero so this quotes the 4th dice roll in this message - which is the roll above. This is the only way to reference the dice roll in the same post (as the roll is made once posted).


Limitations:
The math support is pretty basic - best to keep to simple + and - amounts.
There is no support for multiple dice type in the same roll - so no 2d6+1d4 types of roll.
There is no handy direct way to tag what the roll is for.
There's no support for 'keep best three' types of roll.
As dice rolls are not made until you post the message you can't know the outcome until you post the message and once that's done you can't change it.
20 Dice rolls per post, no more than that.
User avatar
carnage_lee
Admin
Admin
Posts: 2324
Registered for: 18 years 6 months
18
Location: Orpington, Kent, UK
Contact:

Re: Welcome to the Dice Roll Forum

Post by carnage_lee »

The following Dice are supported:

4 sides
[dice]0[/dice]

6 sides
[dice]1[/dice]

8 sides
[dice]2[/dice]

10 sides
[dice]3[/dice]

12 sides
[dice]4[/dice]

20 sides
[dice]5[/dice]

100 sides (percentage)
[dice]6[/dice]

All die apart from d100 have accompanying images that can be displayed instead of just numbers - if you want to view images you have to make that change on your UCP (User Control Panel) -- Board Preferences -- Edit display options -- Display dice (the options are Text, Bajahs Red or Classic Steel) - the Bajahs Red images are smaller than the Classic Steel ones.
DrPeterson
Disciple
Disciple
Posts: 2182
Registered for: 11 years 4 months
11
Contact:

Re: In-game Dice Rolling

Post by DrPeterson »

Yay!

I was starting to believe Invisible Castle was plotting against us!


[dice]1[/dice]
[dice]0[/dice]
"He said we were all cooked but we were all right as long as we did not know it. We were all cooked. The thing was not to recognize it."
User avatar
carnage_lee
Admin
Admin
Posts: 2324
Registered for: 18 years 6 months
18
Location: Orpington, Kent, UK
Contact:

Suggested Useage

Post by carnage_lee »

You can use the in-game dice like this:

Example

Harvey took a look around the room that he had been shown into, it appeared to be some kind of study; one wall was mostly lined with book-shelves, opposite a small table and two very comfortable looking wing-backed armchairs were set on a large rug by the open fire place. What held Harvey's attention however, was the leather topped desk positioned in front of the windows, various files and papers were stacked on each side. If this was Sir Thomas' study then there might be a diary or appointment book and that ought to be on the desk... dare he take a quick snoop? Soames was bound to be back shortly but if there were any evidence to link Sir Thomas to the odd goings on in the village then this might be his best chance.

His mind made up, Harvey quickly made his way over to the desk and started to quickly search, mentally crossing his fingers that he had time...
Harvey Walters conducts a fast search,Spot Hidden(45%) [dice]0[/dice]
User avatar
Cearlan
Keeper
Keeper
Posts: 1916
Registered for: 17 years 2 months
17
Location: South Shields; Tyne & Wear; UK
Contact:

Re: In-game Dice Rolling

Post by Cearlan »

Is this for general release yet or just selected games? If it is a general release can it be linked to, for example, my two games.

Like Dr P said, Invisible Castle, good though it may be, can be a temperamental beast when it wants. I prefer the Bajahs Red over Classic Steel personally

[dice]0[/dice] spot hidden
[dice]1[/dice]
Playing;
Paris: City of Tears
Horror on the Orient Express

Keeping;
The Curse of Nineveh
DrPeterson
Disciple
Disciple
Posts: 2182
Registered for: 11 years 4 months
11
Contact:

Re: In-game Dice Rolling

Post by DrPeterson »

[dice]0[/dice]
"He said we were all cooked but we were all right as long as we did not know it. We were all cooked. The thing was not to recognize it."
User avatar
PatGrillo
Acolyte
Acolyte
Posts: 186
Registered for: 10 years 11 months
10
Contact:

Re: In-game Dice Rolling

Post by PatGrillo »

[dice]0[/dice]
User avatar
PatGrillo
Acolyte
Acolyte
Posts: 186
Registered for: 10 years 11 months
10
Contact:

Re: In-game Dice Rolling

Post by PatGrillo »

lol. That's a good start!
DrPeterson
Disciple
Disciple
Posts: 2182
Registered for: 11 years 4 months
11
Contact:

Re: In-game Dice Rolling

Post by DrPeterson »

Oh no! Invisible castle has invaded the dice roller!
"He said we were all cooked but we were all right as long as we did not know it. We were all cooked. The thing was not to recognize it."
Post Reply

Return to “OOC Chat”

Who is online

Users browsing this forum: No registered users and 1 guest