Ludeon Forums

RimWorld => Mods => Topic started by: Sputax on September 09, 2020, 12:29:23 PM

Title: Which files cover wealth calculation or raid points?
Post by: Sputax on September 09, 2020, 12:29:23 PM
I am trying to mod how wealth/raid are calculated. Which files in the rimworld install should I be looking at?

Thank you
Title: Re: Which files cover wealth calculation or raid points?
Post by: RawCode on September 10, 2020, 05:33:20 AM
assembly-csharp.dll
Title: Re: Which files cover wealth calculation or raid points?
Post by: Sputax on September 14, 2020, 05:26:29 AM
Damn. I was hoping for a text file. Im guessing i need a hex aditor right? Which one do people recommend?
Title: Re: Which files cover wealth calculation or raid points?
Post by: RawCode on September 14, 2020, 05:56:28 AM
dnspy
Title: Re: Which files cover wealth calculation or raid points?
Post by: Sputax on September 17, 2020, 08:29:49 AM
Thank you.

Well i opened up the file and found wealth, but no idea how to change things :-(

Anyone have any tips or know where i should go to learn?

Id settle for just deleting pawns and items from wealth calculation. Or reducing coefficients.
Title: Re: Which files cover wealth calculation or raid points?
Post by: RawCode on September 17, 2020, 09:05:22 AM
you can learn c# anywhere
for code injection, check "harmony" manual, it's possible to inject directly, but you should use harmony
Title: Re: Which files cover wealth calculation or raid points?
Post by: Sputax on September 17, 2020, 02:43:32 PM
Thank you for taking the time but i am way over my head. Will just have to pray Marvin or someone else more skilled makes the mod.