Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > Hero Lab Discussion
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old January 19th, 2012, 03:07 AM
So, I've been tempted to put together a custom BBCode output out for a while, but I was being lazy about learning how to parse the XML since XSD.exe chokes on it (it's got to do with nested elements, which it does not handle well). I decided to just roll my own and I finished it earlier today. It takes in an XML node and generates classes to store and read XML related to that item. The code is too crude for me to want to zip it up and post it, but you can find a copy at http://stackoverflow.com/questions/8...915129#8915129. Simple stuff, but it did the trick for me, or at least will once I figure out how to export a M&M character that uses all of the options.
Duggan is offline   #1 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old January 31st, 2012, 04:46 AM
So, it actually works rather nicely so far. I have a few fields like ChainedPowers and ChainedFeats which don't seem to get filled in even when I have a power with the Chained flaw, but I suspect that's an overflow from one of the other game systems. Next step is making it capable of generating the XSL file, which will require some refinements to do things like check for attribute types and whether a given element is unique in its location.
Duggan is offline   #2 Reply With Quote
morfiction
Junior Member
 
Join Date: Feb 2012
Posts: 8

Old February 14th, 2012, 05:44 AM
So I infer from this that Hero Lab does export to XML?
morfiction is offline   #3 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,502

Old March 24th, 2012, 06:02 PM
Yes. It's under Save Custom Output.
Duggan is offline   #4 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:12 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.