Thread: Experimental APIs for FGU
-
March 18th, 2021, 18:38 #71
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
You should not override this. If the GM has specifically changed the distance calculation to what they want in their game; why would you override it for your internal distance calculation? That just means that your distance calculation does not equal the GM's expected distance calculation.
Regards,
JPG
-
March 18th, 2021, 18:52 #72
- Join Date
- Sep 2018
- Posts
- 75
I think the GM expects to get the right modifier in terms of the underlying PnP.
I am not on the "allow everyone to shoot themselves in the foot" side.
The philosophical stance aside, I am quite sure people would prefer the right modifier instead of message "this setting of the distance disables the following features x,y,z".
The PnP has a bad handling of distances on battlemaps, it has strange effects.
I will implement a option to disable "the correction of wrong imagecontrol settings". People can choose to shoot themself in the foot if they really want to.
But for the others which want the ruleset to automated the ugly calculations of the PnP away, I want to do this.
And I kind of know my users, a couple will click the controls just because they are there.
-
March 18th, 2021, 19:11 #73
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
I believe you are looking at this wrong.
You set up the ruleset to map to the ruleset rules in FG; and the GM has control whether to override those rules in their own maps. If they choose to use a different distance calculation, why do you care? There is no reason to "enforce" your "correction" on GMs.
Just use the distance as returned by the map "as is"; and apply whatever automation goes with those distances. Don't try to "fix" things; just apply it.
Most users won't even bother changing the units; so not sure why this is such a concern.
Regards,
JPG
-
March 18th, 2021, 19:25 #74
- Join Date
- Sep 2018
- Posts
- 75
It is a bit more complicated than just raw or not raw. I simplified it here. Always using the shown distance really does not give you the right results in every circumstance except the GM between melee and range rolls.
But ok we will not agree here.
I will use my own distance calculations, if the users pprefer it otherwise the will let me know.
In my experience is that people will change settings because they can and than complain that stuff doesn't work anymore. Already happened even if the option tooltips says what the effect will be.
I think everything is said.Last edited by Weltenbrand; March 18th, 2021 at 19:55.
-
March 18th, 2021, 19:45 #75---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
March 18th, 2021, 19:48 #76
- Join Date
- Sep 2018
- Posts
- 75
Gameelements.xml
-
March 18th, 2021, 20:04 #77
Oh wow, duh, thanks I almost never touch that so never remember it.
For what it's worth tho it's still not setting that on for me. Checking map and it's still 10 across when ti's half-way unless I toggle the raw distance option (which I thought would be set by the change). I'll dig around. Actually I've a good idea what this is, the campaign settings ... yep.Last edited by celestian; March 18th, 2021 at 20:09.
---
Fantasy Grounds AD&D Reference Bundle, AD&D Adventure Bundle 1, AD&D Adventure Bundle 2
Documentation for AD&D 2E ruleset.
Custom Maps (I2, S4, T1-4, Barrowmaze,Lost City of Barakus)
Note: Please do not message me directly on this site, post in the forums or ping me in FG's discord.
-
March 23rd, 2021, 19:29 #78
-
April 21st, 2021, 22:21 #79
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
These APIs have been moved to the developer API reference wiki. Again, please note that these are for FGU only.
https://fantasygroundsunity.atlassia...+API+Reference
Closing the thread for now. If you have specific issues with the APIs, please post in Workshop or House of Healing forums.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks