Page 2 of 3 First 123 Last
  1. #11

    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    238
    Top

  2. #12
    yako2020's Avatar
    Join Date
    Sep 2012
    Location
    São Carlos, São Paulo - Brazil
    Posts
    934
    Thanks Celestian!
    [ULTIMATE LICENSE HOLDER][BRAZILIAN][GMT-3]
    [D&D 5 PLAYER][CALL OF CTHULHU PLAYER][SAVAGE WORLDS PLAYER][GURPS PLAYER AND LOVER]
    [FANTASY GROUNDS STREAMER ON TWITCH]


  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
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,010
    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!
    ---
    Coding the Official AD&D Ruleset
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays

  5. #15
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,010
    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 19:45. Reason: Found issue.
    ---
    Coding the Official AD&D Ruleset
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays

  6. #16
    sirkerry's Avatar
    Join Date
    Dec 2015
    Location
    USA - TX - Houston (Spring Branch)
    Posts
    71
    Note: there's no reason to use this with the Savage Worlds rule set, it already has most of this functionality baked in.
    Gaming since 1977. Ultimate License holder. Die-hard Savage. OSR enthusiast.
    Currently Running:
    nothing
    Currently Playing:
    nothing
    Time Zone: Central Standard Time (GMT-6)

  7. #17
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,010
    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. ;(
    ---
    Coding the Official AD&D Ruleset
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays

  8. #18
    sirkerry's Avatar
    Join Date
    Dec 2015
    Location
    USA - TX - Houston (Spring Branch)
    Posts
    71
    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.
    Gaming since 1977. Ultimate License holder. Die-hard Savage. OSR enthusiast.
    Currently Running:
    nothing
    Currently Playing:
    nothing
    Time Zone: Central Standard Time (GMT-6)

  9. #19
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,010
    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).
    ---
    Coding the Official AD&D Ruleset
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays

  10. #20
    celestian's Avatar
    Join Date
    Jan 2017
    Location
    DFW, Texas
    Posts
    2,010
    Update:
    1.8 - Updates for 3.3.7 release.
    ---
    Coding the Official AD&D Ruleset
    My Twitch Channel for AD&D and FG related streams (See schedule for live days)
    My YouTube for FG related Tutorials and AD&D Actual Plays

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
  •  

Log in

Log in