There is a problem: the PMC station has a relationship with the player +30. The color on the map is blue. Behaves aggressively towards the player!
Code from save.file:
<find_station known="true" mayattack="player.primaryship" name="$stations_w_tolerance" multiple="true" space="player.cluster" tag="tolerance, boost, faction.player">
...
</find_station>
or find exact $NPC - defencecontrol - at dockingbay macro="dockingbay_player_admin_macro" ?
Is tolerance a blackboard connected to this $NPC?
2. How to fix tolerance (temporary change of aggressive behavior towards the player)?
There isn't a find filter for the relation boosts, so I expect the easiest way to find those stations would be adding all potential stations into a list and comparing their relation to the player to the relation their faction usually has towards the player.
<find_station name="$Stations" space="player.galaxy" multiple="true"/>
<do_all exact="$Stations.count" counter="$i">
<set_value name="$Station" exact="$Stations.{$i}"/>
<do_if value="$Station.relationto.{faction.player} lt $Station.owner.relationto.{faction.player}">
<!--this station has a worse relation to the player than its faction does-->
</do_if>
</do_all>
And then, the reset_relation_boost action probably does what you want, setting it back to the faction relation.
Thank you so much!
As far as I understand, there is no need to regulate the relationship between the player and the defense officer...
I already wrote the code and was going to check!
Xenon_Slayer wrote:There isn't a find filter for the relation boosts, so I expect the easiest way to find those stations would be adding all potential stations into a list and comparing their relation to the player to the relation their faction usually has towards the player.
Perhaps this will not work, since the relationship is not established with the player. As can be seen from save_file, object.relations are established only with "heartofalbion"! There no seted object.relations w/ player !
what scripts/mods are you using? maybe something is messing ul the behavior... Also did you try to make the Station red an then waited until it cooled down? maybe the target list is messed up and didnt remove you when it should have...
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
UniTrader wrote:what scripts/mods are you using? ...
version="430" start="ep1"
1."Vanfim's galaxy"
2. Home of Light
3. ego_dlc_teladi_outpost
4. id="ws_756867957" name="Mercenary"
5. id="Yat_impr_upated" name="YAT AI improved version V4.01 from 25.09.2016"
In the station, of course, an error (most likely in the quest for the "transfer" of this station from beryll to PMC in ep1)