PDA

View Full Version : GURPS Table.



YAKO SOMEDAKY
November 21st, 2013, 13:07
I'm digging in the GURPS ruleset and I removed all die, but I would like to put on the table 3d6, but they count on one single die, how should I proceed?
What files should I change?

I do this

5516

But i want this

5517
:)

Trenloe
November 21st, 2013, 16:59
I don't think you can directly do that with the built-in dice on the desktop.

You can create a dice panel/control on the desktop that when dragged/double clicked rolls 3d6.

For example, the dice in the Rolemaster ruleset are moved to the right side of the desktop as they are not used much. New controls have been made for the % roll, and other specific Rolemaster rolls (open ended, etc.) in a panel on the dekstop with widgets used to show the dice graphics (addBitmapWidget) and text (addTextWidget). When these are double-clicked they use the ChatManager.throwDice function to throw the dice, when they are dragged they produce the correct dragdata code that includes the relevant dice and functionality.

https://dl.dropboxusercontent.com/u/39085830/Screenshots/Fantasy%20Grounds/RMC%20Dice.jpg

Similar functionality is used in the Star Wars EotE ruleset to create the custom dice that uses. https://www.fantasygrounds.com/forums/showthread.php?19770-Star-Wars-Edge-of-the-Empire-ruleset

In this ruleset the desktop.xml file has a number of panels - once for each custom die. e.g. the dAbility panel that is used for the ability die (the green d8) has the location on the desktop and the class it uses for the controls - dAbility. This dAbility class is a windowclass that defines the size of the window within the panel and in turn uses a "diepanel" template within <sheetdata> for the actual die control (which is an FG generic control). The diepanel.lua script in this diepanel template control the onDrag and onDoubleClick functionality of this custom die control, and the initial icon of the control is set in the setIcon code in the onInit function.

Here's a screenshot of this ruleset's custom dice:

https://dl.dropboxusercontent.com/u/39085830/Screenshots/Fantasy%20Grounds/SW_EotE%20Custom%20dice.jpg

Hope this helps you get to do what you want...

YAKO SOMEDAKY
November 22nd, 2013, 09:50
It sure helped a lot, the idea was understood that I have to leave the table with more expensive GURPS, but have a huge problem I know nothing of programming: (maximum I do is take my chances in Photoshop or Illustrator.
I have "suffered" a lot to leave only 1d6 on the table. But anyway thanks for the tip, I informed the "creator" of the ruleset, now let's see if anything comes out.

Honken
November 24th, 2013, 17:50
Wait what?! Star Wars EotE ruleset? Where?

/H

Trenloe
November 24th, 2013, 18:07
Wait what?! Star Wars EotE ruleset? Where?
In the "other game systems forums" - or do a search in these forums for "Star Wars Edge of the Empire ruleset" - you'll find it pretty quickly. :)