HalC
December 12th, 2018, 21:35
Hello Folks,
As I work with the software - I sometimes experiment with things just to see if I can make it do tricks that I otherwise couldn't. What will follow in this thread will be experiments that I've tried, whether the work or not, and why I might want to have that feature within my game. For instance, I installed the MOTD mod for use with FG, and it is a NICE thing to have. But if I want to modify the contents of that file without having to open up FG to make the change, it would be nice to know how that is done right?
Likewise, if you have handouts you want to make available for any given player - and for their eyes ONLY, the problem becomes one of "How do I do this?"
Quite simply? use the Notes aspect of Fantasy Grounds. When you click on the notes icon, it pulls up a directory of those notes that currently exist. As GM, you get to see if one of your players opened up a note, because it will show who owns it. If the note was created by the GM, it won't have any associated owner name with it. If it was created by a player, it will have the associated player name - and it will show whether or not it is a public available note (with that P next to the owner's name).
So, how does the GM add a new note that is viewable only by the player he wants to be able to see it?
Simple actually:
Edit db.xml file and look for the notes. This is a sample note from an ongong campaign...
<id-00008>
<holder name="Randy" owner="true" />
<locked type="number">1</locked>
<name type="string">William's smart Phone Directory</name>
<text type="formattedtext">
<p>location of Urban Ranger military surplus store</p>
<p>location of the Marksman</p>
<p>contact info of the nurse</p>
<p>Cell phone number of mary</p>
<p>Cell phone number of cathy (PLI)</p>
<p>contact info of Cop bar</p>
</text>
</id-00008>
The player wanted to be able to track what information his smart phone contains as far as contacts are concerned. Note that it says "holder name =" just underneath the <id-00008> entry. Had the note been entered by the GM, it would look like this instead...
<id-00008>
<locked type="number">0</locked>
<name type="string">William's smart Phone Directory</name>
<text type="formattedtext">
<p>location of Urban Ranger military surplus store</p>
<p>location of the Marksman</p>
<p>contact info of the nurse</p>
<p>Cell phone number of mary</p>
<p>Cell phone number of cathy (PLI)</p>
<p>contact info of Cop bar</p>
</text>
</id-00008>
So, simply adding the line <holder name="Randy" owner="true" /> (or if I had a player named Rob for instance, I'd use Rob in lieu of Randy) to the entry, and presto, it is now something that can be viewed only by its owner. If the note entry is to be viewed publicly - simply add the line <public /> to the line before <holder name="Randy" owner="true" />.
This is all stuff you can do using Notepad or Notepad++
As I work with the software - I sometimes experiment with things just to see if I can make it do tricks that I otherwise couldn't. What will follow in this thread will be experiments that I've tried, whether the work or not, and why I might want to have that feature within my game. For instance, I installed the MOTD mod for use with FG, and it is a NICE thing to have. But if I want to modify the contents of that file without having to open up FG to make the change, it would be nice to know how that is done right?
Likewise, if you have handouts you want to make available for any given player - and for their eyes ONLY, the problem becomes one of "How do I do this?"
Quite simply? use the Notes aspect of Fantasy Grounds. When you click on the notes icon, it pulls up a directory of those notes that currently exist. As GM, you get to see if one of your players opened up a note, because it will show who owns it. If the note was created by the GM, it won't have any associated owner name with it. If it was created by a player, it will have the associated player name - and it will show whether or not it is a public available note (with that P next to the owner's name).
So, how does the GM add a new note that is viewable only by the player he wants to be able to see it?
Simple actually:
Edit db.xml file and look for the notes. This is a sample note from an ongong campaign...
<id-00008>
<holder name="Randy" owner="true" />
<locked type="number">1</locked>
<name type="string">William's smart Phone Directory</name>
<text type="formattedtext">
<p>location of Urban Ranger military surplus store</p>
<p>location of the Marksman</p>
<p>contact info of the nurse</p>
<p>Cell phone number of mary</p>
<p>Cell phone number of cathy (PLI)</p>
<p>contact info of Cop bar</p>
</text>
</id-00008>
The player wanted to be able to track what information his smart phone contains as far as contacts are concerned. Note that it says "holder name =" just underneath the <id-00008> entry. Had the note been entered by the GM, it would look like this instead...
<id-00008>
<locked type="number">0</locked>
<name type="string">William's smart Phone Directory</name>
<text type="formattedtext">
<p>location of Urban Ranger military surplus store</p>
<p>location of the Marksman</p>
<p>contact info of the nurse</p>
<p>Cell phone number of mary</p>
<p>Cell phone number of cathy (PLI)</p>
<p>contact info of Cop bar</p>
</text>
</id-00008>
So, simply adding the line <holder name="Randy" owner="true" /> (or if I had a player named Rob for instance, I'd use Rob in lieu of Randy) to the entry, and presto, it is now something that can be viewed only by its owner. If the note entry is to be viewed publicly - simply add the line <public /> to the line before <holder name="Randy" owner="true" />.
This is all stuff you can do using Notepad or Notepad++