From 721c6b25e9505317e537cab4012b269fa5e2592d Mon Sep 17 00:00:00 2001 From: yum Date: Wed, 19 Feb 2025 03:53:16 -0800 Subject: prefab now points to simple shirt toggle --- Examples/example0.json | 19 +---------- Examples/example0.json.meta | 7 ++++ Examples/example1.json | 64 +++--------------------------------- Examples/example2.json | 80 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 77 deletions(-) create mode 100644 Examples/example0.json.meta create mode 100644 Examples/example2.json (limited to 'Examples') diff --git a/Examples/example0.json b/Examples/example0.json index d77e3e7..c9a3a14 100644 --- a/Examples/example0.json +++ b/Examples/example0.json @@ -3,24 +3,7 @@ "toggles": [ { "name": "Shirt", - "meshToggles": ["Shirt"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Chest_Hide" - } - ] - }, - { - "name": "Jacket", - "dependencies": ["Shirt"], - "meshToggles": ["Jacket"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Chest_Hide" - } - ] + "meshToggles": ["Shirt"] } ] } diff --git a/Examples/example0.json.meta b/Examples/example0.json.meta new file mode 100644 index 0000000..0aaf72d --- /dev/null +++ b/Examples/example0.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6ea334a57122a5f4e86867b979b7f13f +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Examples/example1.json b/Examples/example1.json index df27537..d77e3e7 100644 --- a/Examples/example1.json +++ b/Examples/example1.json @@ -3,78 +3,24 @@ "toggles": [ { "name": "Shirt", - "menuPath": "/Clothes", - "dependencies": ["Bra"], "meshToggles": ["Shirt"], - "defaultValue": 0.0, "blendShapes": [ { "path": "Body", - "blendShape": "Bra on" - }, - { - "path": "Body", - "blendShape": "Smush nips" - }, - { - "path": "Skirt", - "blendShape": "Shirt off", - "offValue": 100.0, - "onValue": 0.0 - } - ] - }, - { - "name": "Skirt", - "menuPath": "/Clothes", - "meshToggles": ["Skirt"], - "blendShapes": [] - }, - { - "name": "Socks", - "menuPath": "/Clothes", - "meshToggles": ["Socks"], - "blendShapes": [ - { - "path": "Body", - "blendShape": "Thigh squish" + "blendShape": "Chest_Hide" } ] }, { - "name": "Shoes", - "menuPath": "/Clothes", - "meshToggles": ["Shoes"], - "blendShapes": [] - }, - - { - "name": "Bra", - "menuPath": "/NSFW", - "meshToggles": ["Bra"], + "name": "Jacket", + "dependencies": ["Shirt"], + "meshToggles": ["Jacket"], "blendShapes": [ { "path": "Body", - "blendShape": "Bra on" - }, - { - "path": "Body", - "blendShape": "Smush nips" + "blendShape": "Chest_Hide" } ] - }, - { - "name": "Panties", - "menuPath": "/NSFW", - "meshToggles": ["Panties"], - "blendShapes": [] - }, - - { - "name": "Hair", - "menuPath": "/Misc", - "meshToggles": ["Hair"], - "blendShapes": [] } ] } diff --git a/Examples/example2.json b/Examples/example2.json new file mode 100644 index 0000000..df27537 --- /dev/null +++ b/Examples/example2.json @@ -0,0 +1,80 @@ +{ + "api_version": "1.0", + "toggles": [ + { + "name": "Shirt", + "menuPath": "/Clothes", + "dependencies": ["Bra"], + "meshToggles": ["Shirt"], + "defaultValue": 0.0, + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + }, + { + "path": "Skirt", + "blendShape": "Shirt off", + "offValue": 100.0, + "onValue": 0.0 + } + ] + }, + { + "name": "Skirt", + "menuPath": "/Clothes", + "meshToggles": ["Skirt"], + "blendShapes": [] + }, + { + "name": "Socks", + "menuPath": "/Clothes", + "meshToggles": ["Socks"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Thigh squish" + } + ] + }, + { + "name": "Shoes", + "menuPath": "/Clothes", + "meshToggles": ["Shoes"], + "blendShapes": [] + }, + + { + "name": "Bra", + "menuPath": "/NSFW", + "meshToggles": ["Bra"], + "blendShapes": [ + { + "path": "Body", + "blendShape": "Bra on" + }, + { + "path": "Body", + "blendShape": "Smush nips" + } + ] + }, + { + "name": "Panties", + "menuPath": "/NSFW", + "meshToggles": ["Panties"], + "blendShapes": [] + }, + + { + "name": "Hair", + "menuPath": "/Misc", + "meshToggles": ["Hair"], + "blendShapes": [] + } + ] +} -- cgit v1.2.3