PDA

View Full Version : Party Sheet drawing area issue



MrSir
May 18th, 2022, 04:35
I've dropped assets onto the drawing area of the party sheet, using it as a quick encounter map. Now I am unable to delete or manipulate the assets.

LordEntrails
May 18th, 2022, 05:12
Yea, the party sheet is to be used for marching order, not for combats. Moon has commented that the whole thing needs to be revamped and there are some known bugs with it.

It also doesn't help you at the moment. I don't think you can remove them, but they won't be linked to the CT once you drop them on a different map.

Sulimo
May 18th, 2022, 05:14
As I recall, that is expected behavior, the Party Sheet is not intended to be used for encounters, only so you can set the formation. It does not work properly as an Encounter map, and was never designed to be used that way.

The only way I know to resolve that is to drag a larger asset over to the Party Sheet so it covers the other assets. At least without directly editing the XML, which I would not recommend

Mike Serfass
May 18th, 2022, 05:44
You can edit the campaign file directly.

Make sure FGU is closed.
Find the campaign folder. There is a folder named "campaigns" under the Fantasy Grounds folder. Under that folder is a folder named after your campaign.
Inside the campaign folder is a file named db.xml.
Make a backup of db.xml!
Open db.xml in a text file editor like notepad.
You need to find the following xml nodes. Child nodes are indented.
Look for <partysheet>. Under that is <image type="image">. Under that is <layers>. It will look something like this:
.....lots of other nodes...
<partysheet>
<public />
.....more nodes...
<image type="image">
<allowplayerdrawing>on</allowplayerdrawing>
.....more nodes...
<layers>
<layer>
.....more nodes...
</layers>
</image>
.....more nodes...
</partysheet>

The bold pieces above is what you want.
Replace the entire chunk of layers with <layers />. So <layers>......</layers> becomes just <layers />. That will be a fair number of lines.
Those are all the items drawn on the party sheet. If you look at the contents of the various <layer> child nodes, you'll see names of the images you dropped in there. That's what you want to delete.
Save the file and close it.
Open your campaign in FGU and check the party sheet.
If you mess up the file, close FGU, delete the edited db.xml, and copy your backup to a new db.xml and try again.
Keep the backup until you're sure the edited campaign file is good.
Ask for help if you run into trouble.