Editing RimWorld 1.3: XML Mod Creation

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:
{{Move|reason=Needs to be in the Modding Tutorials namespace and needs a more descriptive name}}
 
 
This tutorial is an XML only version of [[Plague Gun (1.1)]] updated to RimWorld v1.3
 
This tutorial is an XML only version of [[Plague Gun (1.1)]] updated to RimWorld v1.3
== Introduction ==  
+
== Introduction ==
Mods are an integral part of the RimWorld experience, mods allow the user to customize their individual experience in far more detail than the developer ever could. However, their is little RimWorld modding information available to the average person, and the few tutorials available are (for the most part) made using older versions of software. The aim of this tutorial is to provide an absolute beginner to coding with the information and tools to begin creating their own mods. After completing this tutorial you will know how to create new items and modify existing ones, as well as have a basic understanding of RimWorld XML file structure. 
 
 
== Required Items ==
 
== Required Items ==
 
This tutorial assumes you have the following software installed.
 
This tutorial assumes you have the following software installed.
Line 19: Line 17:
 
# Inside the <code>MyFirstMod</code> folder, create 2 new folders, <code>About</code> and <code>Defs</code>
 
# Inside the <code>MyFirstMod</code> folder, create 2 new folders, <code>About</code> and <code>Defs</code>
 
=== <code>About</code> Folder ===
 
=== <code>About</code> Folder ===
The <code>About</code> folder tells both RimWorld and Steam important details about the mod, (ex. mod name, author, etc.). It contains 2 files, <code>About.xml</code> and <code>Preview.jpg</code>/<code>Preview.jpeg</code>/<code>Preview.png</code>
+
The <code>About</code> folder tells both RimWorld and Steam important details about the mod, (ex. mod name, author, etc.). It contains 2 files, <code>About.xml</code> and <code>Preview.jpg</code>/<code>Preview.jpeg</code>
 
* Creating <code>About.xml</code>:  
 
* Creating <code>About.xml</code>:  
 
# Open Notepad++, and navigate to the "Language" tab at the top of the window. Find "XML" in the list and select it.
 
# Open Notepad++, and navigate to the "Language" tab at the top of the window. Find "XML" in the list and select it.
Line 40: Line 38:
 
</source>
 
</source>
 
Use the comments on the code above to enter your own information inside the tags to complete the file.
 
Use the comments on the code above to enter your own information inside the tags to complete the file.
<br> ''Note: any text inside<source><!-- --></source>is not read by the program. It denotes a note left in the file. Notes are used to help organize/ identify parts of code whose function may not be apparent by looking at the code. 
 
 
<br> Our <code>About.xml</code> file is now complete.
 
<br> Our <code>About.xml</code> file is now complete.
 
* <code>Preview.jpg</code>/<code>Preview.jpeg</code> The thumbnail image for your mod. Maximum resolution of 640x360 pixels and maximum file size of 1mb.
 
* <code>Preview.jpg</code>/<code>Preview.jpeg</code> The thumbnail image for your mod. Maximum resolution of 640x360 pixels and maximum file size of 1mb.
Line 152: Line 149:
 
== Uploading your Mod ==
 
== Uploading your Mod ==
 
Now that you have a completed mod, you may want to upload it to the Steam Workshop for others to enjoy. Simply make sure your <code>MyFirstMod</code> folder is in <code>RimWorld\Mods</code>. Then launch RimWorld. Click on "Mods", if you did everything right, your mod should show up under mods. On the same screen there is the option to "Upload to Steam Workshop".
 
Now that you have a completed mod, you may want to upload it to the Steam Workshop for others to enjoy. Simply make sure your <code>MyFirstMod</code> folder is in <code>RimWorld\Mods</code>. Then launch RimWorld. Click on "Mods", if you did everything right, your mod should show up under mods. On the same screen there is the option to "Upload to Steam Workshop".
 
[[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)