X: Rebirth

File information

Last updated

Original upload

Created by

copperzinc

Uploaded by

copperzinc

Virus scan

Safe to use

About this mod

Station only responds to player attacks when any one of the following conditions are true:
1: Relation to player is <0.01 (Allied)
2: Attacked object's owner = station's owner

Similar to http://xrebirth.nexusmods.com/mods/220 (We submitted at about the same time)
but this fixes the station's dispatc

Permissions and credits
Changelogs
Station only responds to player attacks when any one of the following conditions are true:
1: Relation to player is <0.01 (Allied)
2: Attacked object's owner = station's owner

Similar to http://xrebirth.nexusmods.com/mods/220 (We submitted at about the same time)
but this fixes the station's dispatch as well as the police.

How it works:

When a ship is attacked, the notification will be sent to one of the stations nearby, who is within 30km to an object owned by the player. Originally, the station must satisfy the following criteria for it to be selected as the "station command" for the law enforcement dispatch:
1: Owner of the station is not PLAYER
2: Owner of the station is not NULL
3: Is not an enemy of the victim
4: Falls within 30km of a player object.

Priority given to those that is the commander of the sector, and that with best distance.

In addition to the check above, an additional check is added to see whether the station has:
1. Relation with player <0.01
OR
2. Faction of the station = Faction of the victim.

This means if there's another non-allied station nearby, you would still receive the station warning. The faction where the rep is subtracted from may be different from the faction it would subtract if you did not apply this mod.

Examples (Assuming you're not using the cheat version of this mod):
(SPOILER ALERT)
Suppose you are doing the original plot and got to the point where you're hostile with PMC and allied with HoA. Let's say you're in sector with 2 stations located within 30km of one of your ships: One owned by CHOW and one owned by HoA. Now let's say a PMC vessel found you and starts to attack you. You fight back.
  • What happens in Vanilla?
      HoA is enemy of PMC, and therefore will ignore your retaliation and may come to your aid.CHOW is neutral. The way they scripted it means you're at fault. They'll come to aid PMC even though they attacked you first.
  • What happens in this mod?
      HoA is enemy of PMC, and therefore will ignore your retaliation and may come to your aid.If you are allied with CHOW (relation >+10), CHOW will ignore your retaliation. Otherwise, they'll still aid PMC.
Suppose you misfired and hit a ship or station owned by HoA, and a HoA station is nearby.
  • In this case, you are at fault. The station will retaliate if you continue to attack them.

Suppose you are doing the original plot and got to the point where you're hostile with PMC. Let's say you're in sector with 2 stations located within 30km of one of your ships: One owned by CHOW and the other is owned by AC. CHOW is the commander and the closest station to you (5km), while AC is located further away (25km). Now let's say a PMC vessel found you and starts to attack you. You fight back.
  • What happens in Vanilla?
    Since CHOW is the closest, they'll call the police and attack you. You see relation drop with CHOW.
  • What happens in this mod?
    If you are allied with CHOW but not with AC: AC will call the police and attack you, but they'll be further away. You see relation drop with AC.If you are allied with both CHOW and AC, police will ignore you.If you are not allied with CHOW, it will be the same as vanilla.