Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Claymore cannot shoot across the shoreline

Open moss-orbit-9f339e opened this issue 1 month ago • 0 comments

Reported in #zkdev (Helwor): Claymore cannot shoot across the shoreline.

  • From land at a target in water: the rolled charge follows the ground 5 elmos up and explodes where the water is about 5 deep. The charge is not a water weapon, so the engine detonates it on entering water (LuaRules/Gadgets/weapon_projectile_retarget.lua:106-113, Recoil ProjectileHandler.cpp:627-644).
  • From sea at a target on land: nothing is fired. A torpedo fired from above the water can only target things in water (Recoil TorpedoLauncher.cpp:46), and the land charge is off at sea (scripts/hoverdepthcharge.lua:183).

This has been the case since the Claymore rework in 7807360ea3f, so it may be intended. Options:

  1. Keep it and mention it in the unit description.
  2. Let the rolled charge cross water (more reach for Claymore).
  3. Don't roll a charge at targets it cannot reach, so it doesn't waste its reload (same reach).
  4. Give a Claymore at sea a way to hit land near the shore (needs a new mechanic).

From reading the code; not tested in game.

Filed with help from Claude Code.

moss-orbit-9f339e avatar Oct 25 '26 05:10 moss-orbit-9f339e