Modding:Basic Block: Difference between revisions

From Vintage Story Wiki
Line 209: Line 209:
== Custom Shapes ==
== Custom Shapes ==


In order to use a custom shape we need to create one first. Therefore we can use the [[VS Model Creator]].
In order to use a custom shape we need to create one first. Righ tnow, the engine only supports the model format made with the [[VS Model Creator]].


Once you have created your own shape you need to export it as a json file and move it to <code>assets/shapes/blocks/</code>. In our example we will use this model [http://wiki.vintagestory.at/images/3/38/Myshinymodel.json Myshinymodel.json] and move it to <code>assets/shapes/blocks/metal/myshinymodel.json</code>.
Once you have created your own shape you need to export it as a json file and move it to <code>assets/shapes/blocks/</code>. In our example we will use this model [http://wiki.vintagestory.at/images/3/38/Myshinymodel.json Myshinymodel.json] and move it to <code>assets/shapes/blocks/metal/myshinymodel.json</code>.
Confirmedusers, Bureaucrats, editor, Administrators
1,778

edits