Ludeon Forums

RimWorld => Mods => Help => Topic started by: Alphaca on September 15, 2021, 07:40:28 AM

Title: Help needed with making weapon range changes with assemblies
Post by: Alphaca on September 15, 2021, 07:40:28 AM
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?
Title: Re: Help needed with making weapon range changes with assemblies
Post by: Canute on September 15, 2021, 09:07:42 AM
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.