Zen's Spray Painting - ZenarchistCode/ZenModPack GitHub Wiki

What Is This?

This mod adds the ability to paint certain items black, green or camo if a camo variant exists.

Currently only set up for vanilla items.

Due to the incomplete integration of this feature with vanilla mechanics, I found it easiest to just make a JSON config to set which items can be painted which colours.

If an item has a "camo" variant, then using a green or black spraycan on an already-painted version of that item will produce the camo variant.

To strip the paint of a weapon and convert it back to its vanilla skin use a disinfected rag on it (ie. pour alcohol on a rag, then scrub the rifle/item).

You will need to add the following items to your loot table's types.xml:

Zen_Spraycan_Black
Zen_Spraycan_Green

You can theoretically use any spraycan which inherits from vanilla Spraycans, but the above 2 items have stringtables set up with language translations etc.

Config Explanation:

Config file: profiles/Zenarchist/ZenPaintingConfig.json

{
    "PaintCfg": {
        "Wellies_": { // Item name
            "Variations": [
                "green", // Possible variants
                "black"
            ]
        },
        "SKS": {
            "Variations": [
                "green",
                "black"
            ]
        },
        "SawedoffMosin9130": {
            "Variations": [
                "green",
                "black",
                "camo"
            ]
        },
        "AK74_Hndgrd": {
            "Variations": [
                "camo",
                "black"
            ]
        }
    }
}

Master Config

To disable this mod set "ZenPainting": 0 in %server_profile/Zenarchist/Utilities/ZenModPackConfig.json