Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Dice Roller for games that use Polyhedral Dice

Blackthorn Hare
Registered User
Join date: 7 Jul 2004
Posts: 11
10-20-2006 10:59
Hey All,

I'm working on a virtual tabletop for playing D&D and other traditional RPGs. One challenge facing me is making a dice roller. Which of these avenues would seem most fruitful?

Scripting an object that simply returns a random number from a particular range of numbers (1-4, 1-6, and so on), and puts the results as a text string into chat? Like, "Blackthorn Hare rolls a d6 and gets a 4"?

Creating an actual die as a physical object that you could roll in a "dice cup" and then read the result?

Creating an object that chooses a texture at random and then displays it, showing a particular die result every time it's clicked?

Or some combination?

A HUD dice roller would be cool, too, but I don't have the scripting skills yet to make one.

Suggestions? Has anyone else already done this?
Oasis Perun
Registered User
Join date: 2 Oct 2005
Posts: 128
10-20-2006 17:01
I have a 6 sided die like the TSO die that i can give ya..not physical but may give ya a starting point.. IM me in game..or leave me an offline and ill drop ya a full perm one :)..

also try posting your scriptin questions in Scripting Tips ..you'll get a LOT quicker response ;)
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
10-20-2006 17:06
It's not at all obvious to me that the physics engine die will be particularly fair... especially if you start getting into the odd shapes you're likely to need for d!=6. Hmm... could be a fun project to do some statistics on the freebie die :)
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG
Luthien Unsung
Registered User
Join date: 13 Feb 2005
Posts: 409
10-20-2006 18:21
From: Blackthorn Hare
Hey All,

I'm working on a virtual tabletop for playing D&D and other traditional RPGs. One challenge facing me is making a dice roller. Which of these avenues would seem most fruitful?

Scripting an object that simply returns a random number from a particular range of numbers (1-4, 1-6, and so on), and puts the results as a text string into chat? Like, "Blackthorn Hare rolls a d6 and gets a 4"?

Creating an actual die as a physical object that you could roll in a "dice cup" and then read the result?

Creating an object that chooses a texture at random and then displays it, showing a particular die result every time it's clicked?

Or some combination?

A HUD dice roller would be cool, too, but I don't have the scripting skills yet to make one.

Suggestions? Has anyone else already done this?


There is a free rolling dice in your library.
_____________________
"Elen síla lúmenn' omentielvo."

http://slurl.com/secondlife/Winyah/132/181/104/


http://luthienunsung.wordpress.com/


http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=3558