Mod Support
Hello, this section is dedicated to other mods that have built-in support with this SDK. This means that you can use custom functionality from other mods, easily and directly within the SDK - while customising them to your liking! Below is each mod split up into multiple categories, usually how to add that mod's support to an existing project, a new one and how to actually use it!
Item Rarities
Item Rarities is the first external mod to have direct support with this SDK, to see how to give your custom items any rarity you like - then see below!
New Project
If you are new to the SDK, you likely haven't created a project yet. If so, then enabling Item Rarities support is as easy and checking the checkbox when creating a new ModDefinition.
Existing Project
However, if you have already created a project and would like to add Item Rarities support to it, follow the below steps.
First we begin by creating a new ModItemRarities asset, via right-clicking anywhere in the project then following what you see in the image below.
After it has been created, select your ModDefinition asset and navigate to the new Item Rarities field underneath the Misc Properties heading. From here, select that field - you should see your newly created ModItemRarities asset.
Select your newly created asset, from there you can navigate to it and add any of your custom prefabs under one of the rarity arrays. Once your mod exports, your custom items should now be given rarities!
INFO
It's good practice to keep everything within your new Mod Definition's folder.
Mod Item Rarity
This is a new asset type that is included with your project if you want Item Rarities support for your custom items.
Property | Type | Description |
---|---|---|
Common | GameObject[] | Gives any prefab underneath this field a rarity of common. |
Uncommon | GameObject[] | Gives any prefab underneath this field a rarity of uncommon. |
Rare | GameObject[] | Gives any prefab underneath this field a rarity of rare. |
Epic | GameObject[] | Gives any prefab underneath this field a rarity of epic. |
Legendary | GameObject[] | Gives any prefab underneath this field a rarity of legendary. |
Mythic | GameObject[] | Gives any prefab underneath this field a rarity of mythic. |