Modding:Textures: Difference between revisions

From Vintage Story Wiki
Line 133: Line 133:
after defining the first texture, you can also add alternatives to the same entity. Lets look at the Wolf for an example:
after defining the first texture, you can also add alternatives to the same entity. Lets look at the Wolf for an example:


<syntaxhighlight lang="json">
 
texture: { base: "entity/wolf/wolf1", alternates: [ { base: "entity/wolf/wolf2" }, { base: "entity/wolf/wolf2" }, {...} ] }
<code>texture: { base: "entity/wolf/wolf1", alternates: [ { base: "entity/wolf/wolf2" }, { base: "entity/wolf/wolf2" }, {...} ] }</code>
</syntaxhighlight>


Each successive alternative should be numbered (starting with 1).  
Each successive alternative should be numbered (starting with 1).  


{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
219

edits