Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Mutants & Masterminds (http://forums.wolflair.com/forumdisplay.php?f=48)
-   -   (M&M 3e) BBCode Export (http://forums.wolflair.com/showthread.php?t=60956)

jmucchiello March 2nd, 2019 03:45 PM

Found another one:

When you use a custom descriptor, the XML output gives you:

<descriptors>
<descriptor name="- Custom Descriptor -"/>
</descriptors>

Of course the data is in the internal file:

<pick thing="pdsOther" index="490" batchindex="245" refcount="0" fieldcount="1" source="pwDescs">
<field id="pdsUserNm" text="My super special descriptor"></field>
</pick>

You just can't get it from the XML unless you parse the summary attribute.

jmucchiello March 4th, 2019 09:29 AM

I looked at the XML exported for Fate Core. It's practically empty. It lists only the skills. None of the other parts of Fate like backstory, aspects, etc. I guess that's why it's free.

Duggan March 5th, 2019 10:23 AM

Quote:

Originally Posted by jmucchiello (Post 276314)
Found another one:

When you use a custom descriptor, the XML output gives you:

<descriptors>
<descriptor name="- Custom Descriptor -"/>
</descriptors>

Of course the data is in the internal file:

<pick thing="pdsOther" index="490" batchindex="245" refcount="0" fieldcount="1" source="pwDescs">
<field id="pdsUserNm" text="My super special descriptor"></field>
</pick>

You just can't get it from the XML unless you parse the summary attribute.

FWIW, the relevant bit of code is in the "xopower" procedure, available in the editor:

Quote:

~add all descriptors on the power
childnode = xml[node].addchild["descriptors"]
foreach pick in focus.gizmo from PowerDesc
grandchild = xml[childnode].addchild["descriptor"]
xml[grandchild].attr["name"] = eachpick.field[name].text
nexteach
Unfortunately, the ability to replace procedures is very limited due to that you have to change all of the references to them, so this is something that Lone Wolf would have to fix, and they haven't been doing a lot of that.


All times are GMT -8. The time now is 06:25 AM.

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