Player12
An open source football management simulator
Loading...
Searching...
No Matches
StrategySliders Struct Reference

Team-wide tactical preferences in [0, 1]. More...

#include <strategy.h>

Public Attributes

float pressing = 0.5f
 
float riskTaking
 
float offensiveBias
 
float widthUsage = 0.5f
 
float compactness = 0.5f
 

Detailed Description

Team-wide tactical preferences in [0, 1].

MatchEngine combines these base values with score state, relative team strength and fading shouts in computeEffectiveSliders(). Movement and action selection consume those effective values. Individual behavior comes from SlotInstruction/RoleProfile in tactics.h. See docs/development/player-behavior.md.

Member Data Documentation

◆ compactness

float StrategySliders::compactness = 0.5f

Squeeze defensive lines and follow the ball

◆ offensiveBias

float StrategySliders::offensiveBias
Initial value:
=
0.5f

Likelihood to pass forward vs. safer options

◆ pressing

float StrategySliders::pressing = 0.5f

Team-wide intensity of pressing

◆ riskTaking

float StrategySliders::riskTaking
Initial value:
=
0.5f

Aggressiveness in attack vs. defensive caution

◆ widthUsage

float StrategySliders::widthUsage = 0.5f

Horizontal spread of the team


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