Modding:Basic Item: Difference between revisions

From Vintage Story Wiki
m (Code block typo.)
Line 46: Line 46:


There is only one thing left. We need to create a zip file of the assets folder inside your workspace. Either you use an external program (such as WinRAR or 7Zip) or you right-click the <code>assets</code> folder and hit '''Send To''' -> '''Compressed (zipped) folder'''. Eventually you can rename the zip file to <code>MyWandMod.zip</code>. The zip file can be either used for testing purposes or you can send it to other people so they can use it as well.
There is only one thing left. We need to create a zip file of the assets folder inside your workspace. Either you use an external program (such as WinRAR or 7Zip) or you right-click the <code>assets</code> folder and hit '''Send To''' -> '''Compressed (zipped) folder'''. Eventually you can rename the zip file to <code>MyWandMod.zip</code>. The zip file can be either used for testing purposes or you can send it to other people so they can use it as well.
Furthermore you need to add a <code>modinfo.json</code> file, check out [[Game_Content_Mod|this tutorial]].


[http://wiki.vintagestory.at/images/e/ec/MyWandMod.zip MyWandMod.zip]
[http://wiki.vintagestory.at/images/e/ec/MyWandMod.zip MyWandMod.zip]


To install the mod, navigate to the [[Vintagestory folder]] and place it inside the mods folder.
To install the mod, navigate to the [[Vintagestory folder]] and place it inside the mods folder.


Now we got everything ready to run our first test. You should be able to find the added item in the creative inventory.
Now we got everything ready to run our first test. You should be able to find the added item in the creative inventory.
Confirmedusers, editor, Administrators
886

edits