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

#include <match_tuning.h>

Static Public Attributes

static constexpr float REACTION_BASE_SECONDS = 0.12f
 
static constexpr float REACTION_SKILL_SECONDS = 0.08f
 
static constexpr float SCREENED_REACTION_SECONDS = 0.12f
 
static constexpr float SCREEN_WIDTH_METRES = 0.9f
 
static constexpr float READ_ERROR_METRES = 0.8f
 
static constexpr float DIVE_POST_MARGIN = 0.02f
 
static constexpr float DIVE_ACCELERATION_METRES = 14.0f
 
static constexpr float DIVE_BASE_SPEED_METRES = 4.2f
 
static constexpr float DIVE_SKILL_SPEED_METRES = 1.6f
 
static constexpr float BODY_REACH_METRES = 2.0f
 
static constexpr float HAND_REACH_HEIGHT_SHARE = 0.45F
 
static constexpr float DIVE_REACH_HEIGHT_SHARE = 0.85F
 
static constexpr float SHOULDER_HEIGHT_SHARE = 0.8F
 
static constexpr float MIN_VERTICAL_REACH_MARGIN = 0.01F
 
static constexpr float HEIGHT_REACH_GAIN = 0.8f
 
static constexpr float HIGH_BALL_METRES = 1.9f
 
static constexpr float HIGH_BALL_REACH_SCALE = 0.85f
 
static constexpr float COMFORT_SPEED_METRES = 24.0f
 
static constexpr float SAVE_BASE = 0.97f
 
static constexpr float SAVE_STRETCH_PENALTY = 0.15F
 
static constexpr float SAVE_SPEED_PENALTY = 0.015f
 
static constexpr float SAVE_SKILL_BONUS = 0.22f
 
static constexpr float MIN_SAVE_CHANCE = 0.05f
 
static constexpr float MAX_SAVE_CHANCE = 0.98f
 
static constexpr float HOLD_BASE = 0.35f
 
static constexpr float HOLD_SKILL = 0.40f
 
static constexpr float HOLD_STRETCH_PENALTY = 0.45f
 
static constexpr float HOLD_SPEED_PENALTY = 0.02f
 
static constexpr float MIN_HOLD_CHANCE = 0.05f
 
static constexpr float MAX_HOLD_CHANCE = 0.90f
 
static constexpr float TIP_OVER_METRES = 2.05f
 
static constexpr float TIP_AROUND_STRETCH = 0.5f
 
static constexpr float PARRY_SPEED_SHARE = 0.35f
 
static constexpr float PARRY_MAX_VERTICAL_SPEED = 4.0f
 
static constexpr float RECOVER_TIME_SECONDS = 1.1f
 
static constexpr float DISTRIBUTE_TIME_SECONDS = 0.6f
 
static constexpr float PENALTY_READ_BASE = 0.0f
 
static constexpr float PENALTY_READ_SKILL = 0.12f
 
static constexpr float PENALTY_STAY_CHANCE = 0.08f
 
static constexpr float PENALTY_DIVE_METRES = 1.2f
 
static constexpr float PENALTY_SAVE_FACTOR = 0.30f
 
static constexpr float CLAIM_LOOKAHEAD_SECONDS = 0.95f
 
static constexpr float CLAIM_BOX_DEPTH_METRES = 6.0f
 
static constexpr float SWEEP_ADVANTAGE = 1.25f
 
static constexpr float RUSH_COVER_DISTANCE_METRES = 5.0f
 
static constexpr float RUSH_CLOSING_SHARE = 0.55f
 
static constexpr float NEAR_DEPTH_METRES = 0.8f
 
static constexpr float DEPTH_PER_METRE = 0.11f
 
static constexpr float SWEEPER_DISTANCE_METRES = 35.0f
 
static constexpr float SWEEPER_DEPTH_PER_METRE = 0.18f
 
static constexpr float MAX_DEPTH_METRES = 16.0f
 

Detailed Description

Goalkeeper model in real seconds, metres and m/s.

Member Data Documentation

◆ BODY_REACH_METRES

constexpr float MatchTuning::Goalkeeper::BODY_REACH_METRES = 2.0f
staticconstexpr

◆ CLAIM_BOX_DEPTH_METRES

constexpr float MatchTuning::Goalkeeper::CLAIM_BOX_DEPTH_METRES = 6.0f
staticconstexpr

◆ CLAIM_LOOKAHEAD_SECONDS

constexpr float MatchTuning::Goalkeeper::CLAIM_LOOKAHEAD_SECONDS = 0.95f
staticconstexpr

◆ COMFORT_SPEED_METRES

constexpr float MatchTuning::Goalkeeper::COMFORT_SPEED_METRES = 24.0f
staticconstexpr

◆ DEPTH_PER_METRE

constexpr float MatchTuning::Goalkeeper::DEPTH_PER_METRE = 0.11f
staticconstexpr

◆ DISTRIBUTE_TIME_SECONDS

constexpr float MatchTuning::Goalkeeper::DISTRIBUTE_TIME_SECONDS = 0.6f
staticconstexpr

◆ DIVE_ACCELERATION_METRES

constexpr float MatchTuning::Goalkeeper::DIVE_ACCELERATION_METRES = 14.0f
staticconstexpr

◆ DIVE_BASE_SPEED_METRES

constexpr float MatchTuning::Goalkeeper::DIVE_BASE_SPEED_METRES = 4.2f
staticconstexpr

◆ DIVE_POST_MARGIN

constexpr float MatchTuning::Goalkeeper::DIVE_POST_MARGIN = 0.02f
staticconstexpr

◆ DIVE_REACH_HEIGHT_SHARE

constexpr float MatchTuning::Goalkeeper::DIVE_REACH_HEIGHT_SHARE = 0.85F
staticconstexpr

◆ DIVE_SKILL_SPEED_METRES

constexpr float MatchTuning::Goalkeeper::DIVE_SKILL_SPEED_METRES = 1.6f
staticconstexpr

◆ HAND_REACH_HEIGHT_SHARE

constexpr float MatchTuning::Goalkeeper::HAND_REACH_HEIGHT_SHARE = 0.45F
staticconstexpr

◆ HEIGHT_REACH_GAIN

constexpr float MatchTuning::Goalkeeper::HEIGHT_REACH_GAIN = 0.8f
staticconstexpr

◆ HIGH_BALL_METRES

constexpr float MatchTuning::Goalkeeper::HIGH_BALL_METRES = 1.9f
staticconstexpr

◆ HIGH_BALL_REACH_SCALE

constexpr float MatchTuning::Goalkeeper::HIGH_BALL_REACH_SCALE = 0.85f
staticconstexpr

◆ HOLD_BASE

constexpr float MatchTuning::Goalkeeper::HOLD_BASE = 0.35f
staticconstexpr

◆ HOLD_SKILL

constexpr float MatchTuning::Goalkeeper::HOLD_SKILL = 0.40f
staticconstexpr

◆ HOLD_SPEED_PENALTY

constexpr float MatchTuning::Goalkeeper::HOLD_SPEED_PENALTY = 0.02f
staticconstexpr

◆ HOLD_STRETCH_PENALTY

constexpr float MatchTuning::Goalkeeper::HOLD_STRETCH_PENALTY = 0.45f
staticconstexpr

◆ MAX_DEPTH_METRES

constexpr float MatchTuning::Goalkeeper::MAX_DEPTH_METRES = 16.0f
staticconstexpr

◆ MAX_HOLD_CHANCE

constexpr float MatchTuning::Goalkeeper::MAX_HOLD_CHANCE = 0.90f
staticconstexpr

◆ MAX_SAVE_CHANCE

constexpr float MatchTuning::Goalkeeper::MAX_SAVE_CHANCE = 0.98f
staticconstexpr

◆ MIN_HOLD_CHANCE

constexpr float MatchTuning::Goalkeeper::MIN_HOLD_CHANCE = 0.05f
staticconstexpr

◆ MIN_SAVE_CHANCE

constexpr float MatchTuning::Goalkeeper::MIN_SAVE_CHANCE = 0.05f
staticconstexpr

◆ MIN_VERTICAL_REACH_MARGIN

constexpr float MatchTuning::Goalkeeper::MIN_VERTICAL_REACH_MARGIN = 0.01F
staticconstexpr

◆ NEAR_DEPTH_METRES

constexpr float MatchTuning::Goalkeeper::NEAR_DEPTH_METRES = 0.8f
staticconstexpr

◆ PARRY_MAX_VERTICAL_SPEED

constexpr float MatchTuning::Goalkeeper::PARRY_MAX_VERTICAL_SPEED = 4.0f
staticconstexpr

◆ PARRY_SPEED_SHARE

constexpr float MatchTuning::Goalkeeper::PARRY_SPEED_SHARE = 0.35f
staticconstexpr

◆ PENALTY_DIVE_METRES

constexpr float MatchTuning::Goalkeeper::PENALTY_DIVE_METRES = 1.2f
staticconstexpr

◆ PENALTY_READ_BASE

constexpr float MatchTuning::Goalkeeper::PENALTY_READ_BASE = 0.0f
staticconstexpr

◆ PENALTY_READ_SKILL

constexpr float MatchTuning::Goalkeeper::PENALTY_READ_SKILL = 0.12f
staticconstexpr

◆ PENALTY_SAVE_FACTOR

constexpr float MatchTuning::Goalkeeper::PENALTY_SAVE_FACTOR = 0.30f
staticconstexpr

Even a keeper who guesses right rarely reaches a placed penalty.

◆ PENALTY_STAY_CHANCE

constexpr float MatchTuning::Goalkeeper::PENALTY_STAY_CHANCE = 0.08f
staticconstexpr

◆ REACTION_BASE_SECONDS

constexpr float MatchTuning::Goalkeeper::REACTION_BASE_SECONDS = 0.12f
staticconstexpr

◆ REACTION_SKILL_SECONDS

constexpr float MatchTuning::Goalkeeper::REACTION_SKILL_SECONDS = 0.08f
staticconstexpr

◆ READ_ERROR_METRES

constexpr float MatchTuning::Goalkeeper::READ_ERROR_METRES = 0.8f
staticconstexpr

◆ RECOVER_TIME_SECONDS

constexpr float MatchTuning::Goalkeeper::RECOVER_TIME_SECONDS = 1.1f
staticconstexpr

◆ RUSH_CLOSING_SHARE

constexpr float MatchTuning::Goalkeeper::RUSH_CLOSING_SHARE = 0.55f
staticconstexpr

◆ RUSH_COVER_DISTANCE_METRES

constexpr float MatchTuning::Goalkeeper::RUSH_COVER_DISTANCE_METRES = 5.0f
staticconstexpr

◆ SAVE_BASE

constexpr float MatchTuning::Goalkeeper::SAVE_BASE = 0.97f
staticconstexpr

◆ SAVE_SKILL_BONUS

constexpr float MatchTuning::Goalkeeper::SAVE_SKILL_BONUS = 0.22f
staticconstexpr

◆ SAVE_SPEED_PENALTY

constexpr float MatchTuning::Goalkeeper::SAVE_SPEED_PENALTY = 0.015f
staticconstexpr

◆ SAVE_STRETCH_PENALTY

constexpr float MatchTuning::Goalkeeper::SAVE_STRETCH_PENALTY = 0.15F
staticconstexpr

◆ SCREEN_WIDTH_METRES

constexpr float MatchTuning::Goalkeeper::SCREEN_WIDTH_METRES = 0.9f
staticconstexpr

◆ SCREENED_REACTION_SECONDS

constexpr float MatchTuning::Goalkeeper::SCREENED_REACTION_SECONDS = 0.12f
staticconstexpr

◆ SHOULDER_HEIGHT_SHARE

constexpr float MatchTuning::Goalkeeper::SHOULDER_HEIGHT_SHARE = 0.8F
staticconstexpr

◆ SWEEP_ADVANTAGE

constexpr float MatchTuning::Goalkeeper::SWEEP_ADVANTAGE = 1.25f
staticconstexpr

◆ SWEEPER_DEPTH_PER_METRE

constexpr float MatchTuning::Goalkeeper::SWEEPER_DEPTH_PER_METRE = 0.18f
staticconstexpr

◆ SWEEPER_DISTANCE_METRES

constexpr float MatchTuning::Goalkeeper::SWEEPER_DISTANCE_METRES = 35.0f
staticconstexpr

◆ TIP_AROUND_STRETCH

constexpr float MatchTuning::Goalkeeper::TIP_AROUND_STRETCH = 0.5f
staticconstexpr

◆ TIP_OVER_METRES

constexpr float MatchTuning::Goalkeeper::TIP_OVER_METRES = 2.05f
staticconstexpr

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