Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Decision Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float PRESSURE_RADIUS_METRES = 8.5f
 
static constexpr float BASE_SHOT_THRESHOLD = 0.056f
 
static constexpr float MIN_SHOT_XG = 0.005f
 
static constexpr float MIN_DRIBBLE_TIME = 0.5f
 
static constexpr float MAX_DRIBBLE_TIME = 1.1f
 
static constexpr float SHOT_SCORE_SCALE = 26.0f
 
static constexpr float SHOT_BASE_INCLINATION = 1.5f
 
static constexpr float FINAL_THIRD_SHOT_BONUS = 0.3f
 
static constexpr float SHOT_ELIGIBILITY_FLOOR = 0.012f
 
static constexpr float SHOT_ELIGIBILITY_RANGE = 0.04f
 
static constexpr float SHOT_SKILL_BONUS = 0.28f
 
static constexpr float SHOT_PRESSURE_PENALTY = 0.02f
 
static constexpr float CARRY_OPENNESS_WEIGHT = 1.50f
 
static constexpr float CARRY_DRIBBLING_BONUS = 0.45f
 
static constexpr float CARRY_PRESSURE_PENALTY = 0.30f
 
static constexpr float CARRY_RISK_BIAS = 0.20f
 
static constexpr float CARRY_HOLD_PENALTY_PER_SECOND = 0.45f
 
static constexpr float SHIELD_PRESSURE_THRESHOLD = 0.60f
 
static constexpr float CUT_INSIDE_CARRY_BONUS = 0.8f
 
static constexpr float CUT_INSIDE_SHOT_BONUS = 0.6f
 
static constexpr float SHIELD_BONUS = 0.40f
 
static constexpr float SHIELD_DRIBBLING = 0.12f
 
static constexpr float VISION_NOISE_SCALE = 0.45f
 
static constexpr float VISION_DECISION_WEIGHT = 0.6f
 
static constexpr float FAMILIARITY_NOISE_GAIN = 0.8f
 
static constexpr float LATE_GAME_MINUTE = 82.0f
 
static constexpr float LATE_LEAD_SPECULATIVE_PENALTY = 0.55f
 
static constexpr int COMFORTABLE_LEAD = 2
 
static constexpr float COMFORTABLE_LEAD_SHOT_PENALTY = 3.0f
 
static constexpr float CLEAR_CHANCE_XG = 0.30f
 
static constexpr float COMFORTABLE_LEAD_CARRY_PENALTY = 0.5f
 
static constexpr float WIDE_SHOT_WIDTH_DEVIATION = 0.32f
 
static constexpr float WIDE_SHOT_DISCOUNT = 0.12f
 
static constexpr float WIDE_RECYCLE_BONUS = 0.85f
 

Member Data Documentation

◆ BASE_SHOT_THRESHOLD

constexpr float MatchTuning::Decision::BASE_SHOT_THRESHOLD = 0.056f
staticconstexpr

◆ CARRY_DRIBBLING_BONUS

constexpr float MatchTuning::Decision::CARRY_DRIBBLING_BONUS = 0.45f
staticconstexpr

◆ CARRY_HOLD_PENALTY_PER_SECOND

constexpr float MatchTuning::Decision::CARRY_HOLD_PENALTY_PER_SECOND = 0.45f
staticconstexpr

◆ CARRY_OPENNESS_WEIGHT

constexpr float MatchTuning::Decision::CARRY_OPENNESS_WEIGHT = 1.50f
staticconstexpr

◆ CARRY_PRESSURE_PENALTY

constexpr float MatchTuning::Decision::CARRY_PRESSURE_PENALTY = 0.30f
staticconstexpr

◆ CARRY_RISK_BIAS

constexpr float MatchTuning::Decision::CARRY_RISK_BIAS = 0.20f
staticconstexpr

◆ CLEAR_CHANCE_XG

constexpr float MatchTuning::Decision::CLEAR_CHANCE_XG = 0.30f
staticconstexpr

◆ COMFORTABLE_LEAD

constexpr int MatchTuning::Decision::COMFORTABLE_LEAD = 2
staticconstexpr

◆ COMFORTABLE_LEAD_CARRY_PENALTY

constexpr float MatchTuning::Decision::COMFORTABLE_LEAD_CARRY_PENALTY = 0.5f
staticconstexpr

◆ COMFORTABLE_LEAD_SHOT_PENALTY

constexpr float MatchTuning::Decision::COMFORTABLE_LEAD_SHOT_PENALTY = 3.0f
staticconstexpr

◆ CUT_INSIDE_CARRY_BONUS

constexpr float MatchTuning::Decision::CUT_INSIDE_CARRY_BONUS = 0.8f
staticconstexpr

Carry appetite of a wide forward cutting inside (see Shape).

◆ CUT_INSIDE_SHOT_BONUS

constexpr float MatchTuning::Decision::CUT_INSIDE_SHOT_BONUS = 0.6f
staticconstexpr

◆ FAMILIARITY_NOISE_GAIN

constexpr float MatchTuning::Decision::FAMILIARITY_NOISE_GAIN = 0.8f
staticconstexpr

Extra decision noise for a side with no tactical familiarity.

◆ FINAL_THIRD_SHOT_BONUS

constexpr float MatchTuning::Decision::FINAL_THIRD_SHOT_BONUS = 0.3f
staticconstexpr

◆ LATE_GAME_MINUTE

constexpr float MatchTuning::Decision::LATE_GAME_MINUTE = 82.0f
staticconstexpr

◆ LATE_LEAD_SPECULATIVE_PENALTY

constexpr float MatchTuning::Decision::LATE_LEAD_SPECULATIVE_PENALTY = 0.55f
staticconstexpr

◆ MAX_DRIBBLE_TIME

constexpr float MatchTuning::Decision::MAX_DRIBBLE_TIME = 1.1f
staticconstexpr

◆ MIN_DRIBBLE_TIME

constexpr float MatchTuning::Decision::MIN_DRIBBLE_TIME = 0.5f
staticconstexpr

Time on the ball before a carrier re-decides while dribbling.

◆ MIN_SHOT_XG

constexpr float MatchTuning::Decision::MIN_SHOT_XG = 0.005f
staticconstexpr

◆ PRESSURE_RADIUS_METRES

constexpr float MatchTuning::Decision::PRESSURE_RADIUS_METRES = 8.5f
staticconstexpr

◆ SHIELD_BONUS

constexpr float MatchTuning::Decision::SHIELD_BONUS = 0.40f
staticconstexpr

◆ SHIELD_DRIBBLING

constexpr float MatchTuning::Decision::SHIELD_DRIBBLING = 0.12f
staticconstexpr

◆ SHIELD_PRESSURE_THRESHOLD

constexpr float MatchTuning::Decision::SHIELD_PRESSURE_THRESHOLD = 0.60f
staticconstexpr

◆ SHOT_BASE_INCLINATION

constexpr float MatchTuning::Decision::SHOT_BASE_INCLINATION = 1.5f
staticconstexpr

◆ SHOT_ELIGIBILITY_FLOOR

constexpr float MatchTuning::Decision::SHOT_ELIGIBILITY_FLOOR = 0.012f
staticconstexpr

◆ SHOT_ELIGIBILITY_RANGE

constexpr float MatchTuning::Decision::SHOT_ELIGIBILITY_RANGE = 0.04f
staticconstexpr

◆ SHOT_PRESSURE_PENALTY

constexpr float MatchTuning::Decision::SHOT_PRESSURE_PENALTY = 0.02f
staticconstexpr

◆ SHOT_SCORE_SCALE

constexpr float MatchTuning::Decision::SHOT_SCORE_SCALE = 26.0f
staticconstexpr

◆ SHOT_SKILL_BONUS

constexpr float MatchTuning::Decision::SHOT_SKILL_BONUS = 0.28f
staticconstexpr

◆ VISION_DECISION_WEIGHT

constexpr float MatchTuning::Decision::VISION_DECISION_WEIGHT = 0.6f
staticconstexpr

◆ VISION_NOISE_SCALE

constexpr float MatchTuning::Decision::VISION_NOISE_SCALE = 0.45f
staticconstexpr

◆ WIDE_RECYCLE_BONUS

constexpr float MatchTuning::Decision::WIDE_RECYCLE_BONUS = 0.85f
staticconstexpr

◆ WIDE_SHOT_DISCOUNT

constexpr float MatchTuning::Decision::WIDE_SHOT_DISCOUNT = 0.12f
staticconstexpr

◆ WIDE_SHOT_WIDTH_DEVIATION

constexpr float MatchTuning::Decision::WIDE_SHOT_WIDTH_DEVIATION = 0.32f
staticconstexpr

The documentation for this struct was generated from the following file: