Advanced Auto-Aiming|智能自动射击 · 猛猛加算力
你有没有遇到这种情况:远程明明开了“自动射击”,敌人也在射程里,但就是发呆不打?
这个 MOD 专门解决这类“卡射击/不换目标”的问题——但它非常克制:只有在你同时开启「自动射击 + 防御模式」时,才会启动“智能射击模式”,确保不因为转火扰乱你的远程阵型。
可以试着搭配 Hold Position: https://steamcommunity.com/sharedfiles/filedetails/?id=2869716515
感谢@Snek @999999999999的制作,保持阵型配合起来如虎添翼!!能减少 CA 原生“转向机制”导致的远程阵列变形。
非常建议搭配使用体验一下,喜欢原版风味的可以仅订阅本Mod,体验会比CA默认的远程自动射击舒服很多!!
它怎么做到几乎不打扰你?
✅ 必须条件:远程单位 Fire-at-Will ON + 防御模式 ON 才会启用
✅ 只在单位空闲时介入:不在近战、也不在移动,才会帮你“补一次”攻击目标
✅ 基本不抢操作:发完指令立刻释放控制权,你的手动操作优先级永远最高
✅ 聪明选目标:优先点掉威胁大的地方单位
✅ 过滤无意义目标:溃逃/崩溃/离场的单位不会被当成射击对象
✅ 防抖机制:目标确实“打不到/不可用”持续一段时间才会换,避免来回乱跳
✅ 炮兵的智能射击目标不会选择离玩家单位很近的单位,避免误伤。当射程内只有这种单位时会回退到CA自己的自由射击机制。炮兵自动射击难免误伤,小心使用,步兵绞肉的时候尽量关闭防御模式或自动射击模式手动控制打点。
✅ 新增目标优化:射击的目标飞行时默认用CA的自动射击,避免飞行单位快速移动扰乱阵型。
你照样按你的节奏排阵、拉线、点杀。它只负责在你选择“守阵自动射击”的前提下,让远程更稳定、更聪明
🎯 喜欢“纯射玩法 / 远程海” 的玩家一定要试一下! 这就是为你这种“站桩火力最大化”打法做的稳定补强。
💬 也欢迎把你的战斗截图/复盘现象/不触发的情况发出来——你的一条反馈,可能就是下一版的关键优化点。
已知问题: 智能射击模式下,炮兵部队手动攻击地面的时候会被脚本认为是无效目标,触发自动寻敌而转移目标。需要手操A地板的时候,可以手动关闭炮兵自动射击,或离开防御模式。
希望这个Mod能帮到大家,还没有经过大量测试,如果有不好的体验请见谅
该Mod已经整合到Better Battle AI 中请不要重复订阅,会互相覆盖。
Better Battle AI:https://steamcommunity.com/sharedfiles/filedetails/?id=3619377287 优化了很多AI犯傻的情况,欢迎订阅
🔧 兼容性
由于本Mod是纯lua脚本写的所以基本兼容工坊的绝大部分Mod,比如:SFO,R大,ATC,与龙同行等等
与任何通过改表类优化战役,战斗的Mod兼容
✅ 兼容: Just Good Babysitter
❌ 不兼容: 通过脚本自动控制玩家单位的Mod比如: AI General 3
Ever had ranged units with Fire-at-Will ON… enemies in range… and they still refuse to shoot?
This mod fixes those “stuck autofire / no retarget” moments — but it’s intentionally conservative: Smart Fire only activates when BOTH Fire-at-Will AND Guard/Defend Mode are ON, so your formation won’t get disrupted by unwanted retargeting.
You can also try pairing this with Hold Position: https://steamcommunity.com/sharedfiles/filedetails/?id=2869716515
Big thanks to @Snek and @999999999999 for making it — together with this mod, it’s a huge boost! It helps reduce ranged formation distortion caused by CA’s built-in turning behavior.
Highly recommended to try them together. If you prefer a more vanilla experience, you can also subscribe to this mod only — it should still feel much smoother than CA’s default ranged auto-fire.
✅ Activation requirement: Only works when a ranged unit has Fire-at-Will ON and Guard Mode ON.
✅ Only steps in when the unit is idle: If it’s not in melee and not moving, it will “nudge” the unit by assigning a better attack target once.
✅ Doesn’t steal your control: It releases control immediately after issuing the order—your manual commands always have the highest priority.
✅ Smarter targeting: Prioritizes high-threat enemy units first.
✅ Filters pointless targets: Units that are routing / crumbling / leaving the battlefield won’t be picked as targets.
✅ Anti-jitter logic: It only switches targets after the current one has been unshootable / invalid for a while, preventing constant target swapping.
✅ Artillery friendly-fire safety: When choosing targets for artillery, it avoids enemies that are too close to your own troops to reduce friendly fire. If only such targets are in range, it will fall back to CA’s default Fire-at-Will behavior. Artillery auto-fire can still cause friendly fire—use with care. In infantry “meat grinder” fights, consider turning off Guard Mode or Fire-at-Will and manually aim your shots.
✅ New target behavior: When the target is flying, the mod defaults to CA’s auto-fire to avoid fast-moving flying units pulling your formation out of shape.
Artillery auto-fire can still cause friendly fire—use with caution. When your infantry are in a grinder fight, it’s best to disable Guard Mode or Fire-at-Will and manually aim your shots.
In short:
You command. Your line holds. Your ranged units keep firing — reliably.
🎯 If you love pure ranged / gunline gameplay, you HAVE to try this. It’s built to keep your firing line consistent and deadly.
💬 Please leave feedback (clips, screenshots, “didn’t trigger” cases, unit types, battle size) — your report can directly shape the next update.
Known issue: When you manually order artillery to fire at the ground, it gets treated as having no valid target. In auto-fire mode, the script may consider the unit “idle” and retarget it. You can work around this by turning off artillery auto-fire manually.
Hope this mod can be helpful to everyone. It hasn’t been extensively tested yet, so please forgive any rough edges or unpleasant experiences.
This mod has already been integrated into Better Battle AI—please don’t subscribe to both, as they will conflict and overwrite each other.
Better Battle AI: https://steamcommunity.com/sharedfiles/filedetails/?id=3619377287
It fixes a lot of the AI’s dumb moments—feel free to subscribe!
🔧 Compatibility
Because this mod is written purely in Lua, it is compatible with most Workshop mods, including major overhauls like:
SFO / Radious / ATC / To Walk With Dragons / siege improvement mods / etc.
✅ Compatible: Just Good Babysitter
❌ Not compatible: Mods that use Lua to directly control unit behavior, e.g. AI General 3