From 0251fe43914333d58385051bf75d6c7c938cbeb2 Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 29 Nov 2024 02:14:41 -0500 Subject: [PATCH] Add tail boot trims --- player_model.bbmodel | 44 ++++++++++++++++++++++++++++++++++++++++++++ script.lua | 5 +++++ 2 files changed, 49 insertions(+) diff --git a/player_model.bbmodel b/player_model.bbmodel index 714f3a5..97d401e 100644 --- a/player_model.bbmodel +++ b/player_model.bbmodel @@ -3890,6 +3890,49 @@ }, "type": "cube", "uuid": "35c2fc2d-6bb8-dc5c-0fa2-f34be3ea790a" + }, + { + "name": "BootArmorTrim", + "box_uv": false, + "rescale": false, + "locked": false, + "light_emission": 0, + "render_order": "default", + "allow_mirror_modeling": true, + "from": [-2, -4, -1], + "to": [2, 2, 1], + "autouv": 0, + "color": 7, + "inflate": 0.26, + "origin": [0, 0, 0], + "faces": { + "north": { + "uv": [40, 20, 44, 26], + "texture": 8 + }, + "east": { + "uv": [54, 20, 56, 26], + "texture": 8 + }, + "south": { + "uv": [40, 20, 44, 26], + "texture": 8 + }, + "west": { + "uv": [44, 20, 46, 26], + "texture": 8 + }, + "up": { + "uv": [2, 18, 6, 20], + "texture": null + }, + "down": { + "uv": [2, 18, 6, 20], + "texture": null + } + }, + "type": "cube", + "uuid": "4c6600b3-f271-496b-9bbc-a8435bb10547" } ], "outliner": [ @@ -4072,6 +4115,7 @@ "children": [ "0e623698-1df6-c518-9bd7-fad0c12dcf20", "93881f7c-3fd7-c4ce-9bbe-5c99fbb4ed85", + "4c6600b3-f271-496b-9bbc-a8435bb10547", "2e3f0fb3-5b68-be22-f6a6-f91a030f0851", { "name": "MTailDots3", diff --git a/script.lua b/script.lua index 2a25779..4e02a41 100644 --- a/script.lua +++ b/script.lua @@ -173,6 +173,9 @@ TAIL_BOOTS={ model.Body.MTail1.MTail2.MTail3.Boot, --model.Body.MTail1.MTail2.MTail3.LeatherBoot } +TAIL_BOOTS_TRIM={ + model.Body.MTail1.MTail2.MTail3.BootArmorTrim, +} TAIL_BONES={ model.Body.MTail1, model.Body.MTail1.MTail2, @@ -272,6 +275,7 @@ do PM.addPartListFunction(TAIL_LEGGINGS, tail_visible_rule) PM.addPartListFunction(TAIL_LEGGINGS_TRIM, tail_visible_rule) PM.addPartListFunction(TAIL_BOOTS, tail_visible_rule) + PM.addPartListFunction(TAIL_BOOTS_TRIM, tail_visible_rule) --- Armor state local all_armor=util.reduce(util.mergeTable, {VANILLA_GROUPS.ARMOR, TAIL_LEGGINGS, TAIL_BOOTS}) @@ -297,6 +301,7 @@ KattArmorTail.Armor.Leggings:addParts(table.unpack(TAIL_LEGGINGS)) KattArmorTail.Armor.Leggings:addTrimParts(table.unpack(TAIL_LEGGINGS_TRIM)) KattArmorTail.Armor.Leggings:setLayer(1) KattArmorTail.Armor.Boots:addParts(table.unpack(TAIL_BOOTS)) +KattArmorTail.Armor.Boots:addTrimParts(table.unpack(TAIL_BOOTS_TRIM)) KattArmor.Armor.Chestplate:addParts(model.Body.Chestplate, model.LeftArm.Chestplate, model.RightArm.Chestplate) KattArmor.Armor.Chestplate:addTrimParts(model.Body.ChestplateTrim, model.LeftArm.ChestplateTrim, model.RightArm.ChestplateTrim)