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"
|
bind = "head"
|
||||||
|
|
||||||
[[part]]
|
[[part]]
|
||||||
texture = "tex/face.png"
|
|
||||||
bind = "head"
|
bind = "head"
|
||||||
follow = "face"
|
follow = "face"
|
||||||
factor = 0.75
|
factor = 0.75
|
||||||
|
|
||||||
|
[[textures]]
|
||||||
|
file = "tex/face-closedmouth.png"
|
||||||
|
|
||||||
|
[[textures]]
|
||||||
|
file = "tex/face-openmouth.png"
|
||||||
|
trigger = "mouth-open"
|
||||||
.EE
|
.EE
|
||||||
.
|
.
|
||||||
.PP
|
.PP
|
||||||
|
@ -117,3 +123,7 @@ is not present in the part.
|
||||||
trigger
|
trigger
|
||||||
A trigger that will cause the part to use this texture.
|
A trigger that will cause the part to use this texture.
|
||||||
Possible values: null, mouth-open
|
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