Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 11: Line 11:
First of all we need a texture. We will add a gold block to the game using this texture: [[File:Gold block.png]].
First of all we need a texture. We will add a gold block to the game using this texture: [[File:Gold block.png]].


Now we need to copy the texture to the game assets. Therefore navigate to the [[Vintagestory folder]] and place it in <code>assets\textures\blocks\wood\planks\</code>. Eventually rename it to <code>mygoldtexture.png</code>
Now we need to copy the texture to the game assets. Therefore navigate to the [[Vintagestory folder]] and place it in <code>assets\textures\blocks\metal\</code>. Eventually rename it to <code>mygoldtexture.png</code>


== The JSON file ==
== The JSON file ==
Confirmedusers, Bureaucrats, editor, Administrators
1,779

edits