project-navigation
Personal tools

Author Topic: Difficulty; alien shooting  (Read 5436 times)

Offline Duque Atreides

  • Rookie
  • ***
  • Posts: 80
    • View Profile
Difficulty; alien shooting
« on: May 26, 2012, 11:11:17 pm »
I can see that the aliens don´t uses all the shooting types of their weapons. Is this a matter of difficulty? The AI makes snap shots everytime?


Offline Duque Atreides

  • Rookie
  • ***
  • Posts: 80
    • View Profile
Re: Difficulty; alien shooting
« Reply #1 on: July 24, 2012, 04:37:48 pm »
Hi. I want to do the same question. Why the aliens don´t uses burst shot with plasma rifle, for example?

Thanks

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Difficulty; alien shooting
« Reply #2 on: July 24, 2012, 09:02:06 pm »
The answer is: the AI is buggy: AI_SearchBestTarget loops through all the fire modes but it resets visibility each iteration while only checking the visibility the first time, this effectively prevents aliens form ever using other firemode than the first one

Uploading patch to tracker shortly

Edit: Done patch #3547989
« Last Edit: July 24, 2012, 09:06:23 pm by DarkRain »

Offline Sandro

  • Squad Leader
  • ****
  • Posts: 240
  • Maintenance guy for UFO:AI 3D engine
    • View Profile
Re: Difficulty; alien shooting
« Reply #3 on: July 25, 2012, 06:11:45 pm »
Good catch! Heh, always was wondering why aliens always fire single shots whenever possible. Playtested it a bit -- aliens seem to be more dangerous now.

But reaction fire still always uses 1st firing mode, which is painfully obvious with double-barreled shotgun. Maybe, there is a similar problem?

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Difficulty; alien shooting
« Reply #4 on: July 25, 2012, 06:57:39 pm »
AFAIK AI reaction fire is only partially implemented (IIRC it is enabled for random AI actors at the start of battle and that's all)

Offline Duque Atreides

  • Rookie
  • ***
  • Posts: 80
    • View Profile
Re: Difficulty; alien shooting
« Reply #5 on: July 25, 2012, 11:39:59 pm »
The answer is: the AI is buggy: AI_SearchBestTarget loops through all the fire modes but it resets visibility each iteration while only checking the visibility the first time, this effectively prevents aliens form ever using other firemode than the first one

Uploading patch to tracker shortly

Edit: Done patch #3547989

And how can i use this patch? Where i need to copy it?

Nokim

  • Guest
Re: Difficulty; alien shooting
« Reply #6 on: July 25, 2012, 11:48:01 pm »
And how can i use this patch? Where i need to copy it?
It's already applied to master, so just update source from git or download latest nightly build.

Offline Duque Atreides

  • Rookie
  • ***
  • Posts: 80
    • View Profile
Re: Difficulty; alien shooting
« Reply #7 on: July 26, 2012, 12:13:15 am »
But nigthly build is for 2.5, isn´t? I´m playing 2.4.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Difficulty; alien shooting
« Reply #8 on: July 26, 2012, 11:02:19 am »
The change is only available in the latest development version.