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

#include <match_tuning.h>

Static Public Attributes

static constexpr float TACKLE_DISTANCE_METRES = 1.3f
 
static constexpr float TACKLE_DEFENDING_REACH_METRES = 0.3f
 
static constexpr float SLIDE_TACKLE_DISTANCE_METRES = 2.2f
 
static constexpr float CLOSE_CONTROL_ENGAGE_SHARE = 0.25f
 
static constexpr float EXPOSED_ENGAGE_SHARE = 1.75f
 
static constexpr float EXPOSURE_WIN_BONUS = 0.35f
 
static constexpr float SHIELD_PHYSICALITY_PENALTY = 0.15f
 
static constexpr float SLIDE_WIN_PENALTY = 0.05f
 
static constexpr float FROM_BEHIND_WIN_PENALTY = 0.10f
 
static constexpr float FROM_BEHIND_FOUL_FACTOR = 2.2f
 
static constexpr float SLIDE_FOUL_FACTOR = 1.6f
 
static constexpr float EXPOSED_FOUL_RELIEF = 0.6f
 
static constexpr float ENGAGE_RATE_PER_SECOND = 0.35f
 
static constexpr float PRESSING_ENGAGE_BONUS = 0.3f
 
static constexpr float FINAL_THIRD_ENGAGE_FACTOR = 2.5f
 
static constexpr float MIN_TACKLE_COOLDOWN = 1.4f
 
static constexpr float MAX_TACKLE_COOLDOWN = 3.2f
 
static constexpr float PRESSING_COOLDOWN_REDUCTION = 0.25f
 
static constexpr float TACKLE_COOLDOWN_BASE_MULTIPLIER = 1.1f
 
static constexpr float BASE_WIN_CHANCE = 0.12f
 
static constexpr float DEFENDING_WIN_BONUS = 0.42f
 
static constexpr float DRIBBLING_WIN_PENALTY = 0.27f
 
static constexpr float PRESSING_WIN_EFFECT = -0.07f
 
static constexpr float PRESSING_FOUL_BONUS = 0.06f
 
static constexpr float MIN_WIN_CHANCE = 0.08f
 
static constexpr float MAX_WIN_CHANCE = 0.58f
 
static constexpr float PHYSICALITY_DUEL_WEIGHT = 0.12f
 
static constexpr float BASE_FOUL_CHANCE = 0.24f
 
static constexpr float RISK_FOUL_BONUS = 0.10f
 
static constexpr float TECHNIQUE_FOUL_BONUS = 0.10f
 
static constexpr float WINNING_TACKLE_FOUL_SHARE = 0.25f
 
static constexpr float PENALTY_AREA_FOUL_SCALE = 0.13f
 
static constexpr float POKE_LOOSE_CHANCE = 0.45f
 
static constexpr float MIN_POKE_SPEED = 3.5f
 
static constexpr float MAX_POKE_SPEED = 8.0f
 
static constexpr float CLEARANCE_MAX_DEPTH = 0.33f
 
static constexpr float CLEARANCE_MIN_DISTANCE_METRES = 30.0f
 
static constexpr float CLEARANCE_MAX_DISTANCE_METRES = 50.0f
 
static constexpr float CLEARANCE_SPEED = 22.0f
 
static constexpr float CLEARANCE_TOUCHLINE_BIAS = 0.35f
 
static constexpr float MIN_RECOVERY_COOLDOWN = 0.6f
 
static constexpr float MAX_RECOVERY_COOLDOWN = 1.2f
 
static constexpr float BLOCK_DISTANCE_METRES = 1.6f
 
static constexpr float BASE_BLOCK_CHANCE = 0.55f
 
static constexpr float DEFENDING_BLOCK_BONUS = 0.25f
 
static constexpr float DEFLECTION_SPEED_FACTOR = -0.22f
 
static constexpr float MAX_DEFLECTION_Y_SPEED = 5.0f
 

Member Data Documentation

◆ BASE_BLOCK_CHANCE

constexpr float MatchTuning::Defending::BASE_BLOCK_CHANCE = 0.55f
staticconstexpr

◆ BASE_FOUL_CHANCE

constexpr float MatchTuning::Defending::BASE_FOUL_CHANCE = 0.24f
staticconstexpr

◆ BASE_WIN_CHANCE

constexpr float MatchTuning::Defending::BASE_WIN_CHANCE = 0.12f
staticconstexpr

◆ BLOCK_DISTANCE_METRES

constexpr float MatchTuning::Defending::BLOCK_DISTANCE_METRES = 1.6f
staticconstexpr

Reach of an outfield player throwing his body at a shot.

◆ CLEARANCE_MAX_DEPTH

constexpr float MatchTuning::Defending::CLEARANCE_MAX_DEPTH = 0.33f
staticconstexpr

◆ CLEARANCE_MAX_DISTANCE_METRES

constexpr float MatchTuning::Defending::CLEARANCE_MAX_DISTANCE_METRES = 50.0f
staticconstexpr

◆ CLEARANCE_MIN_DISTANCE_METRES

constexpr float MatchTuning::Defending::CLEARANCE_MIN_DISTANCE_METRES = 30.0f
staticconstexpr

◆ CLEARANCE_SPEED

constexpr float MatchTuning::Defending::CLEARANCE_SPEED = 22.0f
staticconstexpr

◆ CLEARANCE_TOUCHLINE_BIAS

constexpr float MatchTuning::Defending::CLEARANCE_TOUCHLINE_BIAS = 0.35f
staticconstexpr

◆ CLOSE_CONTROL_ENGAGE_SHARE

constexpr float MatchTuning::Defending::CLOSE_CONTROL_ENGAGE_SHARE = 0.25f
staticconstexpr

Engagement waits for the ball to be away from the attacker's foot.

◆ DEFENDING_BLOCK_BONUS

constexpr float MatchTuning::Defending::DEFENDING_BLOCK_BONUS = 0.25f
staticconstexpr

◆ DEFENDING_WIN_BONUS

constexpr float MatchTuning::Defending::DEFENDING_WIN_BONUS = 0.42f
staticconstexpr

◆ DEFLECTION_SPEED_FACTOR

constexpr float MatchTuning::Defending::DEFLECTION_SPEED_FACTOR = -0.22f
staticconstexpr

◆ DRIBBLING_WIN_PENALTY

constexpr float MatchTuning::Defending::DRIBBLING_WIN_PENALTY = 0.27f
staticconstexpr

◆ ENGAGE_RATE_PER_SECOND

constexpr float MatchTuning::Defending::ENGAGE_RATE_PER_SECOND = 0.35f
staticconstexpr

◆ EXPOSED_ENGAGE_SHARE

constexpr float MatchTuning::Defending::EXPOSED_ENGAGE_SHARE = 1.75f
staticconstexpr

◆ EXPOSED_FOUL_RELIEF

constexpr float MatchTuning::Defending::EXPOSED_FOUL_RELIEF = 0.6f
staticconstexpr

◆ EXPOSURE_WIN_BONUS

constexpr float MatchTuning::Defending::EXPOSURE_WIN_BONUS = 0.35f
staticconstexpr

◆ FINAL_THIRD_ENGAGE_FACTOR

constexpr float MatchTuning::Defending::FINAL_THIRD_ENGAGE_FACTOR = 2.5f
staticconstexpr

◆ FROM_BEHIND_FOUL_FACTOR

constexpr float MatchTuning::Defending::FROM_BEHIND_FOUL_FACTOR = 2.2f
staticconstexpr

◆ FROM_BEHIND_WIN_PENALTY

constexpr float MatchTuning::Defending::FROM_BEHIND_WIN_PENALTY = 0.10f
staticconstexpr

◆ MAX_DEFLECTION_Y_SPEED

constexpr float MatchTuning::Defending::MAX_DEFLECTION_Y_SPEED = 5.0f
staticconstexpr

◆ MAX_POKE_SPEED

constexpr float MatchTuning::Defending::MAX_POKE_SPEED = 8.0f
staticconstexpr

◆ MAX_RECOVERY_COOLDOWN

constexpr float MatchTuning::Defending::MAX_RECOVERY_COOLDOWN = 1.2f
staticconstexpr

◆ MAX_TACKLE_COOLDOWN

constexpr float MatchTuning::Defending::MAX_TACKLE_COOLDOWN = 3.2f
staticconstexpr

◆ MAX_WIN_CHANCE

constexpr float MatchTuning::Defending::MAX_WIN_CHANCE = 0.58f
staticconstexpr

◆ MIN_POKE_SPEED

constexpr float MatchTuning::Defending::MIN_POKE_SPEED = 3.5f
staticconstexpr

◆ MIN_RECOVERY_COOLDOWN

constexpr float MatchTuning::Defending::MIN_RECOVERY_COOLDOWN = 0.6f
staticconstexpr

◆ MIN_TACKLE_COOLDOWN

constexpr float MatchTuning::Defending::MIN_TACKLE_COOLDOWN = 1.4f
staticconstexpr

◆ MIN_WIN_CHANCE

constexpr float MatchTuning::Defending::MIN_WIN_CHANCE = 0.08f
staticconstexpr

◆ PENALTY_AREA_FOUL_SCALE

constexpr float MatchTuning::Defending::PENALTY_AREA_FOUL_SCALE = 0.13f
staticconstexpr

◆ PHYSICALITY_DUEL_WEIGHT

constexpr float MatchTuning::Defending::PHYSICALITY_DUEL_WEIGHT = 0.12f
staticconstexpr

◆ POKE_LOOSE_CHANCE

constexpr float MatchTuning::Defending::POKE_LOOSE_CHANCE = 0.45f
staticconstexpr

◆ PRESSING_COOLDOWN_REDUCTION

constexpr float MatchTuning::Defending::PRESSING_COOLDOWN_REDUCTION = 0.25f
staticconstexpr

◆ PRESSING_ENGAGE_BONUS

constexpr float MatchTuning::Defending::PRESSING_ENGAGE_BONUS = 0.3f
staticconstexpr

◆ PRESSING_FOUL_BONUS

constexpr float MatchTuning::Defending::PRESSING_FOUL_BONUS = 0.06f
staticconstexpr

◆ PRESSING_WIN_EFFECT

constexpr float MatchTuning::Defending::PRESSING_WIN_EFFECT = -0.07f
staticconstexpr

◆ RISK_FOUL_BONUS

constexpr float MatchTuning::Defending::RISK_FOUL_BONUS = 0.10f
staticconstexpr

◆ SHIELD_PHYSICALITY_PENALTY

constexpr float MatchTuning::Defending::SHIELD_PHYSICALITY_PENALTY = 0.15f
staticconstexpr

◆ SLIDE_FOUL_FACTOR

constexpr float MatchTuning::Defending::SLIDE_FOUL_FACTOR = 1.6f
staticconstexpr

◆ SLIDE_TACKLE_DISTANCE_METRES

constexpr float MatchTuning::Defending::SLIDE_TACKLE_DISTANCE_METRES = 2.2f
staticconstexpr

◆ SLIDE_WIN_PENALTY

constexpr float MatchTuning::Defending::SLIDE_WIN_PENALTY = 0.05f
staticconstexpr

◆ TACKLE_COOLDOWN_BASE_MULTIPLIER

constexpr float MatchTuning::Defending::TACKLE_COOLDOWN_BASE_MULTIPLIER = 1.1f
staticconstexpr

◆ TACKLE_DEFENDING_REACH_METRES

constexpr float MatchTuning::Defending::TACKLE_DEFENDING_REACH_METRES = 0.3f
staticconstexpr

◆ TACKLE_DISTANCE_METRES

constexpr float MatchTuning::Defending::TACKLE_DISTANCE_METRES = 1.3f
staticconstexpr

Reach of a standing challenge and of a sliding one (to the ball).

◆ TECHNIQUE_FOUL_BONUS

constexpr float MatchTuning::Defending::TECHNIQUE_FOUL_BONUS = 0.10f
staticconstexpr

◆ WINNING_TACKLE_FOUL_SHARE

constexpr float MatchTuning::Defending::WINNING_TACKLE_FOUL_SHARE = 0.25f
staticconstexpr

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