Skip to content

ZenArtillery

Zenarchist edited this page May 6, 2026 · 2 revisions

download

What Is This?

This mod adds artillery strike signal grenades to the loot economy.

The grenades act as smoke grenades, but shortly after pulling the pin you will hear a distant artillery barage like when a regular artillery strike occurs.

A few seconds later several bombs will drop around the smoke grenade. The bombs can be configured by the server owner to make them more or less lethal to players and infected.

I recommend removing regular red & green smoke grenades from your loot table when using this mod, unless you want players to be able to spook each other!

Note: this mod does not have a master config to enable/disable the mod. To disable the mod, just don't spawn the artillery strike grenade items in your types.xml

Config

profiles/Zenarchist/ZenArtilleryConfig.json

{
    "ConfigVersion": "1.29.1", // Don't touch this 
    "DestroyTrees": 1, // Enable/disable the destruction of trees (Treesplosions compatibility)
    "Player_Kill": 0, // Does bomb contact insta-kill players?
    "Player_BreakLegs": 1, // Does bomb contact break legs?
    "Player_CauseBleeds": 1, // Does bomb contact cause bleeds?
    "Player_ExtraDamage": 0.0, // Don't set this higher than 0.5 or it's basically certain death and you might as well turn Player_Kill=true
    "SafeUnderRoof": 1, // Is player & DamageObjects/Car safe from bombs while under a roof? (Doesn't apply to zombies)
    "Zombie_Kill": 1, // Does bomb contact kill zombies?
    "Animal_Kill": 1, // Does bomb contact kill animals?
    "MinStrikeSecs": 10, // Minimum delay before playing artillery sound
    "MaxStrikeSecs": 20, // Max delay before playing artillery sound
    "MinBombSecs": 15, // Min delay AFTER playing artillery sound for bombs to drop
    "MaxBombSecs": 30, // Max delay AFTER playing artillery sound for bombs to drop
    "MinBombs": 9, // Minimum bombs to drop
    "MaxBombs": 12, // Maximum bombs to drop
    "MinChemBombs": 1, // Minimum chemical bombs to drop for ChemGas signal grenade
    "MaxChemBombs": 1, // Maximum chemical bombs to drop for ChemGas signal grenade
    "BombDropRadius": 30, // Bomb radius from smoke grenade position - bombs are dropped within this radius (meters)
    "BombDamageRadius": 30, // Bomb damage radius from explosions - any objects within this distance are affected by below settings (meters)
    "ChemStrikeDoesDamage": 1, // If disabled then chemical artillery strikes don't damage objects/cars, they only drop gas and affect players & zeds
    "CarMinDamage": 100, // If a car is bombed, this defines how much damage to apply to a randomly selected car part from the below list
    "CarMaxDamage": 250, // If a car is bombed, this defines how much damage to apply to a randomly selected car part from the below list
    "DamageCarParts": [ // This array defines a list of car parts that can be damaged (can be attachment slot name, attachment classname, or vehicle damage zone)
        "Chassis",
        "Engine",
        "FuelTank",
        "Reflector_1_1",
        "Reflector_2_1",
        "CarRadiator",
        "SparkPlug",
        "GlowPlug",
        "Wheel",
        "Trunk",
        "Door",
        "Hood"
    ],
    "DamageObjects": [ // This array defines any other objects that are to be affected by bombs (eg. tents, storage items, whatever you like)
        {
            "Type": "example_object_classname",
            "Damage": 1000
        }
    ]
}

Types.xml

    <!-- Artillery strike grenade -->
    <type name="Zen_ArtillerySmokeGrenade">
        <nominal>2</nominal>
        <lifetime>14400</lifetime>
        <restock>7200</restock>
        <min>1</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="1"/>
        <category name="weapons"/>
        <usage name="Military"/>
    </type>
    <type name="Zen_ArtillerySmokeGrenadeChem">
        <nominal>2</nominal>
        <lifetime>14400</lifetime>
        <restock>3600</restock>
        <min>1</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="weapons"/>
        <usage name="ContaminatedArea"/>
    </type>

ZEN'S MOD WIKI

Setup Guide

General Information


Utilities

My utility style mods for debugging etc.

Game Mechanics

Mods which affect game mechanics:

Gear / Objects

Mods which add gear to the game:

Server-Side Mods

Mods which run purely server-side:

Mods Not In Modpack

My standalone mods

Clone this wiki locally