Tactics
Smarter unit AI: all units focus ranged enemies first, short-range units never kite, ranged units fire-then-retreat, spread targeting, spacing, early fire, map clamp, friendly-fire avoidance, no cowar
模組介紹 作者原文
Tactics
Makes TABS units fight smarter. Every feature is independent and configurable.
Features
- Focus ranged units — Ranged units have their targeting priority multiplied by 1.33, so every attacker on the field (melee, ranged, vanilla targeting included) prefers enemy ranged units first.
- Spread targeting — Melee units prefer enemies that fewer allies are already attacking.
- Spacing & obstacle avoidance — While approaching, units keep a small gap and sidestep around blockers; once engaged they close ranks and fight.
- Extended fire range — Ranged units open fire at 1.5x range but only stand still inside normal range.
- Tactical kiting — Ranged units (weapon range >= 10m, no melee sidearm) fire first, then retreat only while their weapon reloads and an enemy is within range:
- The flee trigger never exceeds the attack range, so units no longer run from enemies they cannot shoot
- 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
- Map bounds — Destinations are clamped inside the map circle (0.5m margin).
- Friendly-fire avoidance — Ranged units hold fire and strafe to a clear position when a friendly blocks the firing line.
- Spread rebalance — Added spread = 3 x (10 / weapon range) in quadrature: long-range units stay accurate, short-range throwers get a proper penalty.
- No coward penalty — The vanilla mechanic that makes shooters inaccurate with longer cooldown when enemies close in is removed.
- 5x turn speed — Units rotate five times faster (mounts and riders keep vanilla turning).
Install
- Install BepInExPack_TABS
- Install this mod with a mod manager, or drop the dll into BepInEx/plugins/
- Launch the game
Config
After first launch: BepInEx/config/local.smarterai.cfg — every feature and number is tunable.
Changelog
2.1.0
- Initial release
- All units prioritize enemy ranged units (4x target priority)
- Ranged units fire before retreating; flee trigger capped at attack range
- Short-range units (weapon range < 10m) never kite
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
前置依賴
下面這些內容需要先安裝,否則該模組不會生效:
BepInEx-BepInExPack_TABS