← modperf · analyzed mods

AI Grenade Throw

AI Grenade Throw — Expansion AI that actually throw grenades Adds grenade throwing to DayZ Expansion AI. While an AI is fighting a player it can lob a grenade at them (fragmentation or flashbang), so players can no longer just sit behind cover. Features - Lobbed, arcing throws, aimed with a measured force table (lands within about 1 m of the aim point, up to 35 m by default (calibrated to 60 m)) - Works with any… (more)

AI Grenade Throw — Expansion AI that actually throw grenades Adds grenade throwing to DayZ Expansion AI. While an AI is fighting a player it can lob a grenade at them (fragmentation or flashbang), so players can no longer just sit behind cover. Features - Lobbed, arcing throws, aimed with a measured force table (lands within about 1 m of the aim point, up to 35 m by default (calibrated to 60 m)) - Works with any Grenade_Base item: RGD5, M67, FlashGrenade, modded grenades - AI use grenades they carry (hands, vest, backpack). Give them grenades in their Expansion loadout JSON, so you control which AI tier gets which grenade - Optional: AI without a grenade can still throw one (SpawnGrenadeIfMissing), with the grenade type chosen by map zone (Bands), e.g. flashbangs in the early zone, fragmentation grenades further out - Skips the throw when a wall is in the way or the flight arc is blocked overhead (no more grenades dropped at the AI's own feet) - Short fuse (default 5 s) so it matters in a firefight - Works with PvP/PvE zone mods that delete grenades without a player thrower (tested with Ninjins PvP-PvE): AI grenades still explode - Throws only at real players by default - Every value configurable, server side only Requirements - DayZ Expansion AI (must be loaded before this mod) - Server side mod: load it with -servermod (clients do not need it) Setup 1. Add the mod to -servermod (after Expansion AI). 2. Start the server once; the config is created at profiles/AIGrenadeThrow/AIGrenadeThrowSettings.json 3. Give AI grenades: add e.g. RGD5Grenade or FlashGrenade to InventoryCargo in the Expansion loadout files (profiles/ExpansionMod/Loadouts/*.json) 4. Tune ThrowChance, ThrowCooldown, MinThrowDistance / MaxThrowDistance (default 35, max 55) and FuseDelay to taste Tip Different grenades per zone/tier: set SpawnGrenadeIfMissing true and fill Bands. Distance is measured from the line BandStartX/Z -> BandEndX/Z (same point twice = circle around it). Example: {MinDistance 0, MaxDistance 2500, GrenadeType ""} (none), {2500, 3800, "FlashGrenade"}, {3800, 100000, "RGD5Grenade"}. The AI's position when it throws decides the band. With no Bands every AI uses SpawnGrenadeType. Alternatively put grenades into the Expansion loadout JSON InventoryCargo. Config reference Enabled, DebugEnabled, LogLevelName (DEBUG/INFO/WARN/ERROR), CheckInterval, ThrowChance (per check), MinThrowDistance, MaxThrowDistance, ThrowAccuracy (0-1), MaxMissRadius, ThrowCooldown, ThrowForceMagnitude (0 = automatic), ArcUpwardRatio (arc height; the automatic force table is calibrated for 1.2), ThrowAtAIPlayers, FuseDelay (0 = vanilla), RequireLineOfSight, RequireClearArc, SpawnGrenadeIfMissing, SpawnGrenadeType, BandStartX/Z, BandEndX/Z, Bands. See the example file. Changing ArcUpwardRatio needs ThrowForceMagnitude set manually, because the distance table was measured at 1.2. Usage and redistribution - Free to use on your own server (public, private or community). - Do NOT re-upload, repack, mirror or redistribute this mod, or any part of it, to the Steam Workshop or anywhere else without my written permission. This includes modified versions. - Do not present this mod or its code as your own work. - Copies uploaded without permission may be reported. (무단 재업로드, 재배포, 수정본 배포를 금지합니다. 사용은 자유입니다.)

Workshop 3789180979

Not analyzed yet

modperf has not read this mod's scripts, so there is no report and it is left out of any stack it appears in. 1 live server in the crawl publishes it.

The worker downloads the mod from the Workshop and reads its Enforce Script — nothing is executed. Usually a few minutes. This page then shows the report.