XCOM 2
27 个评价
Berserker AI Fix
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
202.211 KB
2016 年 5 月 23 日 上午 11:30
1 项改动说明 ( 查看 )

订阅以下载
Berserker AI Fix

描述
Removes the check on Berserker attack scoring whether the opponent is an Alien or not, resolving a problem where Berserkers would not attack your units if they are Mind-Controlled Aliens.

-= TECHNICAL TALK =-

This supplemental useless AI check caused the Berserker to be unable to attack your Mind Controlled units if they are Aliens (not ADVENT). In this case the word "Alien" refers to "Any non-ADVENT unit", not the enemy side as a whole. When TargetIsNotAlien returned FALSE, the function ceased to continue, and the Berserker skips his turn since his target is illegal.

-= COMPATIBILITY WITH OTHER AI MODS =-

If you have a custom AI that overwrites your entire XComAI.INI and this mod doesn't work, you can implement this fix yourself. Remove TargetIsNotAlien from ScoreClosestEnemyIfInRange in DefaultAI.INI, then decrement all childs to the right by 1. (Child[2] becomes Child[1], etc.)

-= LW2 COMPATIBILITY =-

PROBABLY rolled into LW2, don't use.
3 条留言
zin 2023 年 3 月 20 日 下午 3:24 
Thanks for letting me know, Giuseppelll. Was about to install it.
Juravis  [作者] 2016 年 7 月 7 日 下午 3:49 
@GiuseppeIII That's nice. I have a lot of AI stuff but I dont know how to release an entire file that's been completely overwritten to the workshop.
GiuseppeIII 2016 年 7 月 7 日 下午 3:46 
Just to let you know, (and if you also want to put it in the mod description) this mod has been incorporated in A Better Advent and A Better AI by DerBK.