FG Forge
Page 2 of 2 First 12
  1. #11
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    29,869
    Yep, looks like the FGC <token>.getSize and the FGU <token>.getSize API commands behave differently.

    I ran some testing using the Soldier NPC from the SWADE GMs guide, and using the BalleMap_outdoor1 map from the SmiteWorks battlemap module.

    In FGC <token>.getSize returns the size of the original token - in this case 100x100; which is then used to create the defeated marker.
    In FGU <token>.getSize returns the size of the token on the map - 40x40 (80% token scaling on a 50x50 grid).

    It makes more sense for the getSize API function to return the actual size on the map rather than the original size of the graphics file.

    This size is then used to set the size of the defeated marker - which is a % size, not a physical pixel size. In FGC the example I used is 100 - so the defeated marker is set to 100% of the grid. In FGU this will be 40 (in this example) and so the defeated marker will be set to 40% of the grid.

    As the FGC ruleset isn't being updated anymore, a simple fix is to use a defeated marker widget size of 100 in the FGU SWADE ruleset code - at line 75 in manager_tokenmarker.lua, replace the current nSize line with local nSize = 100;

    The above details are for the ruleset developer, I'm not expecting users to make this change themselves.

    In the meantime, I've attached a hotfix extension that should help with this issue. Copy this file to your FGU app data extensions directory, restart FGU (if it's running) and select "HotFix: SWADE FGU Defeated Marker Size" from the extensions list.
    Attached Files Attached Files
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  2. #12
    Trenloe!!! You are a freaking CHAMPION! You could have easily just let this go and you came through. If there were moderator Olympics.. you would win GOLD. Thank you very much! Your fix works like a charm!

  3. #13
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    29,869
    Quote Originally Posted by fredgar4 View Post
    Trenloe!!! You are a freaking CHAMPION! You could have easily just let this go and you came through. If there were moderator Olympics.. you would win GOLD. Thank you very much! Your fix works like a charm!
    Haha, you're very welcome! Glad it works.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #14
    Ikael's Avatar
    Join Date
    Jan 2008
    Location
    Finland/Joensuu
    Posts
    2,346
    Thanks for the report and great detective work here. I have addressed this issue in the ruleset v5.4.1 which will be released in either in week or two.
    "Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness

    Post your SavageWorlds ruleset feature requests and issue reports here!

  5. #15
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    29,869
    Quote Originally Posted by Ikael View Post
    Thanks for the report and great detective work here. I have addressed this issue in the ruleset v5.4.1 which will be released in either in week or two.
    Fantastic! Thanks.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Joshua Stream Pre

Log in

Log in