Senior Member
Join Date: Jun 2007
Location: Queensland, Australia
Posts: 195
|
Hi Folks,
Is it possible to export the CR of a character when exporting via XML? I can't seem to find it anywhere & I haven't played around with customising anything, so I wouldn't know where to start. Cheers, Jim. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
File->Save Custom Output... then select "Generate XML File" and press "Output". IE will open and you can see everything that HL just outputted in the XML.
Easiest way to see what you got. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Jun 2007
Location: Queensland, Australia
Posts: 195
|
Already managed that much! But it looks like the XML data doesn't contain the CR of the character. I've searched for "CR" & "Challenge Rating" in the xml & can't find anything.
|
#3 |
Junior Member
Join Date: Jan 2012
Posts: 26
|
Yeah, it doesn't have the CR in the creature XML. If you parse the raw POR file(which is just a zip), you can get the CR from the index.xml file. For example:
Quote:
Quote:
Quote:
However if a character has minions and so on, it doesn't look like they get their own XML entry. Their XML will still be in the character XML. They do get a character block with text and html file links though and have a listed CR. |
|||
#4 |
Senior Member
Join Date: Jun 2007
Location: Queensland, Australia
Posts: 195
|
I have a bit more time for a reply now. I was rather rushed with my previous reply...
Thanks for the replies ShadowChemosh & Dracones. I've written an iPad app for our Kingmaker campaign which imports characters using XML. The app then displays my own version of the statblocks with links to spells etc from the SRD. I also auto-extract minions as separate characters. I didn't realise the .por files were just zip files, so I could only go on what was in the xml output. Looks like I may have to change things to accept the .por, but I'm not sure how dealing with zip files will impact on the iPad. The best bet would be to open the .por file, extract what I need & save the xml locally. Thanks again for your help. Cheers, Jim. |
#5 |
|
|