[Mod Request] - Disable most pawn weapons

Started by Elixiar, July 06, 2016, 01:09:36 PM

Previous topic - Next topic

Elixiar

Hi,

I'd like if someone was able to create a mod where all pawn weapons are disabled except the pistol, pump shotgun, Molotov grenades, survival rifle and tribal weapons was possible.

I want a modded wild west themed world though still with pretty much everything as normal except stuff like charge rifles and sniper rifles.

Would this be possible?

Mostly though having these sort of weapons should slow the combat down. Which is really what I would like more than anything.

Thanks
"We didn't crash here by accident... something brought us down". - Anon Rimworld Colonist

Mightyrick1

It might be quite simple to accomplish that, just get rid of the weapon code you don't want. Of course, you'll want to keep a backup around so that you can place them back in if you want to
Amateur modder / YT LPer at www.tiny.cc/DDYoutube
mods : Elysian Flags - Mscarsonelle's theme

Elixiar

Quote from: Mightyrick1 on July 09, 2016, 09:43:49 AM
It might be quite simple to accomplish that, just get rid of the weapon code you don't want. Of course, you'll want to keep a backup around so that you can place them back in if you want to

Thanks for the response!
Should I overwrite the Core file to achieve this?
Where can I go about finding the weapon code folder?
"We didn't crash here by accident... something brought us down". - Anon Rimworld Colonist

Mightyrick1

you can find them in core -> defs -> thingdefs

Just get rid of most of the code in Weapons_Guns.xml and the melee weapons in Weapons_Melee.xml that you don't want, and it should work fine, unless there's references elsewhere, which you can trace down with the log once you start the game
Amateur modder / YT LPer at www.tiny.cc/DDYoutube
mods : Elysian Flags - Mscarsonelle's theme