From 89d77f724d029b5540b237bf76e449c733ab9f8b Mon Sep 17 00:00:00 2001 From: Epicalert Date: Fri, 19 Mar 2021 23:38:53 +0800 Subject: [PATCH] Add part with multiple textures to example --- docs/model-format.man | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/model-format.man b/docs/model-format.man index ccc43b2..c357cee 100644 --- a/docs/model-format.man +++ b/docs/model-format.man @@ -42,10 +42,16 @@ texture = "tex/head.png" bind = "head" [[part]] -texture = "tex/face.png" bind = "head" follow = "face" factor = 0.75 + + [[textures]] + file = "tex/face-closedmouth.png" + + [[textures]] + file = "tex/face-openmouth.png" + trigger = "mouth-open" .EE . .PP @@ -117,3 +123,7 @@ is not present in the part. trigger A trigger that will cause the part to use this texture. Possible values: null, mouth-open +. +.PP +When specifying multiple textures, the first one specified +will be used by default.