Slowing Laser Turret


A support laser turret that slows the enemies it hits: 1.5x range, more slow with Laser Weapons Damage research, and it always goes for enemies that are not slowed yet.

Content
5 hours ago
2.1
8
Combat Enemies
Owner:
versuffer
Source:
https://github.com/versuffer/factorio...
Homepage:
https://github.com/versuffer/factorio...
License:
GNU GPLv3
Created:
5 hours ago
Latest Version:
1.0.0 (5 hours ago)
Factorio version:
2.1
Downloaded by:
8 users

Slowing Laser Turret

A support turret that trades damage for control: every one of its hits slows the enemy unit it strikes, so targets stay longer inside your line of fire while your other defences do the real damage. It shoots 1.5 times as far as a laser turret, and its slow grows together with your Laser Weapons Damage research.

Features

  • Long range — 1.5 times the laser turret's: 36 tiles instead of 24.
  • Slows on every hit — weak enemies are slowed more than strong ones; the slow never exceeds 90%, and slowed units keep crawling.
  • Slows stack — the slows of several turrets add up to that 90% cap.
  • Adjustable damage — by default 10% of the laser turret's damage; at 0% it deals no damage and still slows.
  • Grows with research — Laser Weapons Damage research raises its damage and its slow power by the same percentage, so it stays useful against big enemies late in the game.
  • Smart target priority — it always goes for enemies that are not slowed yet and holds them until they die or leave its range.
  • Visible feedback — a frost effect marks slowed units and disappears the moment the slow ends; a placed turret's tooltip shows its current slow power.
  • Familiar cost — the laser turret's recipe (20 steel plates, 20 electronic circuits, 12 batteries) and its energy use (800 kJ per shot); unlocked by its own research after the laser turret (500 of each: automation, logistic, military and chemical science packs).
  • A distinct look — a sky-blue beam, a "winter" blue head and the frost indicator, all recoloured vanilla sprites.

How the slow works

Each hit slows the target's movement. The slow of one turret equals 187.5 divided by the target's maximum health, in percent — so weak enemies are slowed more than strong ones. Maximum health counts with quality, so higher-quality enemies are slowed less. Each turret's slow lasts one second after its last hit to that target, and the slows of several turrets add up to the 90% cap. A frost effect marks slowed units and disappears the moment the slow ends.

Enemy Max health Slow from one turret
Small biter 15 90% (cap)
Big biter 375 50%
Behemoth biter 3,000 about 6%

Settings

Both settings are startup settings: changing one restarts the game.

Setting Default Range What it does
Regular laser damage (%) 10 0–100 The turret's damage as a percentage of the regular laser turret's damage. At 0% it deals no damage and still slows.
Slow coefficient 1 0.1–10 Multiplies the slow power for the whole game. It does not touch the damage or the 90% cap.

Target priority

The turret goes for the nearest enemy that is not slowed yet and keeps firing at it until it dies or leaves its range; then it takes the next one. Enemies that are not slowed always come first. There is no switch: this priority is always on.

Compatibility

  • Requires Factorio 2.1.7 or newer.
  • Works with and without Space Age (optional dependency).
  • Slows biters, spitters, pentapods and units from other mods; worms and demolishers are shot but not slowed.
  • Cannot be built on space platforms.

Development

Repository: https://github.com/versuffer/factorio-mod-slowing-laser-turret