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

#include <match_tuning.h>

Static Public Attributes

static constexpr int MAX_SUBSTITUTIONS_PER_TEAM = 5
 
static constexpr int EXTRA_TIME_SUBSTITUTIONS = 1
 
static constexpr long MINIMUM_PLAYERS = 7
 
static constexpr float PARKED_PLAYER_OFFSET = 0.06f
 
static constexpr float PARKED_PLAYER_SPACING = 0.025f
 
static constexpr float DEFENSIVE_SLOT_DEPTH = 0.30f
 
static constexpr float SHORT_HANDED_DROP = 0.02f
 
static constexpr float HOME_EXECUTION_BONUS = 0.15f
 
static constexpr float HOME_ATTRIBUTE_BONUS = 0.19f
 
static constexpr float NUMERICAL_EDGE_PER_PLAYER = 0.20f
 
static constexpr int MAX_NUMERICAL_EDGE_PLAYERS = 3
 
static constexpr float DUEL_EDGE_WEIGHT = 0.8f
 
static constexpr float HOME_FINAL_THIRD_START = 0.67f
 
static constexpr float AWAY_FINAL_THIRD_START = 0.33f
 

Member Data Documentation

◆ AWAY_FINAL_THIRD_START

constexpr float MatchTuning::Rules::AWAY_FINAL_THIRD_START = 0.33f
staticconstexpr

◆ DEFENSIVE_SLOT_DEPTH

constexpr float MatchTuning::Rules::DEFENSIVE_SLOT_DEPTH = 0.30f
staticconstexpr

◆ DUEL_EDGE_WEIGHT

constexpr float MatchTuning::Rules::DUEL_EDGE_WEIGHT = 0.8f
staticconstexpr

Weight of the team edge on the attributes used in duels.

◆ EXTRA_TIME_SUBSTITUTIONS

constexpr int MatchTuning::Rules::EXTRA_TIME_SUBSTITUTIONS = 1
staticconstexpr

One more change (and window) once a tie goes to extra time.

◆ HOME_ATTRIBUTE_BONUS

constexpr float MatchTuning::Rules::HOME_ATTRIBUTE_BONUS = 0.19f
staticconstexpr

Home crowd lift on technical and mental attributes (stretched units), worth a few rating points.

◆ HOME_EXECUTION_BONUS

constexpr float MatchTuning::Rules::HOME_EXECUTION_BONUS = 0.15f
staticconstexpr

◆ HOME_FINAL_THIRD_START

constexpr float MatchTuning::Rules::HOME_FINAL_THIRD_START = 0.67f
staticconstexpr

◆ MAX_NUMERICAL_EDGE_PLAYERS

constexpr int MatchTuning::Rules::MAX_NUMERICAL_EDGE_PLAYERS = 3
staticconstexpr

◆ MAX_SUBSTITUTIONS_PER_TEAM

constexpr int MatchTuning::Rules::MAX_SUBSTITUTIONS_PER_TEAM = 5
staticconstexpr

◆ MINIMUM_PLAYERS

constexpr long MatchTuning::Rules::MINIMUM_PLAYERS = 7
staticconstexpr

◆ NUMERICAL_EDGE_PER_PLAYER

constexpr float MatchTuning::Rules::NUMERICAL_EDGE_PER_PLAYER = 0.20f
staticconstexpr

Execution, decision and duel edge per player of numerical advantage (a side reduced to ten is stretched and loses confidence).

◆ PARKED_PLAYER_OFFSET

constexpr float MatchTuning::Rules::PARKED_PLAYER_OFFSET = 0.06f
staticconstexpr

◆ PARKED_PLAYER_SPACING

constexpr float MatchTuning::Rules::PARKED_PLAYER_SPACING = 0.025f
staticconstexpr

◆ SHORT_HANDED_DROP

constexpr float MatchTuning::Rules::SHORT_HANDED_DROP = 0.02f
staticconstexpr

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