aliens

Author Topic: [FIXED] Soldiers do not react to shots from behind them  (Read 4056 times)

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
[FIXED] Soldiers do not react to shots from behind them
« on: July 28, 2017, 04:31:14 am »
I don't know if this is intended behavior, but I've been noticing that soldiers will not react to shots that hit them from behind. This is contrary to aliens, who will react to shots that hit them from behind. I am fairly certain that this behavior was in the original game, though it could have been difficult to tell given how uncommon it was for a soldier to survive a hit, let alone react to it. But I have soldiers with high reactions fighting aliens with low reactions, and my soldiers will definitely shoot back when they can see the alien, but they will not shoot back at an alien they are facing away from.

Shouldn't X-Com soldiers be able to react to being shot from behind?
« Last Edit: December 14, 2017, 11:29:44 pm by The Reaver of Darkness »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #1 on: July 28, 2017, 05:11:29 am »
code dive in progress, please check back later.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #2 on: November 08, 2017, 04:53:23 pm »

Offline Dwarmin

  • Sergeant
  • **
  • Posts: 27
  • Smoke grenades saved the Earth
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #3 on: November 08, 2017, 06:11:57 pm »
Nothing better than sneaking up on that muton and shooting him in the back, only for him to spin around and gun you down like Neo from the Matrix.  :P

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #4 on: November 16, 2017, 02:05:45 am »
Line 873 says: we don't extend the same "enhanced aggressor memory" courtesy to players, because in the original, they could only turn and react to damage immediately after it happened.

They can't turn and react to damage. They can only react to it if they're facing either directly at it or 1 rotation away.



Line 874 says: this is because as much as we want the player's soldiers dead, we don't want them to feel like we're being unfair about it.

It seems pretty unfair to me that the aliens get an enhanced aggressor memory and player units do not. How would it be unfair to have internal consistency and give the player the same capabilities that the aliens have? The aliens already possess higher attributes and technology, which can be further altered by mods. It doesn't make any sense to me to force the player to be at a very specific and unexplained disadvantage which cannot be altered by a modder.

If player units could react to fire from behind them, a modder could easily disable it by giving them a low reaction score.
If player units cannot react to fire from behind them, there is nothing a modder can do to change that.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #5 on: November 16, 2017, 06:01:06 pm »
you seem to have misunderstood: those comments were added to reflect the changes that i made.

They can't turn and react to damage.

actually they very much can do that now, that was the purpose of the commit.

It seems pretty unfair to me that ... [snip] ... which cannot be altered by a modder.

modders have never been able to alter the game mechanics, and players were at an extremely similar disadvantage in the original, as explained in the comments.
the only difference is that the player can no longer exploit the subtleties of the system.
« Last Edit: November 17, 2017, 12:37:02 pm by Warboy1982 »

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1512
    • View Profile
Re: Soldiers do not react to shots from behind them
« Reply #6 on: November 17, 2017, 09:26:48 pm »
Oh, I see. Thanks!

edit: I just tested it in the latest nightly, it works!
« Last Edit: November 17, 2017, 09:51:25 pm by The Reaver of Darkness »