Author Topic: [DONE] [Suggestion] AI option for destroying XCom base facilities  (Read 1386 times)

Online Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5557
  • Aaand we're back!
    • View Profile
    • My Wiki
First of all, AI can destroy base facilities also in OpenXcom.
However, as soon as any alien spots any xcom unit, all aliens stop attacking the base facilities and never resume it.
This is consistent with vanilla: https://www.ufopaedia.org/index.php/Base_Defence#Destruction_Of_Base_Facilities

We'll probably never know if it's a bug or a feature.
If you think it is a bug, you can allow the AI to continue their base destruction effort using following ruleset:

Code: [Select]
ai:
  destroyBaseFacilities: true   # default false

Put it either in vars.rul; or whereever your heart desires.

Offline Ethereal

  • Colonel
  • ****
  • Posts: 317
    • View Profile
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #1 on: October 28, 2018, 05:47:09 pm »
First of all, AI can destroy base facilities also in OpenXcom.
However, as soon as any alien spots any xcom unit, all aliens stop attacking the base facilities and never resume it.

This condition is almost impossible. There's always an alien in the hangar facing the aisle where the XCOM unit is generated. That is, the aliens see the XCOM unit from the first round and never deal with the destruction of the base equipment. Here is if would test every tour has been conducted... Would be hardcore.

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 228
    • View Profile
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #2 on: October 30, 2018, 08:05:59 am »
First of all, AI can destroy base facilities also in OpenXcom.
However, as soon as any alien spots any xcom unit, all aliens stop attacking the base facilities and never resume it.
This is consistent with vanilla: https://www.ufopaedia.org/index.php/Base_Defence#Destruction_Of_Base_Facilities

We'll probably never know if it's a bug or a feature.
If you think it is a bug, you can allow the AI to continue their base destruction effort using following ruleset:

Code: [Select]
ai:
  destroyBaseFacilities: true   # default false

Put it either in vars.rul; or whereever your heart desires.

And what happened with the building? Something destroyed and not work anymore, or need more than 50% destruction?

Or no limits, need to destroy all tiles for destroying.
« Last Edit: October 30, 2018, 08:12:01 am by Biggieboy »

Offline Hobbes

  • Commander
  • *****
  • Posts: 3491
  • Infiltration subroutine in progress
    • View Profile
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #3 on: October 30, 2018, 04:13:32 pm »
And what happened with the building? Something destroyed and not work anymore, or need more than 50% destruction?

Or no limits, need to destroy all tiles for destroying.

Quoting from the UFOPaedia page mentioned by Meridian on his post: "Certain modules have "special" tiles in them, and if all of these are visibly damaged (or completely obliterated), then that module will be considered lost.

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 228
    • View Profile
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #4 on: October 30, 2018, 07:01:59 pm »
Quoting from the UFOPaedia page mentioned by Meridian on his post: "Certain modules have "special" tiles in them, and if all of these are visibly damaged (or completely obliterated), then that module will be considered lost.

Ok, sorry my english is bad. So if 1 modul fine ("all of these"), its "nothing" happened, the facilities its 100%.
« Last Edit: October 30, 2018, 07:06:56 pm by Biggieboy »

Online Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5557
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #5 on: October 30, 2018, 07:41:14 pm »
Ok, sorry my english is bad. So if 1 modul fine ("all of these"), its "nothing" happened, the facilities its 100%.

Igen.

Offline Biggieboy

  • Colonel
  • ****
  • Posts: 228
    • View Profile

Offline Eddie

  • Colonel
  • ****
  • Posts: 495
    • View Profile
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #7 on: March 19, 2019, 03:24:00 pm »
I have an idea for an AI improvement:
Can the terrain destruction ability of the AI be expanded to other missions? If yes, the AI could try to shoot some holes in the XCOM landing craft if there is nothing else to shoot at. That would create some problems for the player camping inside.
We might not be able to teach the AI how to handle doors properly, but we might be able to teach it to just obliterate them.

The idea came to me when an alien grenade accidentally blew away the doors of my ship. The mission suddenly got way more interesting.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8906
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE] [Suggestion] AI option for destroying XCom base facilities
« Reply #8 on: March 19, 2019, 04:16:07 pm »
I think it would be tied to the more general "smarter AI" subject, like the AI destroying walls to free themselves or surprise the player... Stuff that has been widely discussed and is still on the table, sort of.