-
December 4th, 2022, 04:49 #2481
-
December 5th, 2022, 13:57 #2482
- Join Date
- Jun 2020
- Posts
- 538
Hi! I'm just poking around in the SW FFG implementation, which looks really well done! I am interested in the system so I might be learning it soon myself. I was just curious, were the .mod files excluded from the Forge build for copyright reasons?
-
December 5th, 2022, 15:57 #2483
I tried to post them but they wouldn't let me because of some legal mumbo jumbo. Long story short they said I would have to get permission from Fantasy Flight Games. It seemed like a big headache so I just kept them to the google cloud. Turns out when you do things in a official capacity there are a lot of hoops to jump through.
Maybe we could come up with a way to notify people of updates to the libraries on the main page so they don't have to rely on the latest post.
-
December 5th, 2022, 16:33 #2484
- Join Date
- Jun 2020
- Posts
- 538
Got it thanks for the explanation!
You could also do this within the ruleset. One way to do that would be to use the Interface.openURL function which supports a callback as the second parameter allowing for simple GET requests.
You’d then need an API that can get what the latest version is, and compare to some value in the module, and tell the User if there’s an update available. The Interface.openURL method also prompts for permission, so it would need to be a “Check for Updates” button.
It’s definitely doable though. Not sure if Google’s API could be used as that may require a token.
-
December 7th, 2022, 13:48 #2485
- Join Date
- Apr 2009
- Posts
- 1,098
-
December 11th, 2022, 14:49 #2486
- Join Date
- Apr 2009
- Posts
- 1,098
NEW RELEASE!
Version 2022-12-11
Unless mentioned, the fix or improvement is for both Genesys and Star Wars.
Fixes:
Small code updates and bug fixes.
NEW Features:
- StoryPoints (Genesys) / Destiny Points (Star Wars):
GMs can now manually add/subtract tokens directly to each pile, by using Control+Mouse Wheel
How to download the new version:
FG Unity:
You can subscribe to both rulesets in FG Forge. This will ensure that they are automatically downloaded whenever I upload a new version.
(P.S.: everytime I upload a new version here in the forums, it may take a few hours for it to show up in Forge, as it requires Moderators to approve)
(P.S.: If you have already done this before, you only need to click "Check for Updates" in FG Unity, and the download will start)
To subscribe and download the rulesets, follow the links:
Genesys: https://forge.fantasygrounds.com/shop/items/143/view
Star Wars: https://forge.fantasygrounds.com/shop/items/159/view
(Remember, if you want to use the Star Wars ruleset, make sure to subscribe/download BOTH)
FG Classic
This update is NOT compatible with FG Classic
I can no longer maintain the code in a way that it works with the old client, I am sorry
You can use an older version of the rulesets, downloading from the google drive link below
Modules and other extensions need to be downloaded from the above link below
https://drive.google.com/drive/folde...R-?usp=sharing
Subscribe/Download the Genesys ruleset even if you are playing Star Wars
-
December 12th, 2022, 15:40 #2487
- Join Date
- Jun 2020
- Posts
- 538
Hi johniba!
I'd like to propose a quick change in the Genesys ruleset to allow for Drag-n-Drop of the Dice. (Basically, click and drag on the dice pool roll button to pick up the dice, and then roll them in the chatbox.) This change will also keep the functionality of just clicking the button once as well!
You can get to this to work by editing two files:
In "classes/desktop/dieboxgen.xml" change the script for "dieboxgenroll" to:
Code:function action(draginfo) window.dieboxgencontrol.onDieboxButtonPress(draginfo); end function onDragStart(button, x, y, draginfo) action(draginfo); return true; end function onButtonPress() action(); end function onDrop(x, y, draginfo) window.dieboxgencontrol.onDrop(x, y, draginfo); return true; end
Code:function onDieboxButtonPress(draginfo)
Code:local draginfo = nil;
-
December 12th, 2022, 17:48 #2488
- Join Date
- Apr 2009
- Posts
- 1,098
Hi seansps
I removed dragging as a temporary fix. It was done a long time ago when beginning to work on the ruleset, since the die code came from the old Star Wars ruleset (and also in turn, it came from the Warhammer FRP3 ruleset)
I havent touched it yet because I still intend to rewrite the dieroll code, and also the drag to shortcut code.
Having said that, your code suggestion is very nice, so I am testing it right now, and will include in the next update if possible!
EDIT: Testing it here now, I now remember why I didnt turn if back on yet:
Depending on where you drag the dice from, the die rolling code will not identify who rolled the dice.
I will see if I can already update that as there will be a few places this can be an issue.
I may need to rewrite the dieroll code, but I have been postponing this for too long.Last edited by johniba; December 12th, 2022 at 17:52.
-
December 12th, 2022, 17:52 #2489
- Join Date
- Jun 2020
- Posts
- 538
No problem! And thanks for the context! If there's anything else you're having trouble nailing down, I can definitely help take a look
I'm learning more about FFG's system so I've been poking around in the ruleset here so I can try to get a handle on how it's run in FG currently!
-
December 13th, 2022, 07:25 #2490
- Join Date
- Dec 2021
- Posts
- 11
Hello I am experiencing a problem with dragging characters, specifically PCs, in the combat tracker. Whenever I do, this message pops up.Bugg.PNG
Edit: I updated my Versions of the Rulesets and now it works!Last edited by lmaofyou; December 13th, 2022 at 07:28.
Thread Information
Users Browsing this Thread
There are currently 3 users browsing this thread. (0 members and 3 guests)
Bookmarks