nightgyr wrote: ↑Thu Sep 27, 2018 4:05 pm
nightgyr wrote: ↑Wed Sep 26, 2018 2:28 pm
Curious if anyone has figured out how to edit alignment? I can see in the party.json where this (appears) to be stored (m_entitydata > 0 > descriptor > alignment) but changing this historic values only changes the log in game.
FYI to any interested, I think I did figure this out last night. This is in party.json.
Please note that some of this is theoretical and not all tested. I've tried to indicate where I'm guessing vs what I've actually tested myself.
Alignment is tracked in x,y coordinates on the alignment wheel. The X axis is Lawful to Chaotic, the Y axis is Evil to Good. Just like in geometry class, the coordinates determine the alignment you end up with, with a max position of 1, and a minimum of -1. For example, coordinates of 1.0,1.0 would be furthest up and to the right, which is Chaotic Good, whereas -1.0,1.0 would be Lawful Good.
The alignment section has two sets of values - one tracking historic position on the alignment wheel, and one that I
think tracks the start position for the
next change. I originally just changed the latter value and this didn't work, but it stands to reason it may then adjust your alignment after the next choice that influences it (untested).
As a result, I changed the last historic record AND the start position for the next adjustment, and this moved the dot to the proper place. I suspect (but have not tested) that if you do only the last historic record but not the other, you'll end up with your alignment shifting back the next time you have an adjustment.
"Next change" alignment vector path: m_EntityData > 0 > Descriptor > Alignment > Vector (change both x and y values to desired position)
Last historic (ie, current alignment) path: m_EntityData > 0 > Descriptor > Alignment > m_History > "X" > Position (where "X" is the number of the last change - in my case, this was 28).
Likely vector/position for alignments:
Lawful Good - X: -1.0 Y: 1.0
Neutral Good - X: 0.0 Y: 1.0
Chaotic Good - X: 1.0 Y: 1.0
True Neutral - X: 0.0 Y: 0.0
Lawful Evil - X: -1.0 Y: -1.0
Neutral Evil - X: 0.0 Y: -1.0
Chaotic Evil - X: 1.0 Y: -1.0