Just so you know, nodes and markers need to be sorted alphabetically by name when exported. The nodes need to be sorted alphabetically, grouped by how deeply nested they are.
Lets take the cyborg for example:
depth node name
0 bip01 pelvis
1 bip01 l thigh
2 bip01 l calf
3 bip01 l foot
1 bip01 r thigh
2 bip01 r calf
3 bip01 r foot
1 bip01 spine
2 bip01 spine1
3 bip01 l clavicle
4 bip01 l upperarm
5 bip01 l forearm
6 bip01 l hand
3 bip01 r clavicle
4 bip01 r upperarm
5 bip01 r forearm
6 bip01 r hand
3 bip01 neck
4 bip01 head
You would sort them by depth, and within each depth, sort them alphabetically.
So the proper order to sort them would be:
index node name
depth 0
0 bip01 pelvis
depth 1
1 bip01 l thigh
2 bip01 r thigh
3 bip01 spine
depth 2
4 bip01 l calf
5 bip01 r calf
6 bip01 spine1
depth 3
7 bip01 l clavicle
8 bip01 l foot
9 bip01 neck
10 bip01 r clavicle
11 bip01 r foot
depth 4
12 bip01 head
13 bip01 l upperarm
14 bip01 r upperarm
depth 5
15 bip01 l forearm
16 bip01 r forearm
depth 6
17 bip01 l hand
18 bip01 r hand
I'm not entirely sure about upper/lower case, but IIRC, halo lowercases node names when compiling the intermediate jm formats into tags.
For reference, this lines up with how halo sorts the cyborgs nodes:
Edited by MosesofEgypt on Jul 21, 2019 at 06:14 PM