Thread: 5E - Matjam's Status Indicators
-
November 16th, 2020, 18:52 #21
That should be the latest version.. Could you post screenshot of what your seeing? I don't think its interference with another extension... I use quite a few and it has never interfered unless you use the 5e Enhancer though.
-
November 16th, 2020, 20:40 #22
- Join Date
- Dec 2017
- Posts
- 39
Here is an example:
Screenshot 2020-11-16 153932.png
As you can see the blood and thumbs up are small given how close I am zoomed in on this map.
-
November 16th, 2020, 21:47 #23
Strange.. might be due to the map size or, grid size?
Here is what it looks from my end.. with the same version.
Tip: Quick test.. with only Matjam's on couldn't hurt, just to rule out a conflict.
Screenshot 2020-11-16 at 22.44.46.png
-
November 17th, 2020, 01:17 #24
- Join Date
- Dec 2017
- Posts
- 39
So I did some testing.
1) Tested with only Matjam's on the same map (large) with small grid size (20x20): Indicators were very small, but this does rule out an extension conflict
2) Tested with large map vs. small map using the same grid size (50x50): Indicators were normal size, but this does rule out map size as a conflict
3) Tested with large map and a small map using small grid size (20x20) vs. big grid size (70x70): On a small grid size, Indicators were abnormally small. On a large grid size, Indicators were normal size. This means that the problem is definitely scaling based on the grid size, regardless of map size.
I then focused on testing various grid sizes, subjectively 30x30 grid or smaller seemed to really shrink the size and on a 20x20 grid you get what I posted above. Interestingly, there doesn't seem to be oversizing if you get bigger and bigger, meaning it seems to scale up fine.
Edit: Actually I have to recant the italicized statement above, scaling seems to be a problem, because if you really increase the grid size you can see it extend beyond the token.Last edited by Korav; November 17th, 2020 at 01:23.
-
November 17th, 2020, 22:50 #25
- Join Date
- Apr 2020
- Location
- Australia
- Posts
- 46
Adding the following after Line 186 in the status_indicators.lua file seems to solve my issues with sizing in FGU
Code:if UtilityManager.isClientFGU() then statusWidget.setSize(80, 80); -- 80% size end
Code:function applyBitmapToToken(tokenCT, bitmapName, tokenName) if tokenName == nil or tokenCT == nil then return end local nWidth, nHeight = tokenCT.getSize() statusWidget = tokenCT.addBitmapWidget(tokenName) statusWidget.setBitmap(tokenName) statusWidget.setName(bitmapName) statusWidget.setSize(nWidth, nHeight) statusWidget.setVisible(true) if UtilityManager.isClientFGU() then statusWidget.setSize(80, 80); -- 80% size end end
-
November 18th, 2020, 00:54 #26
- Join Date
- Dec 2017
- Posts
- 39
I made the change as described by 0m0n, repeating the tests I did above and it does indeed seem to solve my issue. Thanks 0m0n!
-
November 18th, 2020, 08:55 #27
-
November 23rd, 2020, 13:00 #28
- Join Date
- Dec 2017
- Posts
- 39
So I have a question... I assumed, maybe incorrectly, that the graphics for Save Indicators were shown also to players. I can confirm by running a local instance that the Blood Splatters do show up for the player, however, the Save indicators do not. Can anyone else confirm this behavior? Should the Save Indicators show for the players? Could it be related to the changes suggested by 0m0n (which I have made in my local copy)?
-
November 23rd, 2020, 13:10 #29
The original one did show to players.. I believe, you could do a test with the one that was not modified?
-
November 23rd, 2020, 13:18 #30
- Join Date
- Dec 2017
- Posts
- 39
I tested again with the original, unmodified version, and it does not show save indicators to players. It's strange though that blood splatters work without issue.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks