Main Menu

Anwyn

Novus 2nd Edition

Novus 1st Edition

Author Topic: Custom Dice Roller  (Read 656 times)

0 Members and 1 Guest are viewing this topic.

imported_Rasyr

  • Guest
Custom Dice Roller
« on: October 12, 2010, 05:24:25 PM »
Okay, I have added a new feature to the forums. A Dice Roller!

Right now, it is only available through regular posts, and does not work in Privte Messages (but I am working on that 


Code:

:oeDice [# of rolls],[sign][modifier]:






  • [# of rolls] - REQUIRED - You can do a maximum of 40 rolls at a time.
  • [sign][modifier] - REQUIRED - Here you can give a modifier either positive or negative. either way, if you include a modifier you have to include either a "+" or a "-" with it. This modifier will be applied to every roll made.   

Some samples of what the code looks like in use, followed by some examples of how it is displayed (note: each example has an extra space between the ":" and the "o")


Code:

: oeDice 3,+0:     : oeDice 3,+25:      : oeDice 3,-60:     






Code:

:dice [# of dice]d[size of dice][sign][modifier]



[/list]

  • [# of dice]d[size of dice] - REQUIRED - this is what you tell it to roll (i.e. 3d6 or 2d10 or 1d100, etc...) There is a maximum of 40 dice, and a maximum of 100 sides on the dice to be rolled.
  • [sign][modifier]Optional - any modifiers to apply to the roll. The + or - sign is required when using this option

Some samples of what the code looks like in use, followed by some examples of how it is displayed (note: each example has an extra space between the ":" and the "d")


Code:

: dice 3d6:      : dice 2d10+3:     : dice 1d100-30:  : dice 1d75:







Code:

:stats [# of dice]d[# of sides][sign][modifier],[drop lowest?],[# of times to roll]




[/list]

  • [# of dice]d[# of sides] - REQUIRED -  As with the dice function above, you have to say what you want to roll - 3d6, 4d6, 1d100, etc.. 
  • [sign][modifier] - Optional - Again, the + or - is required if you include a modifier to the roll. 
  • [drop lowest?] - REQUIRED - a simple "y" or "n" is all that is needed here.   
  • [# of times to roll] - REQUIRED - You have to tell it how many results to give you back.   


Some samples of what the code looks like in use, followed by some examples of how it is displayed (note: each example has an extra space between the ":" and the "s")


Code:

: stats 4d6,y,6:     : stats 3d10,y,8:




Stats rolled 6 times using 4d6 and dropping the lowest roll
4, 5, 5, 6:  16
2, 6, 2, 3:  11
6, 3, 2, 3:  12
1, 5, 4, 3:  12
4, 1, 4, 5:  13
5, 3, 3, 2:  11


Stats rolled 8 times using 3d10 and dropping the lowest roll
4, 6, 7:  13
7, 2, 10:  17
6, 8, 8:  16
2, 7, 1:  9
2, 9, 6:  15
10, 3, 8:  18
5, 5, 5:  10
1, 8, 10:  18


4) Fudge Dice

This one is for folks who play using the Fudge system (I included it because it was available - I wrote only the first dice function listed, the other three were made by others).

Syntax

There are no variables to be added, so to use this one, just use the word fudge with a colon ":" on both sides of the word with no spaces.

Example (I listed the code word 5 times in a row)

Rolling 4dF
Results = -, 0, +, +,  Total = +1

Rolling 4dF
Results = +, +, -, 0,  Total = +1

Rolling 4dF
Results = 0, 0, -, 0,  Total = -1

Rolling 4dF
Results = 0, +, -, 0,  Total = 0

Rolling 4dF
Results = -, +, -, +,  Total = 0


5) Open-Ended Percentile Dice - Alternate Formatting

This works just like Number 1, only this time, the display shows what each individual roll is. The syntax for using it is identical to that of number 1, only the keyword is different, oeRoll as opposed to oeDice.

NOTE: Even if you do NOT have a modifier being applied to the rolls, you MUST include a comma after the number of rolls to be made! I am working to correct this issue.

Here is a sample of what it looks like:



imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #1 on: November 04, 2010, 03:28:57 AM »
I even have an oe2d10 function Sample -        : oe2d10 10,+7 :  (just remove the spaces between the ":" and the call on both ends)




imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #2 on: November 04, 2010, 03:33:47 AM »
Rolling stats for Novus - 3d10, dropping the lowest roll, 8 rolls in total.

Stats rolled 8 times using 3d10 and dropping the lowest roll

8, 10, 1:  18
8, 1, 2:  10
9, 2, 4:  13
5, 4, 4:  9
8, 6, 3:  14
5, 9, 3:  14
6, 10, 8:  18
4, 6, 6:  12

Offline markc

  • Newbie
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Custom Dice Roller
« Reply #3 on: November 08, 2010, 01:47:12 PM »
What if I want to drop 3 rolls from a set?
MDC

imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #4 on: November 08, 2010, 02:03:28 PM »
then you have to do it manually - as the one that drops rolls only drops the lowest

imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #5 on: November 08, 2010, 03:51:44 PM »
Okay, just upgraded the forums this morning.

I have also made this custom dice roller into a Mod to be handled by the Package Manager. so this is a test...




imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #6 on: May 01, 2011, 09:05:57 PM »
I have now updated the dice roller to include Novus dice rolls....

1) Exploding/Imploding Novus Dice

The syntax for this is:



Code:

:novus [# of rolls],[sign][modifier]:






  • [# of rolls] - REQUIRED - You can do a maximum of 40 rolls at a time.
  • [sign][modifier] - REQUIRED - Here you can give a modifier either positive or negative. either way, if you include a modifier you have to include either a "+" or a "-" with it. This modifier will be applied to every roll made.   

Some samples of what the code looks like in use, followed by some examples of how it is displayed (note: each example has an extra space between the ":" and the "o")


Code:

: novus 3,+0:     : novus 3,+7:      : novus 3,-5:     





imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #7 on: May 01, 2011, 09:15:09 PM »

Offline dirsceol

  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Custom Dice Roller
« Reply #8 on: February 03, 2014, 08:23:31 PM »
Test




imported_Rasyr

  • Guest
Custom Dice Roller
« Reply #9 on: February 03, 2014, 08:41:04 PM »
Test successful!!

And welcome to the forums!!

Offline Obadiah

  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Custom Dice Roller
« Reply #10 on: January 05, 2016, 03:37:18 AM »
Testing this out



Offline Obadiah

  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Custom Dice Roller
« Reply #11 on: January 05, 2016, 03:38:06 AM »
Nice!

Offline dirsceol

  • Newbie
  • *
  • Posts: 0
  • Karma: +0/-0
    • View Profile
Custom Dice Roller
« Reply #12 on: February 28, 2016, 09:44:36 PM »
Refresher on syntax