Editing Modding Tutorials/Assembly Modding Example

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{BackToTutorials}}
+
<small> [[Modding Tutorials]]</small>
{{Credit|[[User:Haplo|Haplo]]}}<br/><br/>
 
  
 
== Description ==
 
== Description ==
 
This is a small demonstration about how you can make a mod that's using an assembly (.dll).
 
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 build your own dark matter generator and an animated wind turbine. :-)
+
With this little project you learn about the assembly and it's program. Additionally you'll build your own dark matter generator. :-)
  
 
<small> Note, that this is Windows only, as I have no experience with Linux or Mac. Sorry...</small>
 
<small> Note, that this is Windows only, as I have no experience with Linux or Mac. Sorry...</small>
  
 
== Needed Tools ==
 
== Needed Tools ==
You need the following tools:<br/>
+
You need the following tools:  
 +
 
 +
- 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
  
* Any [[Modding_Tutorials/Recommended_software#IDE.27s|Recommended IDE]] or your preferred IDE;
 
* A basic understanding of C#
 
* RimWorld
 
  
 
== Download ==
 
== Download ==
Download the project from [https://github.com/HaploX1/ExampleDllMod GitHub]
+
Download the project [http://www.mediafire.com/download/oze51snanf4jab3/RimWorld_ExampleProjectDLL_102.7z here]
  
or from the attachment of the [https://ludeon.com/forums/index.php?topic=3408.0 forum post].
+
or from the attachment of the forum post [http://ludeon.com/forums/index.php?action=dlattach;topic=3408.0;attach=2945 here].
  
 
== Preparations ==
 
== Preparations ==
Line 28: Line 30:
 
- Go into your RimWorld-Folder:
 
- Go into your RimWorld-Folder:
  
     - Copy ..\RimWorld000Win\RimWorld000Win_Data\Managed\Assembly-CSharp.dll
+
     - Copy ..\RimWorld413Win\RimWorld413Win_Data\Managed\Assembly-CSharp.dll
 
       to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
 
       to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
  
     - Copy ..\RimWorld000Win\RimWorld000Win_Data\Managed\UnityEngine.dll
+
     - Copy ..\RimWorld413Win\RimWorld413Win_Data\Managed\UnityEngine.dll
 
       to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
 
       to ..\YourProjectFolder\RimWorld_ExampleProjectDLL\Source-DLLs\
 +
  
 
== Enter The Project ==
 
== Enter The Project ==
Line 41: Line 44:
 
If everything is installed correctly, Visual Studio should startup, opening your project.
 
If everything is installed correctly, Visual Studio should startup, opening your project.
  
Everything else is described inside.  
+
Everything else is described inside. Even what to do, to repair the fertilizer pump..
 
 
And once you're finished, you have created your very own dark matter generator.
 
  
  
Line 51: Line 52:
  
  
<small> The forum entry can be found [http://ludeon.com/forums/index.php?topic=3408 here].</small>
+
<small> The forum entry can be found [http://ludeon.com/forums/index.php?topic=3408.0 here].</small>
 
 
 
 
PS: For those of you, who only want the power generator: The finished mod is inside the project.
 
 
 
[[Category:Modding tutorials]]
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page: