Debinani
May 13th, 2009, 18:11
I'm working on a basic Paranoia XP ruleset and I just about have the character sheet done. I'd like to do something like what the Traveller extension does (which is what I used as a starting point) - which is to allow the user to click on a stat or skill and have a die roll automatically made on their behalf.
So I have the code to throw some dice via scripting - so I have that covered.
What I'd like to see happen is the following:
User double-clicks a skill
1D20 is rolled.
The difference between the roll and the clicked skill is calculated and displayed in the chat window. For example: "Bob rolls Hacking and succeeds by 7 points."
I'd also like to further extend that on the weapons list for attack rolls, where we take the difference, divide it by a number associated with the weapon, and compare that to an array of damage results.
So does anyone have some pointers on how I should go about piecing this together? Should I use custom dice or just do it all with script on the numberboxes?
So I have the code to throw some dice via scripting - so I have that covered.
What I'd like to see happen is the following:
User double-clicks a skill
1D20 is rolled.
The difference between the roll and the clicked skill is calculated and displayed in the chat window. For example: "Bob rolls Hacking and succeeds by 7 points."
I'd also like to further extend that on the weapons list for attack rolls, where we take the difference, divide it by a number associated with the weapon, and compare that to an array of damage results.
So does anyone have some pointers on how I should go about piecing this together? Should I use custom dice or just do it all with script on the numberboxes?