You are viewing a potentially older version of this package. View all versions.
wnunnuns-Tactics-1.12.0 icon

Tactics

Smarter unit AI: spread targeting, spacing, early fire, safe kiting with turn states, map clamp, friendly-fire avoidance, spread rebalance, no coward penalty, 5x turn speed.

Date uploaded a day ago
Version 1.12.0
Download link wnunnuns-Tactics-1.12.0.zip
Downloads 321
Dependency string wnunnuns-Tactics-1.12.0

This mod requires the following mods to function

BepInEx-BepInExPack_TABS-5.4.16 icon
BepInEx-BepInExPack_TABS

BepInEx pack for TABS. Preconfigured and ready to use.

Preferred version: 5.4.16

README

Tactics

Makes TABS units fight smarter. Every feature is independent and configurable.

Features

  1. Spread targeting — Melee units prefer enemies that fewer allies are already attacking.
  2. Spacing & obstacle avoidance — While approaching, units keep a small gap and sidestep around blockers; once engaged they close ranks and fight.
  3. Extended fire range — Ranged units open fire at 1.5x range but only stand still inside normal range.
  4. Tactical kiting — Ranged units (weapon range >= 6m, no melee sidearm) flee when an enemy closes in:
    • Turn in place, then run to a validated safe spot (0.5x range behind them, ground-checked — no cliff dives)
    • Turn back, wait 1s, hold the firing stance for 1.5s (covers attack windup), then re-judge
    • Horses, raptors, chariots and their riders are completely unaffected
  5. Map bounds — Destinations are clamped inside the map circle (0.5m margin).
  6. Friendly-fire avoidance — Ranged units hold fire and strafe to a clear position when a friendly blocks the firing line.
  7. Spread rebalance — Added spread = 3 x (10 / weapon range) in quadrature: long-range units stay accurate, short-range throwers get a proper penalty.
  8. No coward penalty — The vanilla mechanic that makes shooters inaccurate with longer cooldown when enemies close in is removed.
  9. 5x turn speed — Units rotate five times faster (mounts and riders keep vanilla turning).

Install

  1. Install BepInExPack_TABS
  2. Install this mod with a mod manager, or drop the dll into BepInEx/plugins/
  3. Launch the game

Config

After first launch: BepInEx/config/local.smarterai.cfg

Changelog

1.0.0

  • Initial release

CHANGELOG

2.0.0

  • Initial release
  • All units prioritize enemy ranged units (RangedPriorityMultiplier = 4, applies to vanilla targeting too)
  • Ranged units fire first, retreat only while reloading (no more fleeing from enemies outside attack range)
  • Flee trigger distance capped at the attack range
  • Units with weapon range < 10m never kite (MinKiteRange = 10)
  • Spread targeting with crowd penalty, spacing & obstacle avoidance, extended fire range, safe kite destinations, map clamp, friendly-fire avoidance, quadrature spread rebalance, coward penalty removed, 5x turn speed