FG Spreadshirt Swag

Thread: XML format?

  1. #1

    Join Date
    Jan 2010
    Location
    Virginia, USA
    Posts
    219

    XML format?

    Hey all,
    Where, in a specific campaign folder, can I find the file(s) which contain the XML entries for NPCs, weapons, feats, monsters, etc.? Also, is there an XML format doc which explains the structure of each type?

    Thanks!

  2. #2
    Doswelk's Avatar
    Join Date
    Jul 2005
    Location
    Surrey, UK
    Posts
    2,681
    All the campaign data is stored in db.xml
    My players just defeated an army, had a dogfight with aliens, machine-gunned the zombies, stormed the tower, became Legendary and died heroically

    Yours are still on combat round 6

    Get Savage
    Ultimate License Holder.
    First GM to post a game for the original FG Con!

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,413
    Quote Originally Posted by Emrak
    Hey all,
    Where, in a specific campaign folder, can I find the file(s) which contain the XML entries for NPCs, weapons, feats, monsters, etc.? Also, is there an XML format doc which explains the structure of each type?

    Thanks!
    I'm not aware of any specific documentation for the entries. A lot of them will be different based on the ruleset used.

    For my Pathfinder Creature parser, I just looked at a few example creatures in the Bestiary module provided and worked the XML format out from there. You could do the same for the included modules (rules, bestiary, spells, etc) or add a few items you're interested into your specific campaign and see how they are stored in the db.xml file mentioned by Doswelk.

  4. #4
    Valarian's Avatar
    Join Date
    Mar 2007
    Location
    Worcestershire, UK
    Posts
    2,567
    Story Items, NPCs, PCs - stored in the db.xml in the campaign folder.
    Weapons, Feats, Monsters, etc. will be in modules. Copy and rename the .mod file in the modules folder to .zip. Extract and the data is in the common.xml/client.xml/db.xml file (depending on what type of module it is).
    The structures for weapons / feats / monsters are in utility_reference.xml (I think that's what it's called) in the ruleset.
    Using Ultimate license - that means anyone can play.
    Valarian's Fantasy Grounds Rulesets

  5. #5

    Join Date
    Jan 2010
    Location
    Virginia, USA
    Posts
    219
    Thanks for the info all!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in