Fantasy Grounds Fridays Pre
View RSS Feed

Minty23185Fresh

  1. A Neophyte Tackles the FG Extension - Lua Behind the Visibility Options

    In a previous post I detailed how I added additional effect visibility button options to the Combat TrackerĎs GUI. This time Iíll step through the process of adding the Lua to make those button options functional.

    Detour: This is post 18 in this series. I hope that by now, as a neo-developer, you have the confidence to do many things without the detailed instruction I have provided in the past. Iíll explain concept and intent but I wonít detail some of the more mundane code.
    ...

    Updated July 9th, 2016 at 05:52 by Minty23185Fresh

    Categories
    Uncategorized
  2. A Neophyte Tackles the FG Extension - Reducing Copied Ruleset Script Revisited

    In a previous post I detailed how I reduced duplicated lua script in my fledgling extension. Play testing the extension revealed a design error. The issue: Windows cannot resolve a folder path into a ruleset .pak file. (For background information, the reader might consider reviewing the prior post and in particular the first few comments attached to it.)

    An obvious remedy for the problem is to insert .pak into the path as it is specified in the extension.xml file. I had doubts, but ...
  3. A Neophyte Tackles the FG Extension - Reducing Copied Ruleset Script

    This time Iíll look at reducing the size of the manager_effect.lua file in my extension. Recall from last time, I copied that lua file, in its entirety, to my extension then added a single line of code to change the default behavior of an effectís initial visibility. Having nearly 1500 lines of duplicate code troubles me.

    Detour: Why is duplicating code bad practice? For one it bloats the size of your program, and for certain languages that can cause decreased execution speed. ...

    Updated June 16th, 2016 at 01:36 by Minty23185Fresh

    Categories
    Uncategorized
    Attached Thumbnails Attached Files
  4. A Neophyte Tackles the FG Extension - Change Effect Visibility with One Line (Part 3)

    Due to posting limits, I have had to split this session into three posts.
    This is part 3 of 3.


    (continued from part 2)

    To test the extension, I deleted all the effects that were applied to the Orc, saved all my edited files, and reloaded the ruleset. Once FG was up I started a second instance of FG and joined the campaign. In the second instance I loaded Zacchaeusís 20th level Paladin and brought up the Combat Tracker. Then I started a third instance of ...

    Updated June 9th, 2016 at 19:51 by Minty23185Fresh

    Categories
    Uncategorized
  5. A Neophyte Tackles the FG Extension - Change Effect Visibility with One Line (Part 2)

    Due to posting limits, I have had to split this session into three posts.
    This is part 2 of 3.


    (continued from part 1)

    Now to decipher the statement in line 535 (FG v3.1.7). The statement starts with ďDB.setValueĒ. From previous work for this blog series I know DB refers to the DB Package and setValue( ) is a function in that Package described in the XML and Scripting Reference. From the document I see that this statement writes data using the parameters ...
Page 1 of 3 123 Last
Joshua Stream Pre

Log in

Log in