Replacing/removing things from vanilla?

Started by apljee, March 09, 2015, 07:04:06 PM

Previous topic - Next topic

apljee

Would it be possible to remove something from the vanilla game? eg. removing heaters in substitute for another object. If so, DLL or XML modding?

ItchyFlea

.XML modding.
Remove the <designationCategory>Temperature</designationCategory> tag from the heater. That way, the only way to build one is to either continue an existing save that already has one, or use God mode.

You could also modify it so it doesn't actually do anything.
All my mods are licensed under a Attribution-NonCommercial-ShareAlike 4.0 International
Ask for permission before using in ModPacks

Click here for a list of the mods I've created

apljee

Quote from: ItchyFlea on March 10, 2015, 04:41:22 PM
.XML modding.
Remove the <designationCategory>Temperature</designationCategory> tag from the heater. That way, the only way to build one is to either continue an existing save that already has one, or use God mode.

You could also modify it so it doesn't actually do anything.

But, I don't mean specifically modifying the core files, I mean would it be possible to use an external mod that can do that?

mrofa

This is aexternall mod, if you make a thing in xml that have same <defName> as the one in the core, thing from your mod will replace the core thing.
So basicly just copy the heaters def in your mod xml and remove the line that ItchyFlea writen.
All i do is clutter all around.

apljee

Quote from: mrofa on March 10, 2015, 06:15:20 PM
This is aexternall mod, if you make a thing in xml that have same <defName> as the one in the core, thing from your mod will replace the core thing.
So basicly just copy the heaters def in your mod xml and remove the line that ItchyFlea writen.

oh ok! thank you for the explanation @mrofa :)