Modding:Setting up your Development Environment: Difference between revisions

From Vintage Story Wiki
No edit summary
Line 134: Line 134:




=== Manual setup ===
== Manual setup ==


* Create a new project
* Create a new project
Line 141: Line 141:
* Add the following command line arguments: <code>-openWorld="modsamplestest" -p3 --addModPath="C:\path\to\your\bin\folder" --addOrigin="C:\path\to\your\assets\folder\if\you\have\any"</code>
* Add the following command line arguments: <code>-openWorld="modsamplestest" -p3 --addModPath="C:\path\to\your\bin\folder" --addOrigin="C:\path\to\your\assets\folder\if\you\have\any"</code>
* I recommend adding this file to your project, so that you can see the log output in your visual studio output window: https://github.com/anegostudios/vsmodexamples/blob/master/RedirectLogs.cs
* I recommend adding this file to your project, so that you can see the log output in your visual studio output window: https://github.com/anegostudios/vsmodexamples/blob/master/RedirectLogs.cs
If you are having troubles the vsmodexamples you might be able to learn from the vsmodexamples project: https://github.com/anegostudios/vsmodexamples