[#modding] It would be nice if animatable objects supported an optional BodyCategory proper...
Marked for crossposting by: books is on break
Message (jump):
<illuminatiswag> It would be nice if animatable objects supported an optional BodyCategory property/tag, similar to BodyType, but applying a certain categorization to all limbs (e.g. stone, metal, mechanical, etc.), instead of having to add a whole new anatomy with the category attached like WoodenHumanoid. I'm currently using a Harmony patch to do this in my Animatable Statues mod, as follows:
[HarmonyPostfix] static void Postfix(GameObject frankenObject) { var cat = frankenObject.GetPropertyOrTag("AnimateStatue_BodyCategory", "a"); if (cat != "a") { var code = BodyPartCategory.GetCode(cat); frankenObject.Body.CategorizeAll(code); } } }
Comments (3)
-
-
repo owner - edited description
- changed version to future
- changed milestone to moddability
-
assigned issue to
-
repo owner -
assigned issue to
-
assigned issue to
- Log in to comment
related: #6828