Player12
An open source football management simulator
Loading...
Searching...
No Matches
TacticsTuning Namespace Reference

Variables

constexpr float SLOT_MATCH_DISTANCE = 0.06f
 
constexpr float RUN_BIAS_WEIGHT = 0.22f
 
constexpr float OVERLAP_BIAS_WEIGHT = 0.25f
 
constexpr float PRESS_BIAS_SECONDS = 0.6f
 
constexpr float PASS_DARING_PROGRESS_WEIGHT = 3.0f
 
constexpr float PASS_DARING_SAFETY_WEIGHT = 1.0f
 
constexpr float TARGET_BIAS_WEIGHT = 1.0f
 
constexpr float SHOT_BIAS_WEIGHT = 2.0f
 
constexpr float CUT_INSIDE_SHIFT = 0.9f
 
constexpr float KEEPER_SWEEP_DEPTH_GAIN = 0.5f
 
constexpr float KEEPER_SWEEP_ADVANTAGE_GAIN = 0.15f
 
constexpr float PRESS_BIAS_ENGAGE = 0.35f
 
constexpr float TIGHT_MARK_WEIGHT = 0.88f
 
constexpr float TIGHT_MARK_GOAL_SIDE_METRES = 1.2f
 
constexpr float TIGHT_MARK_REACH_METRES = 3.0f
 
constexpr float TIGHT_MARK_COMPLETION_PENALTY = 0.10f
 
constexpr float PRESS_ORDER_STANDOFF_SHARE = 0.45f
 
constexpr float PRESS_ORDER_ENGAGE = 0.8f
 
constexpr float WEAK_FOOT_SHADE_METRES = 1.5f
 
constexpr float WEAK_FOOT_ERROR_GAIN = 0.45f
 
constexpr float WEAK_FOOT_SHOT_PENALTY = 0.35f
 
constexpr float DOUBLE_UP_SUPPORT_METRES = 2.5f
 
constexpr float DOUBLE_UP_ENGAGE = 0.4f
 
constexpr float DOUBLE_UP_TAKE_ON_PENALTY = 0.12f
 
constexpr float DOUBLE_UP_REACH_METRES = 5.0f
 
constexpr float TALK_FULL_MINUTES = 10.0f
 
constexpr float TALK_FADE_END_MINUTES = 20.0f
 
constexpr float TALK_REFERENCE = 0.012f
 
constexpr float TALK_COMPOSURE = 0.25f
 
constexpr float TALK_PRESS_SECONDS = 0.3f
 
constexpr float TALK_ENGAGE = 0.25f
 

Detailed Description

Engine weights of the role biases and the instructions.

Variable Documentation

◆ CUT_INSIDE_SHIFT

constexpr float TacticsTuning::CUT_INSIDE_SHIFT = 0.9f
inlineconstexpr

◆ DOUBLE_UP_ENGAGE

constexpr float TacticsTuning::DOUBLE_UP_ENGAGE = 0.4f
inlineconstexpr

◆ DOUBLE_UP_REACH_METRES

constexpr float TacticsTuning::DOUBLE_UP_REACH_METRES = 5.0f
inlineconstexpr

◆ DOUBLE_UP_SUPPORT_METRES

constexpr float TacticsTuning::DOUBLE_UP_SUPPORT_METRES = 2.5f
inlineconstexpr

Doubling up: second man's distance, engagement and take-on penalty.

◆ DOUBLE_UP_TAKE_ON_PENALTY

constexpr float TacticsTuning::DOUBLE_UP_TAKE_ON_PENALTY = 0.12f
inlineconstexpr

◆ KEEPER_SWEEP_ADVANTAGE_GAIN

constexpr float TacticsTuning::KEEPER_SWEEP_ADVANTAGE_GAIN = 0.15f
inlineconstexpr

◆ KEEPER_SWEEP_DEPTH_GAIN

constexpr float TacticsTuning::KEEPER_SWEEP_DEPTH_GAIN = 0.5f
inlineconstexpr

◆ OVERLAP_BIAS_WEIGHT

constexpr float TacticsTuning::OVERLAP_BIAS_WEIGHT = 0.25f
inlineconstexpr

◆ PASS_DARING_PROGRESS_WEIGHT

constexpr float TacticsTuning::PASS_DARING_PROGRESS_WEIGHT = 3.0f
inlineconstexpr

◆ PASS_DARING_SAFETY_WEIGHT

constexpr float TacticsTuning::PASS_DARING_SAFETY_WEIGHT = 1.0f
inlineconstexpr

◆ PRESS_BIAS_ENGAGE

constexpr float TacticsTuning::PRESS_BIAS_ENGAGE = 0.35f
inlineconstexpr

Engagement rate gained per unit of press bias.

◆ PRESS_BIAS_SECONDS

constexpr float TacticsTuning::PRESS_BIAS_SECONDS = 0.6f
inlineconstexpr

◆ PRESS_ORDER_ENGAGE

constexpr float TacticsTuning::PRESS_ORDER_ENGAGE = 0.8f
inlineconstexpr

◆ PRESS_ORDER_STANDOFF_SHARE

constexpr float TacticsTuning::PRESS_ORDER_STANDOFF_SHARE = 0.45f
inlineconstexpr

Pressing order: stand-off share kept and engagement gained.

◆ RUN_BIAS_WEIGHT

constexpr float TacticsTuning::RUN_BIAS_WEIGHT = 0.22f
inlineconstexpr

◆ SHOT_BIAS_WEIGHT

constexpr float TacticsTuning::SHOT_BIAS_WEIGHT = 2.0f
inlineconstexpr

◆ SLOT_MATCH_DISTANCE

constexpr float TacticsTuning::SLOT_MATCH_DISTANCE = 0.06f
inlineconstexpr

Slots further than this from every stored anchor play Standard.

◆ TALK_COMPOSURE

constexpr float TacticsTuning::TALK_COMPOSURE = 0.25f
inlineconstexpr

Decision noise removed and pressing eagerness added at full swing.

◆ TALK_ENGAGE

constexpr float TacticsTuning::TALK_ENGAGE = 0.25f
inlineconstexpr

◆ TALK_FADE_END_MINUTES

constexpr float TacticsTuning::TALK_FADE_END_MINUTES = 20.0f
inlineconstexpr

◆ TALK_FULL_MINUTES

constexpr float TacticsTuning::TALK_FULL_MINUTES = 10.0f
inlineconstexpr

Team talks: full effect for the first minutes of a half, then fading out; a talk at REFERENCE (the team-talk cap) gives the full swing.

◆ TALK_PRESS_SECONDS

constexpr float TacticsTuning::TALK_PRESS_SECONDS = 0.3f
inlineconstexpr

◆ TALK_REFERENCE

constexpr float TacticsTuning::TALK_REFERENCE = 0.012f
inlineconstexpr

◆ TARGET_BIAS_WEIGHT

constexpr float TacticsTuning::TARGET_BIAS_WEIGHT = 1.0f
inlineconstexpr

◆ TIGHT_MARK_COMPLETION_PENALTY

constexpr float TacticsTuning::TIGHT_MARK_COMPLETION_PENALTY = 0.10f
inlineconstexpr

◆ TIGHT_MARK_GOAL_SIDE_METRES

constexpr float TacticsTuning::TIGHT_MARK_GOAL_SIDE_METRES = 1.2f
inlineconstexpr

◆ TIGHT_MARK_REACH_METRES

constexpr float TacticsTuning::TIGHT_MARK_REACH_METRES = 3.0f
inlineconstexpr

Completion lost by a pass to a man whose tight marker is this close.

◆ TIGHT_MARK_WEIGHT

constexpr float TacticsTuning::TIGHT_MARK_WEIGHT = 0.88f
inlineconstexpr

Tight marking: share of the way to the man and goal-side metres.

◆ WEAK_FOOT_ERROR_GAIN

constexpr float TacticsTuning::WEAK_FOOT_ERROR_GAIN = 0.45f
inlineconstexpr

◆ WEAK_FOOT_SHADE_METRES

constexpr float TacticsTuning::WEAK_FOOT_SHADE_METRES = 1.5f
inlineconstexpr

Weaker foot: presser shade (metres), execution error and shot penalty at full pressure.

◆ WEAK_FOOT_SHOT_PENALTY

constexpr float TacticsTuning::WEAK_FOOT_SHOT_PENALTY = 0.35f
inlineconstexpr