FG Spreadshirt Swag
Page 2 of 6 First 1234 ... Last
  1. #11

    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    238
    Top

  2. #12
    Thanks Celestian!

  3. #13
    Thank you Celestian for this extension,

    I propose to modify 2 functions to make the extension compatible with the metric system and the decimal values.
    I tested and it works in foots and metric.

    In the file "image_record.lua" you have to modify:

    function getScaleControlScaleValue()
    -- return getScaleControlisValid() and tonumber(getScaleControlValue():match("[%d+%p+%d]-^[%s*]")) or 0
    local sLenScale=string.len(getScaleControlValue());
    local sLenScaleLabel=string.len(getScaleControlScaleLabe l());
    local sValScale=string.sub(getScaleControlValue(),1,sLen Scale-sLenScaleLabel);
    return getScaleControlisValid() and tonumber(sValScale) or 0;
    end
    and ...
    function getScaleControlScaleLabel()
    -- return StringManager.trim(getScaleControlValue():gsub("^% d+%s*", ""))
    return StringManager.trim(getScaleControlValue():gsub("^[%d+%p+%d]+%s*", ""))
    end

  4. #14
    Quote Originally Posted by heedio View Post
    Thank you Celestian for this extension,

    I propose to modify 2 functions to make the extension compatible with the metric system and the decimal values.
    I tested and it works in foots and metric.

    In the file "image_record.lua" you have to modify:



    and ...
    I'll give these changes a spin and post for you to test sometime this week. Thanks for the tweaks!
    ---
    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.

  5. #15
    Okay, try this version out and let me know if it works for you. My initial testing showed it worked.

    If it works for you I'll update the top post.
    Attached Files Attached Files
    Last edited by celestian; August 27th, 2018 at 18:45. Reason: Found issue.
    ---
    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.

  6. #16
    sirkerry's Avatar
    Join Date
    Dec 2015
    Location
    USA - TX - Houston (Spring Branch)
    Posts
    194
    Note: there's no reason to use this with the Savage Worlds rule set, it already has most of this functionality baked in.
    Native Texan. Tabletop Gaming since 1977. Ultimate License holder. Life-long Trekkie. Traveller fanatic. Die-hard Savage. OSR enthusiast. 1930's Pulp aficionado.
    Currently Running:
    Cypher System: Shotguns, Sorcery & Shenanigans
    Currently Playing:
    Shadowdark: ShadowRim Excursion
    Savage Worlds: Hell Divers
    Ambition & Avarice: Maelstrom Island
    Time Zone: Central Daylight Time (GMT-5)

  7. #17
    Quote Originally Posted by sirkerry View Post
    Note: there's no reason to use this with the Savage Worlds rule set, it already has most of this functionality baked in.
    Infact it would probably cause problems if you did use it since they do the same things. ;(
    ---
    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.

  8. #18
    sirkerry's Avatar
    Join Date
    Dec 2015
    Location
    USA - TX - Houston (Spring Branch)
    Posts
    194
    Quote Originally Posted by celestian View Post
    Infact it would probably cause problems if you did use it since they do the same things. ;(
    Actually it works just fine, the main problem just being that it removes the predefined small, medium, and large burst templates from the pointers.
    Native Texan. Tabletop Gaming since 1977. Ultimate License holder. Life-long Trekkie. Traveller fanatic. Die-hard Savage. OSR enthusiast. 1930's Pulp aficionado.
    Currently Running:
    Cypher System: Shotguns, Sorcery & Shenanigans
    Currently Playing:
    Shadowdark: ShadowRim Excursion
    Savage Worlds: Hell Divers
    Ambition & Avarice: Maelstrom Island
    Time Zone: Central Daylight Time (GMT-5)

  9. #19
    Quote Originally Posted by sirkerry View Post
    Actually it works just fine, the main problem just being that it removes the predefined small, medium, and large burst templates from the pointers.
    I would class that as a "caused" problem I imagine they both use the same xml entries which is why. (I've no experience running SW ruleset directly).
    ---
    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.

  10. #20
    Update:
    1.8 - Updates for 3.3.7 release.
    ---
    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.

Thread Information

Users Browsing this Thread

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in