Exporting CR via XML?
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. |
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. |
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.
|
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. |
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. |
All times are GMT -8. The time now is 02:56 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.