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

#include <match_tuning.h>

Static Public Attributes

static constexpr float SHOUT_DURATION_SECONDS = 600.0f
 
static constexpr float SHOUT_SLIDER_STEP = 0.2f
 
static constexpr float SHOUT_SHOT_BIAS = 0.6f
 
static constexpr float SHOUT_REPEAT_FADE_SECONDS = 480.0f
 
static constexpr float RESHAPE_FAMILIARITY_PER_METRE = 0.02f
 
static constexpr float MAX_RESHAPE_FAMILIARITY_COST = 0.2f
 
static constexpr float RESHAPE_RECOVERY_SECONDS = 300.0f
 
static constexpr float ENCOURAGE_WORK_RATE = 0.03f
 
static constexpr float MAX_TEAM_TALK_MODIFIER = 0.05f
 
static constexpr int SCORE_EFFECT_MAX_GOALS = 3
 
static constexpr float SCORE_EFFECT_BASE = 0.4f
 
static constexpr float SCORE_EFFECT_OFFENSIVE = 0.10f
 
static constexpr float SCORE_EFFECT_RISK = 0.10f
 
static constexpr float SCORE_EFFECT_PRESSING = 0.08f
 
static constexpr float SCORE_EFFECT_COMPACTNESS = 0.08f
 
static constexpr float GAME_MANAGEMENT_OFFENSIVE = 0.12f
 
static constexpr float UNDERDOG_GAP_START = 0.08f
 
static constexpr float UNDERDOG_GAP_RANGE = 0.30f
 
static constexpr float UNDERDOG_PRESSING = 0.35f
 
static constexpr float UNDERDOG_COMPACTNESS = 0.40f
 
static constexpr float UNDERDOG_OFFENSIVE = 0.12f
 
static constexpr float AI_CHASE_MINUTE = 65.0f
 
static constexpr float AI_SHOOT_ON_SIGHT_MINUTE = 82.0f
 
static constexpr float AI_PROTECT_MINUTE = 75.0f
 

Detailed Description

Touchline instructions: a shout nudges the team sliders (and shot appetite) and fades linearly; a team talk scales execution, decisions and work rate by at most a few per cent for one half.

Member Data Documentation

◆ AI_CHASE_MINUTE

constexpr float MatchTuning::Touchline::AI_CHASE_MINUTE = 65.0f
staticconstexpr

◆ AI_PROTECT_MINUTE

constexpr float MatchTuning::Touchline::AI_PROTECT_MINUTE = 75.0f
staticconstexpr

◆ AI_SHOOT_ON_SIGHT_MINUTE

constexpr float MatchTuning::Touchline::AI_SHOOT_ON_SIGHT_MINUTE = 82.0f
staticconstexpr

◆ ENCOURAGE_WORK_RATE

constexpr float MatchTuning::Touchline::ENCOURAGE_WORK_RATE = 0.03f
staticconstexpr

◆ GAME_MANAGEMENT_OFFENSIVE

constexpr float MatchTuning::Touchline::GAME_MANAGEMENT_OFFENSIVE = 0.12f
staticconstexpr

A side two or more goals up also stops committing men forward (per goal of lead from Decision::COMFORTABLE_LEAD, at full urgency).

◆ MAX_RESHAPE_FAMILIARITY_COST

constexpr float MatchTuning::Touchline::MAX_RESHAPE_FAMILIARITY_COST = 0.2f
staticconstexpr

◆ MAX_TEAM_TALK_MODIFIER

constexpr float MatchTuning::Touchline::MAX_TEAM_TALK_MODIFIER = 0.05f
staticconstexpr

◆ RESHAPE_FAMILIARITY_PER_METRE

constexpr float MatchTuning::Touchline::RESHAPE_FAMILIARITY_PER_METRE = 0.02f
staticconstexpr

A new shape costs tactical familiarity per metre the slots move on average (at most MAX), recovered linearly over RECOVERY seconds.

◆ RESHAPE_RECOVERY_SECONDS

constexpr float MatchTuning::Touchline::RESHAPE_RECOVERY_SECONDS = 300.0f
staticconstexpr

◆ SCORE_EFFECT_BASE

constexpr float MatchTuning::Touchline::SCORE_EFFECT_BASE = 0.4f
staticconstexpr

◆ SCORE_EFFECT_COMPACTNESS

constexpr float MatchTuning::Touchline::SCORE_EFFECT_COMPACTNESS = 0.08f
staticconstexpr

◆ SCORE_EFFECT_MAX_GOALS

constexpr int MatchTuning::Touchline::SCORE_EFFECT_MAX_GOALS = 3
staticconstexpr

◆ SCORE_EFFECT_OFFENSIVE

constexpr float MatchTuning::Touchline::SCORE_EFFECT_OFFENSIVE = 0.10f
staticconstexpr

◆ SCORE_EFFECT_PRESSING

constexpr float MatchTuning::Touchline::SCORE_EFFECT_PRESSING = 0.08f
staticconstexpr

◆ SCORE_EFFECT_RISK

constexpr float MatchTuning::Touchline::SCORE_EFFECT_RISK = 0.10f
staticconstexpr

◆ SHOUT_DURATION_SECONDS

constexpr float MatchTuning::Touchline::SHOUT_DURATION_SECONDS = 600.0f
staticconstexpr

◆ SHOUT_REPEAT_FADE_SECONDS

constexpr float MatchTuning::Touchline::SHOUT_REPEAT_FADE_SECONDS = 480.0f
staticconstexpr

Each recent shout divides the next one's effect by (1 + recent shouts); one recent shout is forgotten per this many seconds (less than a shout lasts, so a shout made once the last has faded is at full strength).

◆ SHOUT_SHOT_BIAS

constexpr float MatchTuning::Touchline::SHOUT_SHOT_BIAS = 0.6f
staticconstexpr

◆ SHOUT_SLIDER_STEP

constexpr float MatchTuning::Touchline::SHOUT_SLIDER_STEP = 0.2f
staticconstexpr

◆ UNDERDOG_COMPACTNESS

constexpr float MatchTuning::Touchline::UNDERDOG_COMPACTNESS = 0.40f
staticconstexpr

◆ UNDERDOG_GAP_RANGE

constexpr float MatchTuning::Touchline::UNDERDOG_GAP_RANGE = 0.30f
staticconstexpr

◆ UNDERDOG_GAP_START

constexpr float MatchTuning::Touchline::UNDERDOG_GAP_START = 0.08f
staticconstexpr

◆ UNDERDOG_OFFENSIVE

constexpr float MatchTuning::Touchline::UNDERDOG_OFFENSIVE = 0.12f
staticconstexpr

◆ UNDERDOG_PRESSING

constexpr float MatchTuning::Touchline::UNDERDOG_PRESSING = 0.35f
staticconstexpr

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