Advertisement
Guest User

adding classes for client

a guest
Mar 31st, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. >How to add playable monsters/bandit/HAN-D
  2. Install https://github.com/0xd4d/dnSpy/releases
  3. Drag and drop "Risk of Rain 2_Data\Managed\Assembly-CSharp.dll" inside dnSpy, BACKUP THAT SHIT
  4. Click on the search button next to "Start", look for SurvivorIndex, right click > edit class, add your new survivor, it should look like this https://pastebin.com/S9fmVJZq here I added lemurian. Then hit compile
  5. Now look for SurvivorCatalog > right click > edit class, scroll down and add SurvivorIndex.Lemurian to idealSurvivorOrder, should look like this https://pastebin.com/hYdhqWgE
  6. Line 75 change SurvivorDef[7] to SurvivorDef[8]
  7. Add a new survivor like this https://pastebin.com/LSYijsTe in this case LemurianBody exist, just like BanditBody. You need to find other bodies prefabs names to use them, GolemBody works too.
  8. LemurianDisplay and LEMURIAN_DESCRIPTION probably don't exist in the assets, you can add them if you want to.
  9. Also VERY IMPORTANT replace line 141 to 144 in SurvivorCatalog with this https://pastebin.com/wKPf3ULS
  10. Hit compile again, then File > Save Module > OK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement