Help needed with making weapon range changes with assemblies

Started by Alphaca, September 15, 2021, 07:40:28 AM

Previous topic - Next topic

Alphaca

After seeing mod from workshop that makes Combat extended's grenade throwing range be influenced by pawn's manipulation, I wanted to make a mod that does the same but with vanilla grenades. I'm new to coding, and have seen some rimworld coding tutorials. But i can't figure out how to make this mod. Help?

Canute

As nonmodder i would say.
Disassemble the vanilla code.
Find the code passage for grenade throwing.
Then create your own code and patch the vanilla code with it.
I think once you see the vanilla code you prolly find a way to extend the range, or check how CE did that.