• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

VS plugin mod for Basic Armour


Commit MetaInfo

Révisionf4d60a590f5da949c4a214d85256c4cba9f7e2a0 (tree)
l'heure2019-04-19 09:38:30
Auteurmelchior <melchior@user...>
Commitermelchior

Message de Log

Correct JSON patch path and data values (for attachment points)

Change Summary

Modification

--- /dev/null
+++ b/ArmourMod/assets/armourmod/patches/armour_attachment_points.json
@@ -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+]
--- a/ArmourMod/assets/game/patches/armour_attachment_points.json
+++ b/ArmourMod/assets/game/patches/armour_attachment_points.json
@@ -1,12 +1,30 @@
11 [
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+ }
815 },
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+ }
1230 ]