Editing Modding Tutorials/Getting started with mods
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 26: | Line 26: | ||
There are many code editors out there, some of the most commonly used are: | There are many code editors out there, some of the most commonly used are: | ||
* [https://code.visualstudio.com/ Visual Studio Code] is a free code editor and has a lot of useful features and tools You can add extensions tools to make coding work easier (this is what we will use in this tutorial). | * [https://code.visualstudio.com/ Visual Studio Code] is a free code editor and has a lot of useful features and tools You can add extensions tools to make coding work easier (this is what we will use in this tutorial). | ||
− | * [https://visualstudio.microsoft.com/ Visual Studio] you can get | + | * [https://visualstudio.microsoft.com/ Visual Studio] you can get for Windows or MAC, a program made by Microsoft. |
* [https://notepad-plus-plus.org/ Notepad++] is a very lightweight code editor that is very easy to use, however it is missing some features that make it less useful for larger projects. It is easy to use when you are a beginner in coding. | * [https://notepad-plus-plus.org/ Notepad++] is a very lightweight code editor that is very easy to use, however it is missing some features that make it less useful for larger projects. It is easy to use when you are a beginner in coding. | ||
* [https://www.sublimetext.com/ Sublime Text] is a free code editor that is popular. | * [https://www.sublimetext.com/ Sublime Text] is a free code editor that is popular. | ||
Line 35: | Line 35: | ||
=Making the folder structure= | =Making the folder structure= | ||
'''''There are mod templates available for quick setup, however it is recommended to create the folder structure manually at least once to get a better understanding of how mods work.''''' | '''''There are mod templates available for quick setup, however it is recommended to create the folder structure manually at least once to get a better understanding of how mods work.''''' | ||
− | To start making a mod, we need to create a folder for the mod. This folder will contain all the files and folders that make up the mod. | + | To start making a mod, we need to create a folder for the mod. This folder will contain all the files and folders that make up the mod. To keep things organized, we will create a folder in RimWorld's mod local folder. This is located at: |
− | |||
− | To keep things organized, we will create a folder in RimWorld's mod local folder | ||
<pre>(RimWorldInstallFolder)/Mods/</pre> | <pre>(RimWorldInstallFolder)/Mods/</pre> | ||
+ | '''''Note: it is not recommended to put your mod in the steam mods' folder''''' since it is a local mod and not yet published on the Steam workshop. | ||
==Making an "about” file. == | ==Making an "about” file. == | ||
Line 154: | Line 153: | ||
=GitHub files= | =GitHub files= | ||
* All the files made in this tutorial can be found [https://github.com/Zeta-of-the-rim/RimWorld-Mod-Tutorials here] on GitHub. this allows you to download the files and use them as a reference when making your own mods. | * All the files made in this tutorial can be found [https://github.com/Zeta-of-the-rim/RimWorld-Mod-Tutorials here] on GitHub. this allows you to download the files and use them as a reference when making your own mods. | ||
+ | * Bradson made a Mod template on GitHub, you can clone this to your profile and select is as template when you want to make your first mod. You can find it here: [https://github.com/bbradson/ModTemplate/ Mod template] | ||
GitHub is a great tool for sharing code and is especially useful when you are ready to start programming in C#. | GitHub is a great tool for sharing code and is especially useful when you are ready to start programming in C#. | ||