modcreation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
modcreation [2019/07/02 09:07] – umfdev | modcreation [2024/04/24 23:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 17: | Line 17: | ||
====== Mod Project Files ====== | ====== Mod Project Files ====== | ||
- Run '' | - Run '' | ||
- | * {{:umf.projectgenerator_example.png? | + | * {{:umf_projectgenerator_example.png? |
- Mod name with no spaces or special characters. This is used for the project files, class and assembly name. | - Mod name with no spaces or special characters. This is used for the project files, class and assembly name. | ||
- Where to save the source code of the mod. | - Where to save the source code of the mod. | ||
Line 25: | Line 25: | ||
- All References adds all dll files in the Managed folder as References, giving you access to all Unity classes as well as any separate classes the game provides. Only use if you know what you are doing. | - All References adds all dll files in the Managed folder as References, giving you access to all Unity classes as well as any separate classes the game provides. Only use if you know what you are doing. | ||
- Open your project solution by double clicking ModName.sln in the newly opened folder. | - Open your project solution by double clicking ModName.sln in the newly opened folder. | ||
- | * {{:umf.projectgenerator_solutionfolder.png? | + | * {{:umf_projectgenerator_solutionfolder.png? |
- | * {{:umf.projectgenerator_visualstudio.png? | + | * {{:umf_projectgenerator_visualstudio.png? |
- Add your code and click Build > Rebuild. (Rebuild will clean your project before each build.) | - Add your code and click Build > Rebuild. (Rebuild will clean your project before each build.) | ||
* See **[[# | * See **[[# | ||
Line 48: | Line 48: | ||
* Some games may use other namespaces for some of it's code. | * Some games may use other namespaces for some of it's code. | ||
- Use the **Assembly Explorer**, **Search** and **Analyze** tools of dnSpy to discover code relevant to what you want to mod and learn where it is tied to. | - Use the **Assembly Explorer**, **Search** and **Analyze** tools of dnSpy to discover code relevant to what you want to mod and learn where it is tied to. | ||
- | * See **[[:dnspy|dnSpy Guides]]** to learn more about using dnSpy to help create | + | * See **[[guide_firstsrmod|My First Slime Rancher Mod (Modding Guide)]]** to learn various ways to create |
* See **[[# | * See **[[# | ||
\\ | \\ | ||
Line 57: | Line 57: | ||
====== Important Links and Info ====== | ====== Important Links and Info ====== | ||
* **[[api: | * **[[api: | ||
+ | * **[[guides|Modding Guides]]** - A list of guides to assist you in creating mods for UMF. | ||
* **[[Harmony]]** - Harmony is a useful library provided with UMF that lets you overwrite and inject code in MEMORY into existing classes and functions. | * **[[Harmony]]** - Harmony is a useful library provided with UMF that lets you overwrite and inject code in MEMORY into existing classes and functions. | ||
* **[[: | * **[[: | ||
- | * **[[: | ||
* **[[: | * **[[: | ||
* **[[: | * **[[: | ||
* **[[: | * **[[: | ||
+ | * **[[: | ||
UMF starts and access mods through **[[api: | UMF starts and access mods through **[[api: |
modcreation.txt · Last modified: 2024/04/24 23:22 by 127.0.0.1