Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   Hero Lab Discussion (http://forums.wolflair.com/forumdisplay.php?f=43)
-   -   JSON in Hero Lab Beta (http://forums.wolflair.com/showthread.php?t=62960)

manchuwook July 31st, 2019 08:20 PM

JSON in Hero Lab Beta
I'm super excited about this - has anyone gone through the export yet? I'm picking through it for the SR5 export... and... well it's a lot of, something.

TCArknight August 1st, 2019 05:02 PM

Tell me more. :)

Is it for the output character sheets or something else?

How does it work?

manchuwook August 3rd, 2019 09:23 AM

It the beta 64-bit version, if you click on 'Develop > Generate Character JSON' it will spit out a file in the JSON format. From there, I created a JSON class that imports it into a Javascript object (link to Typescript file).

Ideally, I'd prefer to use this over the XML exporter since HL still uses the old XSLT 1.0 library and it has far reduced capability than the newer specs. In my scenario, a decker/technomancer can import their character and I can turn around and spit out a workflow for combat, compiling, and others. The rules are pretty crunchy so having them all in one place would be nice.

manchuwook August 4th, 2019 12:14 PM

After some fiddling, I seem to have found something like attributes, as an example
actor.containers["131"]["fields"][0].final will get agility final value for the character, so I suppose I'll need to come up with some way to do a search on fields.

Necoya June 29th, 2021 05:12 PM

Did this go live? I have been praying for a Hero Lab JSON exported for Shadowrun 5e for years. I can't find the beta and I assume its over since its been nearly 2 years.

All times are GMT -8. The time now is 02:46 AM.

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