Task #534

Engagement rules

Added by Frédéric Bertolus almost 2 years ago.

Status:New
Priority:Normal
Assignee:-
Category:-
Target version:Backlog

Description

The engagement rules are hardcoded and this can cause problem to choose if you want to destroy ships or not.

struct BattleTargetPreferences TargetPreferences;
TargetPreferences.IsLarge = 1;
TargetPreferences.IsSmall = 1;
TargetPreferences.IsStation = 1;
TargetPreferences.IsNotStation = 1;
TargetPreferences.IsMilitary = 1;
TargetPreferences.IsNotMilitary = 0.1;
TargetPreferences.IsDangerous = 1;
TargetPreferences.IsNotDangerous = 0.01;
TargetPreferences.IsStranded = 1;
TargetPreferences.IsNotStranded = 0.5;
TargetPreferences.IsUncontrollableCivil = 0.0;
TargetPreferences.IsUncontrollableMilitary = 0.01;
TargetPreferences.IsNotUncontrollable = 1;
TargetPreferences.IsHarpooned = 0;
TargetPreferences.TargetStateWeight = 1;

Also available in: Atom PDF