Ludeon Forums

RimWorld => Mods => Help => Topic started by: TheroPokemasd on March 29, 2017, 02:54:00 PM

Title: Closed
Post by: TheroPokemasd on March 29, 2017, 02:54:00 PM
Closed
Title: Re: Problem when trying to remove Vanilla Weapons
Post by: Greep on March 29, 2017, 04:46:03 PM
Not sure of the appropriate way to remove defs, but you could probably disable weapons with the given flags.  There's no way to make or use heavy charge blasters, so I'm sure there's a way to make weapons mechanoid only (And minigun you can add the no drop tag). 

Somewhat silly, but you could look at the flags of the doomsday and use those, set it's marketvalue to absurdly high so raiders never have it, and set tradeability to false so it never shows up.
Title: Re: Problem when trying to remove Vanilla Weapons
Post by: RawCode on March 29, 2017, 06:21:46 PM
you can't remove defs this way.
also you can't remove defs referenced by code at all, game will crash with NPE as soon as try to spawn such weapon.
code injection route is out of question due to obvious lack of skill.
Title: Re: Problem when trying to remove Vanilla Weapons
Post by: The-Eroks on April 02, 2017, 01:57:30 PM
Quote from: Greep on March 29, 2017, 04:46:03 PM
Not sure of the appropriate way to remove defs, but you could probably disable weapons with the given flags.  There's no way to make or use heavy charge blasters, so I'm sure there's a way to make weapons mechanoid only (And minigun you can add the no drop tag). 

Somewhat silly, but you could look at the flags of the doomsday and use those, set it's marketvalue to absurdly high so raiders never have it, and set tradeability to false so it never shows up.

What flags would you suggest?