Fixed NPC factions do not attack each other [00546]

Discussion in 'Fixed (Read Only)' started by ravien_ff, Mar 21, 2023.

  1. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,414
    Likes Received:
    12,016
    For more information see here Bug Report Template

    Build: 4102
    Mode: Singleplayer
    Mode: Creative and Survival

    SERVER NAME: NA
    SEED-ID: Any

    If applicable:
    MODIFIED PLAYFIELDS: Either

    Reproducibility: Always
    Severity: Major (breaks a feature of the default game and any custom scenario missions that rely on it)

    Type: AI

    Summary: NPC Faction owned ships and bases set to "AttackNPC" OR set to attack specific factions via the ForceAttack setting in the Factions.ecf file will not attack each other.

    Description: Factions that are set to attack each other in the config files will no longer fire on each other in their ships and bases. Specifically, NPC controlled ships will not fire on other NPC controlled ships or bases, and NPC controlled bases will not fire on NPC controlled ships. Did not test NPCs themselves such as soldiers or drones, nor did I test base versus base combat.

    This will break any custom mission that is set up to have NPC ships and bases fighting each other, as well as break the default game's faction versus faction warfare settings.
    This works fine on the live branch but is broken on experimental.

    Tested using both AttackNPC and ForceAttack options.


    Steps to Reproduce:
    1) Start a new default creative game.
    2) Spawn in two patrol vessels from any of the faction OPV spawn groups that have a NPC core.
    3) Using console commands set each ship to a different NPC faction that fights each other (such as Zirax and TheLegacy)
    4) Turn on AI with the ai on console command. The ships will attack player owned structures and the player themselves but will ignore each other. If this test is performed on the current public version of the game the ships will also attack each other.

    Screenshots, Crash Logs, any other Relevant Information or Download links:
     
    #1

Share This Page