Skip to content

Commit

Permalink
update manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
madjin committed Oct 7, 2024
1 parent e6a7641 commit 6a047bc
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 10 deletions.
19 changes: 18 additions & 1 deletion 0N1/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,31 @@
0.1,
0.01
],
"requiredTraits": [
"Body"
],
"initialTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck"
"Neck",
"Weapon"
],
"randomTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck",
"Weapon"
],
"colliderTraits": [
"Body"
],
"offset": [
0.0,
Expand Down
19 changes: 18 additions & 1 deletion anata/female/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,31 @@
0.1,
0.01
],
"requiredTraits": [
"Body"
],
"initialTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck"
"Neck",
"Weapon"
],
"randomTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck",
"Weapon"
],
"colliderTraits": [
"Body"
],
"offset": [
0.0,
Expand Down
19 changes: 18 additions & 1 deletion anata/male/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,31 @@
0.1,
0.01
],
"requiredTraits": [
"Body"
],
"initialTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck"
"Neck",
"Weapon"
],
"randomTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck",
"Weapon"
],
"colliderTraits": [
"Body"
],
"offset": [
0.0,
Expand Down
5 changes: 4 additions & 1 deletion scripts/generate_manifest_0N1.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ def generate_manifest(directory_path):
"traitIconsDirectorySvg": "./loot/icons/",
"defaultCullingLayer": -1,
"defaultCullingDistance": [0.1, 0.01],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"],
"requiredTraits": ["Body"],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"colliderTraits": ["Body"],
"offset": [0.0, 0.48, 0.0],
"traits": generate_traits(directory_path),
"textureCollections": [],
Expand Down
11 changes: 7 additions & 4 deletions scripts/generate_manifest_anata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ def generate_manifest(directory_path):
manifest_template = {
"assetsLocation": "./loot-assets/",
"format": "vrm",
"traitsDirectory": "/anata/female/",
"traitsDirectory": "/anata/male/",
"thumbnailsDirectory": "./loot/thumbnails/",
"exportScale": 1,
"animationPath": get_animation_paths(),
"traitIconsDirectorySvg": "./loot/icons/",
"defaultCullingLayer": -1,
"defaultCullingDistance": [0.1, 0.01],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"],
"requiredTraits": ["Body"],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"colliderTraits": ["Body"],
"offset": [0.0, 0.48, 0.0],
"traits": generate_traits(directory_path),
"textureCollections": [],
Expand Down Expand Up @@ -74,10 +77,10 @@ def generate_collection(directory_path, trait_name):
]

if __name__ == "__main__":
directory_path = "./anata/female/"
directory_path = "./anata/male/"
manifest_content = generate_manifest(directory_path)

with open("./anata/female/manifest.json", "w") as manifest_file:
with open("./anata/male/manifest.json", "w") as manifest_file:
manifest_file.write(manifest_content)

print("Manifest file generated successfully.")
5 changes: 4 additions & 1 deletion scripts/generate_manifest_tubby.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ def generate_manifest(directory_path):
"traitIconsDirectorySvg": "./loot/icons/",
"defaultCullingLayer": -1,
"defaultCullingDistance": [0.1, 0.01],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck"],
"requiredTraits": ["Body"],
"initialTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"randomTraits": ["Body", "Head", "Hands", "Shoes", "Chest", "Waist", "Neck", "Weapon"],
"colliderTraits": ["Body"],
"offset": [0.0, 0.48, 0.0],
"traits": generate_traits(directory_path),
"textureCollections": [],
Expand Down
19 changes: 18 additions & 1 deletion tubbycats/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,31 @@
0.1,
0.01
],
"requiredTraits": [
"Body"
],
"initialTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck"
"Neck",
"Weapon"
],
"randomTraits": [
"Body",
"Head",
"Hands",
"Shoes",
"Chest",
"Waist",
"Neck",
"Weapon"
],
"colliderTraits": [
"Body"
],
"offset": [
0.0,
Expand Down

0 comments on commit 6a047bc

Please sign in to comment.