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

#include <match_tuning.h>

Static Public Attributes

static constexpr float MIN_DISTANCE_METRES = 2.5f
 
static constexpr float MAX_DISTANCE_METRES = 50.0f
 
static constexpr float IDEAL_DISTANCE_METRES = 16.0f
 
static constexpr float OPENNESS_RADIUS_METRES = 10.0f
 
static constexpr float OPENNESS_WEIGHT = 1.15f
 
static constexpr float LANE_RISK_WEIGHT = 1.45f
 
static constexpr float BASE_PROGRESS_WEIGHT = 1.4f
 
static constexpr float OFFENSIVE_PROGRESS_WEIGHT = 1.15f
 
static constexpr float DISTANCE_PENALTY_PER_METRE = 0.0135f
 
static constexpr float SAFE_OUTLET_WEIGHT = 0.8f
 
static constexpr float FORWARD_ROLE_BONUS = 0.0f
 
static constexpr float MIN_ACCEPTABLE_OPTION_SCORE = -0.15f
 
static constexpr float PRESSURE_RELEASE_THRESHOLD = 0.55f
 
static constexpr float PRESSURE_RELEASE_MAX_PROGRESSION = 0.03f
 
static constexpr float PROGRESSIVE_PASS_MINIMUM = 0.035f
 
static constexpr float SPACE_BEHIND_MIN_METRES = 30.0f
 
static constexpr float SPACE_BEHIND_RANGE_METRES = 25.0f
 
static constexpr float SPACE_BEHIND_UTILITY = 1.2f
 
static constexpr float SPACE_BEHIND_COMPLETION_BONUS = 0.15f
 
static constexpr float THROUGH_BALL_MINIMUM_PROGRESSION = 0.09f
 
static constexpr float SWITCH_PLAY_MINIMUM_WIDTH = 0.34f
 
static constexpr float WIDE_ATTACK_MINIMUM_Y = 0.30f
 
static constexpr float WIDE_ATTACK_MAXIMUM_Y = 0.70f
 
static constexpr float CENTRAL_TARGET_MINIMUM_Y = 0.30f
 
static constexpr float CENTRAL_TARGET_MAXIMUM_Y = 0.70f
 
static constexpr float CROSS_MINIMUM_PASSER_DEPTH = 0.62f
 
static constexpr float CROSS_MINIMUM_RECEIVER_DEPTH = 0.70f
 
static constexpr float CUTBACK_MINIMUM_PASSER_DEPTH = 0.86f
 
static constexpr float CUTBACK_MAXIMUM_PROGRESSION = 0.035f
 
static constexpr float CUTBACK_MINIMUM_PROGRESSION = -0.24f
 
static constexpr float CROSS_UTILITY_BONUS = 0.7f
 
static constexpr float CUTBACK_UTILITY_BONUS = 0.62f
 
static constexpr float CROSS_COMPLETION_PENALTY = 0.10f
 
static constexpr float CUTBACK_COMPLETION_BONUS = 0.07f
 
static constexpr float CROSS_TARGET_BLEND = 0.35f
 
static constexpr float BASE_COMPLETION_PROBABILITY = 0.58f
 
static constexpr float PASSING_COMPLETION_BONUS = 0.27f
 
static constexpr float OPENNESS_COMPLETION_BONUS = 0.15f
 
static constexpr float LANE_COMPLETION_PENALTY = 0.50f
 
static constexpr float DISTANCE_COMPLETION_PENALTY = 0.42f
 
static constexpr float LONG_PASS_REFERENCE_METRES = 45.0f
 
static constexpr float PRESSURE_COMPLETION_PENALTY = 0.14f
 
static constexpr float MIN_COMPLETION_PROBABILITY = 0.05f
 
static constexpr float MAX_COMPLETION_PROBABILITY = 0.98f
 
static constexpr float COMPLETION_UTILITY_WEIGHT = 1.5f
 
static constexpr float RISK_PROGRESS_GAIN = 0.0f
 
static constexpr float RISK_SAFETY_GAIN = 0.0f
 
static constexpr float ACTIVE_RUNNER_UTILITY_BONUS = 0.16f
 
static constexpr float SHOT_CREATION_WEIGHT = 1.0f
 
static constexpr float THROUGH_BALL_FORWARD_LEAD = 0.055f
 
static constexpr float THROUGH_BALL_TARGET_BLEND = 0.60f
 
static constexpr float LOFTED_DISTANCE_METRES = 30.0f
 
static constexpr float PASS_PRESSURE_RADIUS_METRES = 7.5f
 
static constexpr float ESTIMATED_BALL_SPEED = 13.0f
 
static constexpr float RECEIVER_LEAD_SCALE = 0.45f
 
static constexpr float TECHNICAL_ERROR_METRES = 3.6f
 
static constexpr float PRESSURE_ERROR_METRES = 1.2f
 
static constexpr float DISTANCE_ERROR = 0.012f
 
static constexpr float BACK_PASS_ERROR_SCALE = 0.35f
 
static constexpr float MAX_BACK_PASS_METRES = 28.0f
 
static constexpr float ARRIVAL_SPEED_BASE = 6.5f
 
static constexpr float ARRIVAL_SPEED_PASSING = 3.0f
 
static constexpr float ARRIVAL_SPEED_PER_METRE = 0.05f
 
static constexpr float MIN_GROUND_SPEED = 7.0f
 
static constexpr float MAX_GROUND_SPEED = 24.0f
 
static constexpr float LOFTED_BASE_SPEED = 11.0f
 
static constexpr float LOFTED_SPEED_PER_METRE = 0.22f
 
static constexpr float MAX_LOFTED_SPEED = 24.0f
 
static constexpr float LOFTED_ARRIVAL_HEIGHT_METRES = 1.1f
 
static constexpr float DELIVERY_HEIGHT_SPREAD = 0.6f
 
static constexpr float OFFSIDE_PERCEPTION_ERROR = 0.06f
 
static constexpr float RUN_TIMING_GAMBLE = 0.02f
 
static constexpr float OFFSIDE_TIMING_WINDOW = 0.03f
 
static constexpr float OFFSIDE_TIMING_CHANCE = 0.7f
 
static constexpr float RUN_TIMING_EPOCH_SECONDS = 5.0f
 
static constexpr float MAX_CURVE = 0.12f
 
static constexpr float CURVE_SKILL_BASE = 0.4f
 
static constexpr float MIN_ACTION_COOLDOWN = 0.8f
 
static constexpr float MAX_ACTION_COOLDOWN = 1.4f
 
static constexpr float KICKER_LOCKOUT_SECONDS = 0.35f
 
static constexpr float LANE_START_MARGIN = 0.06f
 
static constexpr float LANE_END_MARGIN = 0.97f
 
static constexpr float BASE_INTERCEPTION_RADIUS_METRES = 2.2f
 
static constexpr float DEFENDING_INTERCEPTION_METRES = 1.7f
 
static constexpr float PACE_INTERCEPTION_METRES = 0.7f
 
static constexpr float BASE_INTERCEPTION_RISK = 0.55f
 
static constexpr float LATE_LANE_RISK = 0.35f
 
static constexpr float OFFSIDE_MARGIN = 0.004f
 

Member Data Documentation

◆ ACTIVE_RUNNER_UTILITY_BONUS

constexpr float MatchTuning::Passing::ACTIVE_RUNNER_UTILITY_BONUS = 0.16f
staticconstexpr

◆ ARRIVAL_SPEED_BASE

constexpr float MatchTuning::Passing::ARRIVAL_SPEED_BASE = 6.5f
staticconstexpr

◆ ARRIVAL_SPEED_PASSING

constexpr float MatchTuning::Passing::ARRIVAL_SPEED_PASSING = 3.0f
staticconstexpr

◆ ARRIVAL_SPEED_PER_METRE

constexpr float MatchTuning::Passing::ARRIVAL_SPEED_PER_METRE = 0.05f
staticconstexpr

◆ BACK_PASS_ERROR_SCALE

constexpr float MatchTuning::Passing::BACK_PASS_ERROR_SCALE = 0.35f
staticconstexpr

◆ BASE_COMPLETION_PROBABILITY

constexpr float MatchTuning::Passing::BASE_COMPLETION_PROBABILITY = 0.58f
staticconstexpr

◆ BASE_INTERCEPTION_RADIUS_METRES

constexpr float MatchTuning::Passing::BASE_INTERCEPTION_RADIUS_METRES = 2.2f
staticconstexpr

◆ BASE_INTERCEPTION_RISK

constexpr float MatchTuning::Passing::BASE_INTERCEPTION_RISK = 0.55f
staticconstexpr

◆ BASE_PROGRESS_WEIGHT

constexpr float MatchTuning::Passing::BASE_PROGRESS_WEIGHT = 1.4f
staticconstexpr

◆ CENTRAL_TARGET_MAXIMUM_Y

constexpr float MatchTuning::Passing::CENTRAL_TARGET_MAXIMUM_Y = 0.70f
staticconstexpr

◆ CENTRAL_TARGET_MINIMUM_Y

constexpr float MatchTuning::Passing::CENTRAL_TARGET_MINIMUM_Y = 0.30f
staticconstexpr

◆ COMPLETION_UTILITY_WEIGHT

constexpr float MatchTuning::Passing::COMPLETION_UTILITY_WEIGHT = 1.5f
staticconstexpr

◆ CROSS_COMPLETION_PENALTY

constexpr float MatchTuning::Passing::CROSS_COMPLETION_PENALTY = 0.10f
staticconstexpr

◆ CROSS_MINIMUM_PASSER_DEPTH

constexpr float MatchTuning::Passing::CROSS_MINIMUM_PASSER_DEPTH = 0.62f
staticconstexpr

◆ CROSS_MINIMUM_RECEIVER_DEPTH

constexpr float MatchTuning::Passing::CROSS_MINIMUM_RECEIVER_DEPTH = 0.70f
staticconstexpr

◆ CROSS_TARGET_BLEND

constexpr float MatchTuning::Passing::CROSS_TARGET_BLEND = 0.35f
staticconstexpr

◆ CROSS_UTILITY_BONUS

constexpr float MatchTuning::Passing::CROSS_UTILITY_BONUS = 0.7f
staticconstexpr

◆ CURVE_SKILL_BASE

constexpr float MatchTuning::Passing::CURVE_SKILL_BASE = 0.4f
staticconstexpr

◆ CUTBACK_COMPLETION_BONUS

constexpr float MatchTuning::Passing::CUTBACK_COMPLETION_BONUS = 0.07f
staticconstexpr

◆ CUTBACK_MAXIMUM_PROGRESSION

constexpr float MatchTuning::Passing::CUTBACK_MAXIMUM_PROGRESSION = 0.035f
staticconstexpr

◆ CUTBACK_MINIMUM_PASSER_DEPTH

constexpr float MatchTuning::Passing::CUTBACK_MINIMUM_PASSER_DEPTH = 0.86f
staticconstexpr

◆ CUTBACK_MINIMUM_PROGRESSION

constexpr float MatchTuning::Passing::CUTBACK_MINIMUM_PROGRESSION = -0.24f
staticconstexpr

◆ CUTBACK_UTILITY_BONUS

constexpr float MatchTuning::Passing::CUTBACK_UTILITY_BONUS = 0.62f
staticconstexpr

◆ DEFENDING_INTERCEPTION_METRES

constexpr float MatchTuning::Passing::DEFENDING_INTERCEPTION_METRES = 1.7f
staticconstexpr

◆ DELIVERY_HEIGHT_SPREAD

constexpr float MatchTuning::Passing::DELIVERY_HEIGHT_SPREAD = 0.6f
staticconstexpr

◆ DISTANCE_COMPLETION_PENALTY

constexpr float MatchTuning::Passing::DISTANCE_COMPLETION_PENALTY = 0.42f
staticconstexpr

◆ DISTANCE_ERROR

constexpr float MatchTuning::Passing::DISTANCE_ERROR = 0.012f
staticconstexpr

◆ DISTANCE_PENALTY_PER_METRE

constexpr float MatchTuning::Passing::DISTANCE_PENALTY_PER_METRE = 0.0135f
staticconstexpr

Utility lost per metre away from the ideal pass length.

◆ ESTIMATED_BALL_SPEED

constexpr float MatchTuning::Passing::ESTIMATED_BALL_SPEED = 13.0f
staticconstexpr

Average ball speed used to lead a moving receiver.

◆ FORWARD_ROLE_BONUS

constexpr float MatchTuning::Passing::FORWARD_ROLE_BONUS = 0.0f
staticconstexpr

◆ IDEAL_DISTANCE_METRES

constexpr float MatchTuning::Passing::IDEAL_DISTANCE_METRES = 16.0f
staticconstexpr

◆ KICKER_LOCKOUT_SECONDS

constexpr float MatchTuning::Passing::KICKER_LOCKOUT_SECONDS = 0.35f
staticconstexpr

The kicker cannot touch his own kick again for this long.

◆ LANE_COMPLETION_PENALTY

constexpr float MatchTuning::Passing::LANE_COMPLETION_PENALTY = 0.50f
staticconstexpr

◆ LANE_END_MARGIN

constexpr float MatchTuning::Passing::LANE_END_MARGIN = 0.97f
staticconstexpr

◆ LANE_RISK_WEIGHT

constexpr float MatchTuning::Passing::LANE_RISK_WEIGHT = 1.45f
staticconstexpr

◆ LANE_START_MARGIN

constexpr float MatchTuning::Passing::LANE_START_MARGIN = 0.06f
staticconstexpr

◆ LATE_LANE_RISK

constexpr float MatchTuning::Passing::LATE_LANE_RISK = 0.35f
staticconstexpr

◆ LOFTED_ARRIVAL_HEIGHT_METRES

constexpr float MatchTuning::Passing::LOFTED_ARRIVAL_HEIGHT_METRES = 1.1f
staticconstexpr

◆ LOFTED_BASE_SPEED

constexpr float MatchTuning::Passing::LOFTED_BASE_SPEED = 11.0f
staticconstexpr

◆ LOFTED_DISTANCE_METRES

constexpr float MatchTuning::Passing::LOFTED_DISTANCE_METRES = 30.0f
staticconstexpr

◆ LOFTED_SPEED_PER_METRE

constexpr float MatchTuning::Passing::LOFTED_SPEED_PER_METRE = 0.22f
staticconstexpr

◆ LONG_PASS_REFERENCE_METRES

constexpr float MatchTuning::Passing::LONG_PASS_REFERENCE_METRES = 45.0f
staticconstexpr

◆ MAX_ACTION_COOLDOWN

constexpr float MatchTuning::Passing::MAX_ACTION_COOLDOWN = 1.4f
staticconstexpr

◆ MAX_BACK_PASS_METRES

constexpr float MatchTuning::Passing::MAX_BACK_PASS_METRES = 28.0f
staticconstexpr

◆ MAX_COMPLETION_PROBABILITY

constexpr float MatchTuning::Passing::MAX_COMPLETION_PROBABILITY = 0.98f
staticconstexpr

◆ MAX_CURVE

constexpr float MatchTuning::Passing::MAX_CURVE = 0.12f
staticconstexpr

Heading rotation (rad/s) of a curled ground pass.

◆ MAX_DISTANCE_METRES

constexpr float MatchTuning::Passing::MAX_DISTANCE_METRES = 50.0f
staticconstexpr

◆ MAX_GROUND_SPEED

constexpr float MatchTuning::Passing::MAX_GROUND_SPEED = 24.0f
staticconstexpr

◆ MAX_LOFTED_SPEED

constexpr float MatchTuning::Passing::MAX_LOFTED_SPEED = 24.0f
staticconstexpr

◆ MIN_ACCEPTABLE_OPTION_SCORE

constexpr float MatchTuning::Passing::MIN_ACCEPTABLE_OPTION_SCORE = -0.15f
staticconstexpr

◆ MIN_ACTION_COOLDOWN

constexpr float MatchTuning::Passing::MIN_ACTION_COOLDOWN = 0.8f
staticconstexpr

◆ MIN_COMPLETION_PROBABILITY

constexpr float MatchTuning::Passing::MIN_COMPLETION_PROBABILITY = 0.05f
staticconstexpr

◆ MIN_DISTANCE_METRES

constexpr float MatchTuning::Passing::MIN_DISTANCE_METRES = 2.5f
staticconstexpr

◆ MIN_GROUND_SPEED

constexpr float MatchTuning::Passing::MIN_GROUND_SPEED = 7.0f
staticconstexpr

◆ OFFENSIVE_PROGRESS_WEIGHT

constexpr float MatchTuning::Passing::OFFENSIVE_PROGRESS_WEIGHT = 1.15f
staticconstexpr

◆ OFFSIDE_MARGIN

constexpr float MatchTuning::Passing::OFFSIDE_MARGIN = 0.004f
staticconstexpr

◆ OFFSIDE_PERCEPTION_ERROR

constexpr float MatchTuning::Passing::OFFSIDE_PERCEPTION_ERROR = 0.06f
staticconstexpr

◆ OFFSIDE_TIMING_CHANCE

constexpr float MatchTuning::Passing::OFFSIDE_TIMING_CHANCE = 0.7f
staticconstexpr

◆ OFFSIDE_TIMING_WINDOW

constexpr float MatchTuning::Passing::OFFSIDE_TIMING_WINDOW = 0.03f
staticconstexpr

◆ OPENNESS_COMPLETION_BONUS

constexpr float MatchTuning::Passing::OPENNESS_COMPLETION_BONUS = 0.15f
staticconstexpr

◆ OPENNESS_RADIUS_METRES

constexpr float MatchTuning::Passing::OPENNESS_RADIUS_METRES = 10.0f
staticconstexpr

◆ OPENNESS_WEIGHT

constexpr float MatchTuning::Passing::OPENNESS_WEIGHT = 1.15f
staticconstexpr

◆ PACE_INTERCEPTION_METRES

constexpr float MatchTuning::Passing::PACE_INTERCEPTION_METRES = 0.7f
staticconstexpr

◆ PASS_PRESSURE_RADIUS_METRES

constexpr float MatchTuning::Passing::PASS_PRESSURE_RADIUS_METRES = 7.5f
staticconstexpr

◆ PASSING_COMPLETION_BONUS

constexpr float MatchTuning::Passing::PASSING_COMPLETION_BONUS = 0.27f
staticconstexpr

◆ PRESSURE_COMPLETION_PENALTY

constexpr float MatchTuning::Passing::PRESSURE_COMPLETION_PENALTY = 0.14f
staticconstexpr

◆ PRESSURE_ERROR_METRES

constexpr float MatchTuning::Passing::PRESSURE_ERROR_METRES = 1.2f
staticconstexpr

◆ PRESSURE_RELEASE_MAX_PROGRESSION

constexpr float MatchTuning::Passing::PRESSURE_RELEASE_MAX_PROGRESSION = 0.03f
staticconstexpr

◆ PRESSURE_RELEASE_THRESHOLD

constexpr float MatchTuning::Passing::PRESSURE_RELEASE_THRESHOLD = 0.55f
staticconstexpr

◆ PROGRESSIVE_PASS_MINIMUM

constexpr float MatchTuning::Passing::PROGRESSIVE_PASS_MINIMUM = 0.035f
staticconstexpr

◆ RECEIVER_LEAD_SCALE

constexpr float MatchTuning::Passing::RECEIVER_LEAD_SCALE = 0.45f
staticconstexpr

◆ RISK_PROGRESS_GAIN

constexpr float MatchTuning::Passing::RISK_PROGRESS_GAIN = 0.0f
staticconstexpr

Per unit of risk-taking above neutral: weight gained by progress and lost by the completion chance (below neutral the other way round).

◆ RISK_SAFETY_GAIN

constexpr float MatchTuning::Passing::RISK_SAFETY_GAIN = 0.0f
staticconstexpr

◆ RUN_TIMING_EPOCH_SECONDS

constexpr float MatchTuning::Passing::RUN_TIMING_EPOCH_SECONDS = 5.0f
staticconstexpr

◆ RUN_TIMING_GAMBLE

constexpr float MatchTuning::Passing::RUN_TIMING_GAMBLE = 0.02f
staticconstexpr

◆ SAFE_OUTLET_WEIGHT

constexpr float MatchTuning::Passing::SAFE_OUTLET_WEIGHT = 0.8f
staticconstexpr

◆ SHOT_CREATION_WEIGHT

constexpr float MatchTuning::Passing::SHOT_CREATION_WEIGHT = 1.0f
staticconstexpr

Utility per unit of the receiver's shooting chance (final third).

◆ SPACE_BEHIND_COMPLETION_BONUS

constexpr float MatchTuning::Passing::SPACE_BEHIND_COMPLETION_BONUS = 0.15f
staticconstexpr

◆ SPACE_BEHIND_MIN_METRES

constexpr float MatchTuning::Passing::SPACE_BEHIND_MIN_METRES = 30.0f
staticconstexpr

Space behind the opposing line (metres to their goal line) that makes a ball over or through it attractive, and the range to full effect.

◆ SPACE_BEHIND_RANGE_METRES

constexpr float MatchTuning::Passing::SPACE_BEHIND_RANGE_METRES = 25.0f
staticconstexpr

◆ SPACE_BEHIND_UTILITY

constexpr float MatchTuning::Passing::SPACE_BEHIND_UTILITY = 1.2f
staticconstexpr

◆ SWITCH_PLAY_MINIMUM_WIDTH

constexpr float MatchTuning::Passing::SWITCH_PLAY_MINIMUM_WIDTH = 0.34f
staticconstexpr

◆ TECHNICAL_ERROR_METRES

constexpr float MatchTuning::Passing::TECHNICAL_ERROR_METRES = 3.6f
staticconstexpr

◆ THROUGH_BALL_FORWARD_LEAD

constexpr float MatchTuning::Passing::THROUGH_BALL_FORWARD_LEAD = 0.055f
staticconstexpr

◆ THROUGH_BALL_MINIMUM_PROGRESSION

constexpr float MatchTuning::Passing::THROUGH_BALL_MINIMUM_PROGRESSION = 0.09f
staticconstexpr

◆ THROUGH_BALL_TARGET_BLEND

constexpr float MatchTuning::Passing::THROUGH_BALL_TARGET_BLEND = 0.60f
staticconstexpr

◆ WIDE_ATTACK_MAXIMUM_Y

constexpr float MatchTuning::Passing::WIDE_ATTACK_MAXIMUM_Y = 0.70f
staticconstexpr

◆ WIDE_ATTACK_MINIMUM_Y

constexpr float MatchTuning::Passing::WIDE_ATTACK_MINIMUM_Y = 0.30f
staticconstexpr

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