LordEntrails
September 12th, 2015, 19:36
This is a work in progress. When it becomes mature enough, we can see about having it added to the wiki if appropriate.
Please take a look and see if the way that I am laying this out, the notation, syntax and verbiage I'm using makes sense. I'm not a software developer, so when I refer to a "function", maybe that's not the right word I should use. Also, maybe their is a better or more standard notation that I should be using. Plus, I probably have some of the descriptions wrong. I'm working off of a very limited knowledge of the FG architecture.
Please comment and jump in anywhere. I've pasted the text below, could not attached the rtf file that I'm working in.
CoreRPG Architecture
This is intended as a dissection of the existing CoreRPG Ruleset for developers to use when developing custom extensions or other rulesets.
The structure of this document mimics the file and object structure of the ruleset itself. The nomenclature is as follows:
graphics/icons this is a folder with a path relatice to the base CoreRPG folder
base.xml (/graphics) this is a file in the CoreRPG/graphics folder
includefile (base.xml) this is a function or object call inside the base.xml file
The folder and file references (in parenthesis) may be excluded when talking about the function or file contained within the preceding folder or file. i.e. this document will present the structure in a hierarchical manner matching that of the actual folders and files.
CoreRPG this is the base folder in which all of the ruleset files are structured.
base.xml this is the primary declaration for what files are loaded when the ruleset is loaded.
includefile this function tells FG what xml files to load at ruleset initialization. These are usually xml files that define attributes and object.
script this function tells FG what Lua script files to load at ruleset initialization. Each script includes a name for later reference that the script can be reference by other entities. A script is a set of logical commands and code that are run against the database when executed.
gameelements.xml this is the file that defines the base tabletop settings.
die callout the position and type of dice that show up on the tabletop.
diebox ??
pollbox ??
viewerlistsettimgs ?? Displays the connected character portraits? Note that the referenced .png files do not exist, though similarly named ones do. ??
hotkeybar defines the hot bar at the bottom of the desktop
categoryselectionsettings ?? maybe this sets the icons for the hot bar??
tooltip this starts to defines the right mouse tool tip menu
distance ??
textsettings sets the color for...??
campaign this is the folder where campaign records (campaign specified storage such as stories, characters, items, etc) are specified. It also includes the CharManager script.
common this is the folder where common functions and templates such as buttons, windows, lists, records and toolbars are specified.
ct this is the folder where combat tracker functions are specified.
desktop this is the folder where the desktop window is specified and stores some scripts as well.
graphics this is the folder where the graphic definitions for fonts, frames, icons, portraits and the radial menu are specified.
ps this is the folder where the party sheet functions are specified and the scripts PartyManager and PartyLootManager.
ref this is the folder where reference templates and examples are specified.
scripts this is the folder where most of the Lua scripts are stored.
strings this is the folder where ???
utility this is the folder where the functions; calendar, options, modifiers, export, library, modules, effects, modifiers, and templates are specified.
Please take a look and see if the way that I am laying this out, the notation, syntax and verbiage I'm using makes sense. I'm not a software developer, so when I refer to a "function", maybe that's not the right word I should use. Also, maybe their is a better or more standard notation that I should be using. Plus, I probably have some of the descriptions wrong. I'm working off of a very limited knowledge of the FG architecture.
Please comment and jump in anywhere. I've pasted the text below, could not attached the rtf file that I'm working in.
CoreRPG Architecture
This is intended as a dissection of the existing CoreRPG Ruleset for developers to use when developing custom extensions or other rulesets.
The structure of this document mimics the file and object structure of the ruleset itself. The nomenclature is as follows:
graphics/icons this is a folder with a path relatice to the base CoreRPG folder
base.xml (/graphics) this is a file in the CoreRPG/graphics folder
includefile (base.xml) this is a function or object call inside the base.xml file
The folder and file references (in parenthesis) may be excluded when talking about the function or file contained within the preceding folder or file. i.e. this document will present the structure in a hierarchical manner matching that of the actual folders and files.
CoreRPG this is the base folder in which all of the ruleset files are structured.
base.xml this is the primary declaration for what files are loaded when the ruleset is loaded.
includefile this function tells FG what xml files to load at ruleset initialization. These are usually xml files that define attributes and object.
script this function tells FG what Lua script files to load at ruleset initialization. Each script includes a name for later reference that the script can be reference by other entities. A script is a set of logical commands and code that are run against the database when executed.
gameelements.xml this is the file that defines the base tabletop settings.
die callout the position and type of dice that show up on the tabletop.
diebox ??
pollbox ??
viewerlistsettimgs ?? Displays the connected character portraits? Note that the referenced .png files do not exist, though similarly named ones do. ??
hotkeybar defines the hot bar at the bottom of the desktop
categoryselectionsettings ?? maybe this sets the icons for the hot bar??
tooltip this starts to defines the right mouse tool tip menu
distance ??
textsettings sets the color for...??
campaign this is the folder where campaign records (campaign specified storage such as stories, characters, items, etc) are specified. It also includes the CharManager script.
common this is the folder where common functions and templates such as buttons, windows, lists, records and toolbars are specified.
ct this is the folder where combat tracker functions are specified.
desktop this is the folder where the desktop window is specified and stores some scripts as well.
graphics this is the folder where the graphic definitions for fonts, frames, icons, portraits and the radial menu are specified.
ps this is the folder where the party sheet functions are specified and the scripts PartyManager and PartyLootManager.
ref this is the folder where reference templates and examples are specified.
scripts this is the folder where most of the Lua scripts are stored.
strings this is the folder where ???
utility this is the folder where the functions; calendar, options, modifiers, export, library, modules, effects, modifiers, and templates are specified.