aliens

Author Topic: Alien shooting at XCOM from out-of-range  (Read 3659 times)

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Alien shooting at XCOM from out-of-range
« on: January 17, 2015, 05:44:39 pm »
I've seen a weird behavior where the Alien can take reaction shots even though they are out of range of their victim.

I now have a save game (with mods, unfortunately) where the alien placed at 19 east, 7 south shot at my advancing scout. From the player's standpoint, that tile is still black, out of range.
I've tested with debug mode : The alien doesn't "see" the soldier, according to the UI (no [1] sign). Yet during its own turn, the alien AI keeps staying on this tile on shooting at my soldier.

Anybody has an idea how to troubleshoot better ?

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Alien shooting at XCOM from out-of-range
« Reply #1 on: January 18, 2015, 11:18:14 am »
post the save

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Re: Alien shooting at XCOM from out-of-range
« Reply #2 on: January 18, 2015, 05:27:44 pm »
I attached the saved game, after "cleaning it up" to no longer require the mod (xops).

When playing the alien turn, I can see that by moving away and then back, the XCOM soldier gets a reaction fire, even though I, the player, don't see this tile. So the difference seems to be between :
Category 1 : What the battlescape displays as visible or not
Category 2 : What the AI and reaction fire consider visible

edit: Added a screenshot of where the sharp-eyed alien stands. The tile is at a distance of sqrt(19²+7²) = 20.248
« Last Edit: January 18, 2015, 06:34:29 pm by yrizoud »