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

#include <match_tuning.h>

Static Public Attributes

static constexpr float PRESSURE_RADIUS_METRES = 4.0f
 
static constexpr float PRESSURE_PENALTY = 0.45f
 
static constexpr float XG_INTERCEPT = 0.5103f
 
static constexpr float XG_ANGLE = 0.6338f
 
static constexpr float XG_DISTANCE = -0.2798f
 
static constexpr float XG_LINE = 0.1243f
 
static constexpr float XG_LATERAL = -0.0300f
 
static constexpr float XG_LINE_SQUARED = 0.0014f
 
static constexpr float XG_LATERAL_SQUARED = 0.0041f
 
static constexpr float XG_ANGLE_LINE = -0.1251f
 
static constexpr float XG_MAX_DISTANCE_METRES = 38.0f
 
static constexpr float BASE_SKILL_FACTOR = 0.62f
 
static constexpr float SHOOTING_SKILL_FACTOR = 0.45f
 
static constexpr float MIN_OPEN_PLAY_XG = 0.005f
 
static constexpr float MAX_OPEN_PLAY_XG = 0.64f
 
static constexpr float PENALTY_XG = 0.78f
 
static constexpr float HEADER_XG_FACTOR = 0.45f
 
static constexpr float GOAL_HALF_WIDTH_METRES = 3.66f
 
static constexpr float KEEPER_CENTRED_METRES = 0.3f
 
static constexpr float NEAR_SIDE_AIM_CHANCE = 0.25f
 
static constexpr float POWER_SHOT_BASE_CHANCE = 0.75f
 
static constexpr float POWER_SHOT_SKILL_REDUCTION = 0.10f
 
static constexpr float POWER_SHOT_WIDTH_METRES = 1.3f
 
static constexpr float AIM_POST_INSET_BASE = 0.45f
 
static constexpr float AIM_POST_INSET_SKILL = 0.5f
 
static constexpr float AIM_INSET_SPREAD = 1.2f
 
static constexpr float PENALTY_AIM_INSET_SPREAD = 0.5f
 
static constexpr float AIM_MIN_HEIGHT_METRES = 0.2f
 
static constexpr float AIM_MAX_HEIGHT_METRES = 1.9f
 
static constexpr float HEADER_AIM_MAX_HEIGHT_METRES = 1.4f
 
static constexpr float ERROR_BASE_METRES = 3.75F
 
static constexpr float ERROR_SKILL_METRES = 2.4f
 
static constexpr float ERROR_PRESSURE_METRES = 1.8f
 
static constexpr float ERROR_REFERENCE_METRES = 16.0f
 
static constexpr float ERROR_MIN_DISTANCE_SCALE = 0.55f
 
static constexpr float PENALTY_ERROR_SCALE = 0.16f
 
static constexpr float VERTICAL_ERROR_SHARE = 0.6f
 
static constexpr float MIN_CROSSING_HEIGHT_METRES = 0.12f
 
static constexpr float MAX_CROSSING_HEIGHT_METRES = 6.0f
 
static constexpr float BASE_BALL_SPEED = 21.0f
 
static constexpr float SHOOTING_SPEED_BONUS = 9.0f
 
static constexpr float POWER_SPEED_BONUS = 3.0f
 
static constexpr float MIN_SPEED_VARIATION = 0.88f
 
static constexpr float RELEASE_HEIGHT_METRES = 0.2f
 
static constexpr float WOODWORK_BAND_METRES = 0.10f
 
static constexpr float WOODWORK_REBOUND = 0.35f
 
static constexpr float MAX_SET_PIECE_XG = 0.82f
 
static constexpr float MIN_GOAL_PROBABILITY = 0.01f
 
static constexpr float MIN_ACTION_COOLDOWN = 1.5f
 
static constexpr float MAX_ACTION_COOLDOWN = 2.5f
 

Member Data Documentation

◆ AIM_INSET_SPREAD

constexpr float MatchTuning::Shooting::AIM_INSET_SPREAD = 1.2f
staticconstexpr

◆ AIM_MAX_HEIGHT_METRES

constexpr float MatchTuning::Shooting::AIM_MAX_HEIGHT_METRES = 1.9f
staticconstexpr

◆ AIM_MIN_HEIGHT_METRES

constexpr float MatchTuning::Shooting::AIM_MIN_HEIGHT_METRES = 0.2f
staticconstexpr

◆ AIM_POST_INSET_BASE

constexpr float MatchTuning::Shooting::AIM_POST_INSET_BASE = 0.45f
staticconstexpr

◆ AIM_POST_INSET_SKILL

constexpr float MatchTuning::Shooting::AIM_POST_INSET_SKILL = 0.5f
staticconstexpr

◆ BASE_BALL_SPEED

constexpr float MatchTuning::Shooting::BASE_BALL_SPEED = 21.0f
staticconstexpr

◆ BASE_SKILL_FACTOR

constexpr float MatchTuning::Shooting::BASE_SKILL_FACTOR = 0.62f
staticconstexpr

◆ ERROR_BASE_METRES

constexpr float MatchTuning::Shooting::ERROR_BASE_METRES = 3.75F
staticconstexpr

◆ ERROR_MIN_DISTANCE_SCALE

constexpr float MatchTuning::Shooting::ERROR_MIN_DISTANCE_SCALE = 0.55f
staticconstexpr

◆ ERROR_PRESSURE_METRES

constexpr float MatchTuning::Shooting::ERROR_PRESSURE_METRES = 1.8f
staticconstexpr

◆ ERROR_REFERENCE_METRES

constexpr float MatchTuning::Shooting::ERROR_REFERENCE_METRES = 16.0f
staticconstexpr

◆ ERROR_SKILL_METRES

constexpr float MatchTuning::Shooting::ERROR_SKILL_METRES = 2.4f
staticconstexpr

◆ GOAL_HALF_WIDTH_METRES

constexpr float MatchTuning::Shooting::GOAL_HALF_WIDTH_METRES = 3.66f
staticconstexpr

◆ HEADER_AIM_MAX_HEIGHT_METRES

constexpr float MatchTuning::Shooting::HEADER_AIM_MAX_HEIGHT_METRES = 1.4f
staticconstexpr

◆ HEADER_XG_FACTOR

constexpr float MatchTuning::Shooting::HEADER_XG_FACTOR = 0.45f
staticconstexpr

◆ KEEPER_CENTRED_METRES

constexpr float MatchTuning::Shooting::KEEPER_CENTRED_METRES = 0.3f
staticconstexpr

◆ MAX_ACTION_COOLDOWN

constexpr float MatchTuning::Shooting::MAX_ACTION_COOLDOWN = 2.5f
staticconstexpr

◆ MAX_CROSSING_HEIGHT_METRES

constexpr float MatchTuning::Shooting::MAX_CROSSING_HEIGHT_METRES = 6.0f
staticconstexpr

◆ MAX_OPEN_PLAY_XG

constexpr float MatchTuning::Shooting::MAX_OPEN_PLAY_XG = 0.64f
staticconstexpr

◆ MAX_SET_PIECE_XG

constexpr float MatchTuning::Shooting::MAX_SET_PIECE_XG = 0.82f
staticconstexpr

◆ MIN_ACTION_COOLDOWN

constexpr float MatchTuning::Shooting::MIN_ACTION_COOLDOWN = 1.5f
staticconstexpr

◆ MIN_CROSSING_HEIGHT_METRES

constexpr float MatchTuning::Shooting::MIN_CROSSING_HEIGHT_METRES = 0.12f
staticconstexpr

◆ MIN_GOAL_PROBABILITY

constexpr float MatchTuning::Shooting::MIN_GOAL_PROBABILITY = 0.01f
staticconstexpr

◆ MIN_OPEN_PLAY_XG

constexpr float MatchTuning::Shooting::MIN_OPEN_PLAY_XG = 0.005f
staticconstexpr

◆ MIN_SPEED_VARIATION

constexpr float MatchTuning::Shooting::MIN_SPEED_VARIATION = 0.88f
staticconstexpr

◆ NEAR_SIDE_AIM_CHANCE

constexpr float MatchTuning::Shooting::NEAR_SIDE_AIM_CHANCE = 0.25f
staticconstexpr

◆ PENALTY_AIM_INSET_SPREAD

constexpr float MatchTuning::Shooting::PENALTY_AIM_INSET_SPREAD = 0.5f
staticconstexpr

◆ PENALTY_ERROR_SCALE

constexpr float MatchTuning::Shooting::PENALTY_ERROR_SCALE = 0.16f
staticconstexpr

◆ PENALTY_XG

constexpr float MatchTuning::Shooting::PENALTY_XG = 0.78f
staticconstexpr

◆ POWER_SHOT_BASE_CHANCE

constexpr float MatchTuning::Shooting::POWER_SHOT_BASE_CHANCE = 0.75f
staticconstexpr

◆ POWER_SHOT_SKILL_REDUCTION

constexpr float MatchTuning::Shooting::POWER_SHOT_SKILL_REDUCTION = 0.10f
staticconstexpr

◆ POWER_SHOT_WIDTH_METRES

constexpr float MatchTuning::Shooting::POWER_SHOT_WIDTH_METRES = 1.3f
staticconstexpr

◆ POWER_SPEED_BONUS

constexpr float MatchTuning::Shooting::POWER_SPEED_BONUS = 3.0f
staticconstexpr

◆ PRESSURE_PENALTY

constexpr float MatchTuning::Shooting::PRESSURE_PENALTY = 0.45f
staticconstexpr

◆ PRESSURE_RADIUS_METRES

constexpr float MatchTuning::Shooting::PRESSURE_RADIUS_METRES = 4.0f
staticconstexpr

◆ RELEASE_HEIGHT_METRES

constexpr float MatchTuning::Shooting::RELEASE_HEIGHT_METRES = 0.2f
staticconstexpr

◆ SHOOTING_SKILL_FACTOR

constexpr float MatchTuning::Shooting::SHOOTING_SKILL_FACTOR = 0.45f
staticconstexpr

◆ SHOOTING_SPEED_BONUS

constexpr float MatchTuning::Shooting::SHOOTING_SPEED_BONUS = 9.0f
staticconstexpr

◆ VERTICAL_ERROR_SHARE

constexpr float MatchTuning::Shooting::VERTICAL_ERROR_SHARE = 0.6f
staticconstexpr

◆ WOODWORK_BAND_METRES

constexpr float MatchTuning::Shooting::WOODWORK_BAND_METRES = 0.10f
staticconstexpr

◆ WOODWORK_REBOUND

constexpr float MatchTuning::Shooting::WOODWORK_REBOUND = 0.35f
staticconstexpr

◆ XG_ANGLE

constexpr float MatchTuning::Shooting::XG_ANGLE = 0.6338f
staticconstexpr

◆ XG_ANGLE_LINE

constexpr float MatchTuning::Shooting::XG_ANGLE_LINE = -0.1251f
staticconstexpr

◆ XG_DISTANCE

constexpr float MatchTuning::Shooting::XG_DISTANCE = -0.2798f
staticconstexpr

◆ XG_INTERCEPT

constexpr float MatchTuning::Shooting::XG_INTERCEPT = 0.5103f
staticconstexpr

◆ XG_LATERAL

constexpr float MatchTuning::Shooting::XG_LATERAL = -0.0300f
staticconstexpr

◆ XG_LATERAL_SQUARED

constexpr float MatchTuning::Shooting::XG_LATERAL_SQUARED = 0.0041f
staticconstexpr

◆ XG_LINE

constexpr float MatchTuning::Shooting::XG_LINE = 0.1243f
staticconstexpr

◆ XG_LINE_SQUARED

constexpr float MatchTuning::Shooting::XG_LINE_SQUARED = 0.0014f
staticconstexpr

◆ XG_MAX_DISTANCE_METRES

constexpr float MatchTuning::Shooting::XG_MAX_DISTANCE_METRES = 38.0f
staticconstexpr

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