Modding:Textures: Difference between revisions
From Vintage Story Wiki
Lazy Warlock (talk | contribs) |
Lazy Warlock (talk | contribs) |
||
Line 94: | Line 94: | ||
Blocks are textured a little differently since they default to generic "cube" shape. This means they don't use the singular "texture" method, and instead always use a version of the plural "textures": | Blocks are textured a little differently since they default to generic "cube" shape. This means they don't use the singular "texture" method, and instead always use a version of the plural "textures": | ||
<syntaxhighlight> | <syntaxhighlight lang="json"> | ||
textures: { | textures: { | ||
all: {base: "path to texture*"} | all: {base: "path to texture*"} | ||
Line 102: | Line 102: | ||
"all" will give every side the same texture, but we can easily customize each side, especially if we want to use some block behaviors like <code>"Pillar"</code> or <code>"HorizontalOrientable"</code> | "all" will give every side the same texture, but we can easily customize each side, especially if we want to use some block behaviors like <code>"Pillar"</code> or <code>"HorizontalOrientable"</code> | ||
<syntaxhighlight> | <syntaxhighlight lang="json"> | ||
textures: { | textures: { | ||
up: { base: "path to top texture" }, | up: { base: "path to top texture" }, |