When using Relation as a filter in a Target Profile, if a player has at least 500 reputation with a faction, the AI considers them as part of the faction, not friendly which makes filtering by Friends as a relation pointless. This used to work, only broke within one of the last 2 updates of the mod. Here's my target profile which I used to test:
<?xml version="1.0"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<EntityComponents>
<EntityComponent xsi:type="MyObjectBuilder_InventoryComponentDefinition">
<Id>
<TypeId>Inventory</TypeId>
<SubtypeId>SupportTargetProfile</SubtypeId>
</Id>
<Description>
[RivalAI Target]
[UseCustomTargeting:true]
[Target:PlayerAndGrid]
[TimeUntilTargetAcquisition:2]
[TimeUntilNextEvaluation:5]
[MaxDistance:40000]
[UseTargetRefresh:true]
[TimeUntilNextRefresh:10]
[MatchAllFilters:OutsideOfSafezone]
[MatchAnyFilters:PlayerControlled]
[MatchAllFilters:Relation]
[//Relations:Friends]
[Relations:Faction]
[MatchAnyFilters:Owner]
[Owners:Player]
[OnlyGetFromEntityOwner:false]
[PrioritizePlayerControlled:true]
[GetTargetBy:ClosestDistance]
</Description>
</EntityComponent>
</EntityComponents>
When using Relation as a filter in a Target Profile, if a player has at least 500 reputation with a faction, the AI considers them as part of the faction, not friendly which makes filtering by Friends as a relation pointless. This used to work, only broke within one of the last 2 updates of the mod. Here's my target profile which I used to test: