Difference between revisions of "Modding Tutorials/Assembly Modding Example"
m (TynanSylvester moved page Tutorial 2 - Assembly Modding to Modding Tutorials/Assembly Modding Example without leaving a redirect) |
|||
Line 13: | Line 13: | ||
- Microsoft Visual Studio 2013 Express (Desktop-Version) (free, download [http://www.microsoft.com/en-US/download/details.aspx?id=40787 here]) | - Microsoft Visual Studio 2013 Express (Desktop-Version) (free, download [http://www.microsoft.com/en-US/download/details.aspx?id=40787 here]) | ||
+ | |||
+ | - A basic understanding of C# | ||
- RimWorld | - RimWorld | ||
Line 18: | Line 20: | ||
== Download == | == Download == | ||
− | Download the project [http://www.mediafire.com/download/ | + | Download the project [http://www.mediafire.com/download/rg1qvq8r14f73be/RimWorld_ExampleProjectDLL_101.7z here] |
− | or from the attachment of | + | or from the attachment of the forum post [http://ludeon.com/forums/index.php?action=dlattach;topic=3408.0;attach=2144 here]. |
Revision as of 16:10, 2 May 2014
Description
This is a small demonstration about how you can make a mod that's using an assembly (.dll).
With this little project you learn about the assembly and it's program. Additionally you'll repair the fertilizer pump. :-)
Note, that this is Windows only, as I have no experience with Linux or Mac. Sorry...
Needed Tools
You need the following tools:
- Microsoft Visual Studio 2013 Express (Desktop-Version) (free, download here)
- A basic understanding of C#
- RimWorld
Download
Download the project here
or from the attachment of the forum post here.
Preparations
Before you start the project, you need to make the following preparations:
- Extract the file to a folder of your choice
- Go into your RimWorld-Folder:
- Copy ..\RimWorld413Win\RimWorld413Win_Data\Managed\Assembly-CSharp.dll to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
- Copy ..\RimWorld413Win\RimWorld413Win_Data\Managed\UnityEngine.dll to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
Enter The Project
Now that you've prepared everything, it is time to enter the project and take a look into what makes the pump do what it does and where the problem is..
So open the project by starting <YourExtractionFolder>\RimWorld_ExampleProjectDLL.sln
If everything is installed correctly, Visual Studio should startup, opening your project.
Everything else is described inside. Even what to do, to repair the fertilizer pump..
With this in mind.. Have fun exploring the secrets of the RimWorld code.
See you on the other side.
The forum entry can be found here.