Fixed AttackNPC: true not honored in factions.ecf

Discussion in 'Fixed (Read Only)' started by Fenra369, Jun 19, 2021.

  1. Fenra369

    Fenra369 Commander

    Joined:
    Apr 5, 2016
    Messages:
    341
    Likes Received:
    139
    Build: B3384
    Mode: Survival
    Mode: Dedicated Server

    SERVER NAME: Empyrion at War

    If applicable:
    MODIFIED PLAYFIELDS: Yes

    Reproducibility: Always
    Severity: Minor

    Type: Configuration

    Summary: AttackNPC: true not honored in factions.ecf

    Description: When modifying scenarios and adding new parameters for the factions.ecf file, it appears that the AttackNPC: true doesn't work with certain factions in the file. Particularly, the Polaris and Zirax factions will never attack each other, despite the fact this line exists, and also is not used in conjunction with Friendly: true or Unfriendly: true.

    Steps to Reproduce: Modifying the factions ecf, modify the file as follows for Zirax and Polaris:
    Code:
    { Faction Id: 2, Name: "Zirax"       #Zirax Empire head faction; split into houses: Xenu, Rados, Epsilon, Ghyst, Serdu,..
      Abbrev: Emp
      Color: "0.1, 0.1, 0.9"
      ClaimTerritory: true
      Reputation: true            # Do not change. Hardcoded effect on Base Attacks. Change will lead to issues with related features!
      AttackNPC: true
      Discovery: false
    }
    
    { Faction Id: 7, Name: "Polaris"
      Abbrev: Reb
      Color: "0.82, 0.71, 0.55"
      ClaimTerritory: true
      Reputation: true
      AttackNPC: true
      Discovery: false
    }
    Loading the scenario, attempt to observe both Zirax and Polaris factions attacking one another (they don't).

    Screenshots, Crash Logs, any other Relevant Information or Download links: Attached ecf file
     

    Attached Files:

    #1
  2. Alhira_K

    Alhira_K Captain

    Joined:
    Jan 16, 2017
    Messages:
    287
    Likes Received:
    377
    Its not just them. While creating custom factions i also found they're only attacking each other half the time.
     
    #2

Share This Page