RPTools.net

Discussion and Support

Skip to content

It is currently Sun Apr 23, 2017 2:40 pm 






Reply to topic  [ 6 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Kobold
 
Joined: Sat Apr 22, 2017 6:16 pm
Posts: 3
 Post subject: Use Real Dice Rolls?
PostPosted: Sat Apr 22, 2017 6:24 pm 
Hey, I'm currently working on a study project and came across RPTools.

The idea is to combine the physical elements of tabletop RPGs with digital ones
I thought to roll a real die, get the rolled value programmatically (undecided yet how I best do that) and use it as value for ingame dice-rolls.
For that I need to be able to communicate with the program from the outside via a script or something similar
Best case is that I click a button which gets the last rolled value and accepts it as a rolled die ingame

Do you know if something like that is possible with RPTools??

PS: I'm not sure if this is the wrong part of the forum for such kind of questions, forgive me if I posted this in the wrong place :mrgreen:


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7673
Location: Bay Area
 Post subject: Re: Use Real Dice Rolls?
PostPosted: Sat Apr 22, 2017 6:34 pm 
So, roll a real die and then enter it via an Wiki: input() and calculate the results with a formula?

_________________
Downloads:


Top
 Profile  
 
 Offline
Kobold
 
Joined: Sat Apr 22, 2017 6:16 pm
Posts: 3
 Post subject: Re: Use Real Dice Rolls?
PostPosted: Sun Apr 23, 2017 6:27 am 
I don't really want to manually enter the value i rolled
Let's say I get the value from a source outside of RPTools (as a method parameter if you will) and want to use it directly in RPTools


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1556
Location: Chicagoland
 Post subject: Re: Use Real Dice Rolls?
PostPosted: Sun Apr 23, 2017 10:14 am 
aliasmask wrote:
So, roll a real die and then enter it via an Wiki: input() and calculate the results with a formula?


No, I believe he means an external source would enter dice values directly into MapTool. (yes, this is possible with some code changes. @pirklbauer31, you make the dice and I'll help you with the code! :wink: )

Fyi, it has been done, see https://youtu.be/I1f30R42gfY?t=55 or https://www.youtube.com/watch?v=8po3SY3bBOU

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
 Offline
Kobold
 
Joined: Sat Apr 22, 2017 6:16 pm
Posts: 3
 Post subject: Re: Use Real Dice Rolls?
PostPosted: Sun Apr 23, 2017 10:26 am 
JamzTheMan wrote:
aliasmask wrote:
So, roll a real die and then enter it via an Wiki: input() and calculate the results with a formula?


No, I believe he means an external source would enter dice values directly into MapTool. (yes, this is possible with some code changes. @pirklbauer31, you make the dice and I'll help you with the code! :wink: )

Fyi, it has been done, see https://youtu.be/I1f30R42gfY?t=55 or https://www.youtube.com/watch?v=8po3SY3bBOU


Yeah something like that is exactly what I want to do ;)

Since I have to do this for a study project, can you give me some hints/reference documentation how I can get the values into RPTools? :)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 7673
Location: Bay Area
 Post subject: Re: Use Real Dice Rolls?
PostPosted: Sun Apr 23, 2017 11:23 am 
How do you want to record the physical dice rolls? Once you get those rolls in to a digital format, you can cut/paste all the data for MapTool to calculate your results.

_________________
Downloads:


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 6 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman