VS plugin mod for Basic Armour
Révision | f4d60a590f5da949c4a214d85256c4cba9f7e2a0 (tree) |
---|---|
l'heure | 2019-04-19 09:38:30 |
Auteur | ![]() |
Commiter | melchior |
Correct JSON patch path and data values (for attachment points)
@@ -0,0 +1,30 @@ | ||
1 | +[ | |
2 | + { file: "game:/shapes/entity/humanoid/seraph", | |
3 | + op: "add", | |
4 | + path: "/elements/0/children/0/attachmentpoints/1", | |
5 | + value: | |
6 | + { | |
7 | + "code": "ARMOUR_Chest", | |
8 | + "posX": "2.5", | |
9 | + "posY": "2.5", | |
10 | + "posZ": "3.0", | |
11 | + "rotationX": "0.0", | |
12 | + "rotationY": "0.0", | |
13 | + "rotationZ": "0.0" | |
14 | + } | |
15 | + }, | |
16 | + { file: "game:/shapes/entity/humanoid/seraph", | |
17 | + op: "add", | |
18 | + path: "/elements/0/children/0/children/2/children/0/attachmentpoints/1", | |
19 | + value: | |
20 | + { | |
21 | + "code": "ARMOUR_Head", | |
22 | + "posX": "3.0", | |
23 | + "posY": "2.5", | |
24 | + "posZ": "2.5", | |
25 | + "rotationX": "0.0", | |
26 | + "rotationY": "0.0", | |
27 | + "rotationZ": "0.0" | |
28 | + } | |
29 | + } | |
30 | +] |
@@ -1,12 +1,30 @@ | ||
1 | 1 | [ |
2 | - { file: "game:/shapes/entity/humanoid/seraph", op: "add", path: "/elements/??? /children/", value: | |
3 | - { | |
4 | - "code": "ARMOUR_Head", | |
5 | - "posX": "3.0","posY": "2.5","posZ": "2.5", | |
6 | - "rotationX": "0.0","rotationY": "0.0","rotationZ": "0.0" | |
7 | - } | |
2 | + { file: "game:shapes/entity/humanoid/seraph", | |
3 | + op: "add", | |
4 | + path: "/elements/0/children/0/attachmentpoints/1", | |
5 | + value: | |
6 | + { | |
7 | + "code": "ARMOUR_Chest", | |
8 | + "posX": "2.5", | |
9 | + "posY": "2.5", | |
10 | + "posZ": "3.0", | |
11 | + "rotationX": "0.0", | |
12 | + "rotationY": "0.0", | |
13 | + "rotationZ": "0.0" | |
14 | + } | |
8 | 15 | }, |
9 | - { file: "game:/shapes/entity/humanoid/seraph", op: "add", path: "", value: | |
10 | - { } | |
11 | - }, | |
16 | + { file: "game:shapes/entity/humanoid/seraph", | |
17 | + op: "add", | |
18 | + path: "/elements/0/children/0/children/2/children/0/attachmentpoints/1", | |
19 | + value: | |
20 | + { | |
21 | + "code": "ARMOUR_Head", | |
22 | + "posX": "3.0", | |
23 | + "posY": "2.5", | |
24 | + "posZ": "2.5", | |
25 | + "rotationX": "0.0", | |
26 | + "rotationY": "0.0", | |
27 | + "rotationZ": "0.0" | |
28 | + } | |
29 | + } | |
12 | 30 | ] |