Fantasy Grounds Fridays Pre
View RSS Feed

Minty23185Fresh

A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)

Rate this Entry
This time I値l jump right in, create an extension, then slowly add more and more functionality to it. I値l explain, as I go along, what I am doing, and why. Plus I値l explore solutions to problems as they arise. It is quite a bit to bite off so this will assuredly require multiple blog posts.

First, to clean things up: in previous blogs I edited some of the ruleset files. I was exploring what the consequences were when certain changes are made to the ruleset files. I want to start with a clean development environment, so I値l restore all the files to their original condition. To do this I値l delete my development 5E and CoreRPG folders in the rulesets subfolder of the FG data directory. Then I値l create new development folders using the procedures detailed in 鉄hare the Battlemap (blog number 4).

To create the extension I値l refer to the Extensions section of the Ruleset Modification Guide. As explained in the Guide, I need to create a folder in the extensions sub folder of the Fantasy Grounds data directory. For the purposes of this blog, I値l name the folder EffectVisibilityFor5E. Then, again as detailed in the Guide, I値l create an extension.xml file. I値l start with a minimum number of elements for now.

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
 
<root release="3.0" version="3">
  <properties>
    <name>Effect Visibility Extension Project</name>
  </properties>
  <announcement text="5E Effect Visibility Extension"/>
  <base>
    <!-- Leave the base blank for now, test other functionality, e.g. -->
    <!-- (1) FG 都ees my extension -->
    <!-- (2) when started announcement appears in chat -->
  </base>
</root>
After saving my extension.xml file, I invoke Fantasy Grounds and create a new campaign called Effect Visibility. I leave the Username blank and choose the 5E ruleset. When I select the ruleset, the <name> as I defined it in my .xml file should appear as one of the selectable Extensions (as shown in this screenshot).

09a - Startup.png

After clicking 鉄tart I look for the <announcement> in the Chat box (as shown in this screenshot):

09b - Chat.png

Success and success!

I realize this post is short. In actuality I知 amazed I was able to even get this much done as I知 traveling in Andalusia. Hasta luego!

Until next time keep on role playing.

Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to Digg Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to del.icio.us Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to StumbleUpon Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to Google Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to Facebook Submit "A Neophyte Tackles the FG Extension - Effect Visibility (Revisited, Part 1)" to Twitter

Updated June 1st, 2016 at 10:20 by Minty23185Fresh

Categories
Uncategorized

Comments

Joshua Stream Pre

Log in

Log in