Modding:Creating A Code Mod: Difference between revisions

From Vintage Story Wiki
m (Finished)
Line 70: Line 70:
To run your mod, look for the run menu immediately below the menu bar. Ensure the dropdown list on the right has your project name selected, and not "''CakeBuild",'' and that the run button/dropdown next to that says "''Client''" and not "''Server''". To test your mod, either press the "''Client"'' button, or press F5.
To run your mod, look for the run menu immediately below the menu bar. Ensure the dropdown list on the right has your project name selected, and not "''CakeBuild",'' and that the run button/dropdown next to that says "''Client''" and not "''Server''". To test your mod, either press the "''Client"'' button, or press F5.


Visual Studio will load Vintage Story and link to your mod.
Visual Studio will build your mod, and launch Vintage Story with the mod attached. Vintage Story will load to the main menu, so select the Mod Manager menu and you should see your mod.
[[File:VSModManagerInstalledModsWithCodeMod.png|center|frameless|753x753px]]
If you can see your mod in this list, congratulations! Note that any changes made in your modinfo file will take effect here.
 
== What's Next? ==
Now your mod has been created, it may be time to go through the [[Modding:Basic Code Tutorials|Basic Code Tutorials]]. These will show you how to create advanced block functionality, advanced item functionality, and your very own command.  
 
</translate>
</translate>
{{Navbox/codemodding}}
{{Navbox/codemodding}}