FG Spreadshirt Swag
View RSS Feed

Uncategorized

Entries with no category

  1. A Neophyte Tackles the FG Extension - Effects and Visibility

    Over the next few posts I plan on explaining how I wrote my first FG extension.

    Since starting this blog I have tried to expose readers, particularly readers with little to no software development skills, to background information I felt would help them climb the FG extension learning curve more quickly. For a budding programmer there is a lot to learn, far more than can be conveyed in a blog. Supplementary reading is a must. Mostly, I hope to pique the critical thinking process, ...
  2. A Neophyte Tackles the FG Extension - Dumping DB's Field Names (2 of 2)

    This session I will implement some Lua script to dump database field names to the console.

    Two housekeeping items:
    (1) This blog is very long. I was required to divide it into two parts. This is part 2 of 2.
    (2) You should consider making your browser full-screen so that the code displays correctly.

    After saving the file, reloading the ruleset, and bringing up the character, my console information is as expected. Next step - implementing a terminating ...

    Updated May 18th, 2016 at 02:12 by Minty23185Fresh

    Categories
    Uncategorized
  3. A Neophyte Tackles the FG Extension - Dumping DB's Field Names (1 of 2)

    This session I will implement some Lua script to dump database field names to the console.

    Two housekeeping items:
    (1) This blog is very long. I was required to divide it into two parts. This is part 1 of 2.
    (2) You should consider making your browser full-screen so that the code displays correctly.

    I shall try to describe my tactics in solving a problem but not each and every step of their implementation. In a previous post I looked at the <inventorylist> ...

    Updated May 18th, 2016 at 02:13 by Minty23185Fresh

    Categories
    Uncategorized
  4. A Neophyte Tackles the FG Extension - XML and Lua, Why?

    Most, if not all programs, when stripped down to their very essence do one thing, manipulate data. That’s all Fantasy Grounds does: whether you are constructing a character sheet or rolling a d20 to determine surprise, FG is using your input, the data you supplied, in some predetermined process. FG uses two “languages” to provide extensibility. What do the two languages, XML and Lua bring to this table? XML is a standardized methodology of providing easy access to data. Lua is a methodology ...

    Updated May 18th, 2016 at 02:14 by Minty23185Fresh

    Categories
    Uncategorized
  5. A Neophyte Tackles the FG Extension - An XML Bag of Holding

    A little bit of Lua and a lot of XML…

    Let’s touch on variables. In a program, a variable is a place where data is stored. Variables have names, like x or myData or steve. Variables can have a type, which means they can only hold certain kinds of data, like a number, or a single letter of the alphabet. Some variables are very flexible and can hold anything, they are often referred to as objects. Lua’s variables are untyped, they are very flexible, one can think of them as objects. ...
Page 5 of 6 First ... 3456 Last
DICE PACKS BUNDLE

Log in

Log in