DayZ
193 ratings
Zens Artillery Strike Grenades
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
938.711 KB
8 Dec, 2022 @ 8:38pm
28 Nov, 2023 @ 2:42am
5 Change Notes ( view )

Subscribe to download
Zens Artillery Strike Grenades

Description
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!

Default Configuration:

Player_Kill = false; // Does bomb contact insta-kill players?
Player_BreakLegs = true; // Does bomb contact break legs?
Player_CauseBleeds = true; // Does bomb contact cause bleeds?
Player_ExtraDamage = 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 = true; // Is player & DamageObjects/Car safe from bombs while under a roof? (Doesn't apply to zombies)
Zombie_Kill = true; // Does bomb contact kill zombies?
Animal_Kill = true; // 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; // Min bombs to drop
MaxBombs = 12; // Max bombs to drop
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 = true; // 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 = List // This array defines a list of car parts that can be damaged (can be attachment slot name, attachment classname, or vehicle damage zone)
DamageObjects = List // This array defines any other ingame objects that are to be affected by bombs (eg. tents, storage items, whatever you like)

Installation Instructions:

Install this mod like any other mod - copy it into your server's root directory, add it to your launch parameters, and make sure to copy the .bikey into your server keys.

Don't forget to add the types.xml entries and modify your quantities & spawn locations according to your preference.

This mod must be installed on both the server & client.

When you run the mod for the first time the default JSON config will be generated in your server profiles folder under a folder named "Zenarchist".

Repack & Source Code:

Unfortunately due to lack of time I can't maintain all of my mods all of the time. I do my best, but these mods are offered as-is. If there's a problem, you have the source code and my permission to fix it yourself and upload a fixed version to the workshop without any credit necessary. It's all free.

You can repack this mod if you like, and do anything else you want with it for that matter. The source code is on my GitHub at www.zenarchist.com

Buy Me A Coffee:

All my mods are free and open source, but it takes an enormous amount of time to put some of these mods together. If I've helped you out, please consider helping me buy my next coffee! I don't expect it, but I very much appreciate it.

https://buymeacoffee.com/zenarchist

Enjoy!
Popular Discussions View All (2)
1
28 Mar, 2024 @ 12:22pm
Undefined function Zen_ArtillerySmokeGrenade.GetRPCManager
Fred
0
6 Jun @ 5:10pm
Crash 1.28
OLVR
77 Comments
Cypher Agathe 25 Mar @ 9:49am 
Element | PVE vs PVP vs THE HORDE vs AI vs YOU vs THEM vs ME 14.1.28.218:2302
Jay8454 29 Dec, 2024 @ 9:38pm 
Idea!, a trigger point that sets one off in say a military base? A tripwire setting booby trap? An array to allow for spread area in a .json also a delay and maybe setting for more than one smoke in spread area radius? I like this mod!
𝓚 𝓪 𝓻 𝓶 𝓪 13 Nov, 2024 @ 6:45pm 
Why cant I remove this mod from my server ?
_Papaj_Chuligan_ 18 Aug, 2024 @ 11:06am 
------------------------------------
FRAGWIN, 18.08 2024 19:04:12
NULL pointer to instance when trying to access variable 'Radius' (Parent instance is null)
Class: 'Zen_ArtillerySmokeGrenade'
Entity id:1039833

Function: 'OnExplode'
Stack trace:
ZenTreesplosions/scripts/4_world/entities\explosivesbase.c:15
scripts/4_World/entities\itembase\grenade_base.c:167
scripts/4_World/entities\explosivesbase.c:98
🆅🅰🆉🅾 14 Jul, 2024 @ 3:07am 
thank you for your work, this is my L-C-T message. works fine on my server.
Skara_666 29 May, 2024 @ 4:10am 
Something new after 1.25...

NULL pointer to instance
Class: 'SurvivorBase'
Entity id:3650526

Function: 'EEHitBy'
Stack trace:
ZenArtillery/scripts/4_world/entities\manbase\playerbase.c:26
Deceased 28 Mar, 2024 @ 1:24pm 
It works fine for me. You don’t have to install it lol and even if throws an error server should still start.
LACOGNE 28 Mar, 2024 @ 12:27pm 
Not working with 1.24
When I try to install this mod on my server I'v got an error :
Can't compile "World" script module !

ZenArtillery/scripts/4_world/entities\grenade_base\zen_artillerysmokegrenade.c(57): Undefined function 'Zen_ArtillerySmokeGrenade.GetRPCManager'
Deceased 3 Jan, 2024 @ 1:17pm 
Thank you for the mod! I'll be repacking it into my server pack. Appreciate it!
Lord Rizzington 27 Dec, 2023 @ 9:44am 
This mod and treesplosions is a must have