friendly Damage threshold for friendly stations to attack you?

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Sorryuneed3registrar
Posts: 1
Joined: Tue, 31. Mar 15, 07:22
x3tc

friendly Damage threshold for friendly stations to attack you?

Post by Sorryuneed3registrar »

Hey I've been wanting to make some changes to give myself a larger tolerance to friendly fire inflicted upon stations because its irritating in game when I am fighting xenon near a station to take advantage of its defenses and using the split chainguns mean its very easy for a couple of shots to hit a station, proc the friendly fire warning and then the next couple of shots cause the station to mark you as hostile.

I found this under the station dataset in defaults.xml

Code: Select all

<relation>
        <attack>
          <tolerance threshold="-1.0" change="-0.125" decay="0.25" delay="5" />
          <boost absolute="-1.0" decay="0.02" delay="540" />
          <faction scan="-0.0032" hack="-0.0032" />
        </attack>
is this what I'm looking for or is this just the relation threshold for being hostile on default?
DeadAirRT
Posts: 1124
Joined: Fri, 25. Jan 19, 03:26
x4

Re: friendly Damage threshold for friendly stations to attack you?

Post by DeadAirRT »

That just controls how low their relation goes and for how long iirc. Look into kurtee's friendly fire tweaks and i believe the script is actually controlled by notifications.xml
kuertee
EGOSOFT
EGOSOFT
Posts: 818
Joined: Sun, 14. Dec 03, 13:05
x4

Re: friendly Damage threshold for friendly stations to attack you?

Post by kuertee »

second deadair's post. it is in notifications.xml.

my friendly fire tweaks mod prevents the PlayerAttacks cue from running under certain conditions to stop friendly fire aggro instead of adjusting whatever threshold controls WHEN a friendly attacks you back. also, i don't think its a "threshold".

in the base game, the faction's response to your attacks is partially in the "AttackResponse" cue in notifications.xml. start looking from there. EDIT: The PlayerAttacks cue calls the AttackResponse cue. END EDIT.

Return to “X4: Foundations - Scripts and Modding”