Add part with multiple textures to example
This commit is contained in:
parent
10f36ef3fb
commit
89d77f724d
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue