Player12
An open source football management simulator
Loading...
Searching...
No Matches
WorldTuning::Generation Struct Referencefinal

#include <world_tuning.h>

Static Public Attributes

static constexpr float REPUTATION_PER_LEVEL = 0.8f
 
static constexpr float CLUB_REPUTATION_NOISE = 0.5f
 
static constexpr float REPUTATION_CAP_MARGIN = 2.0f
 
static constexpr float MAX_CLUB_LEVEL = 90.0f
 
static constexpr float TEAM_LEVEL_BASE = 38.0f
 
static constexpr float TEAM_LEVEL_SLOPE = 0.42f
 
static constexpr int VETERAN_AGE = 29
 
static constexpr float VETERAN_HEADROOM = 2.0f
 
static constexpr int NAME_ATTEMPTS = 48
 
static constexpr float WAGE_ABILITY_EXPONENT = 7.0f
 
static constexpr float OPENING_BALANCE_MIN = 0.15f
 
static constexpr float OPENING_BALANCE_MAX = 0.45f
 

Member Data Documentation

◆ CLUB_REPUTATION_NOISE

constexpr float WorldTuning::Generation::CLUB_REPUTATION_NOISE = 0.5f
staticconstexpr

◆ MAX_CLUB_LEVEL

constexpr float WorldTuning::Generation::MAX_CLUB_LEVEL = 90.0f
staticconstexpr

Highest mean first-team level of a generated club. [P]

◆ NAME_ATTEMPTS

constexpr int WorldTuning::Generation::NAME_ATTEMPTS = 48
staticconstexpr

Name draws before a double surname is used. [P]

◆ OPENING_BALANCE_MAX

constexpr float WorldTuning::Generation::OPENING_BALANCE_MAX = 0.45f
staticconstexpr

◆ OPENING_BALANCE_MIN

constexpr float WorldTuning::Generation::OPENING_BALANCE_MIN = 0.15f
staticconstexpr

Opening cash as a share of expected income (uniform range). [P]

◆ REPUTATION_CAP_MARGIN

constexpr float WorldTuning::Generation::REPUTATION_CAP_MARGIN = 2.0f
staticconstexpr

Reputation headroom kept below the cap of 99 for the elite. [P]

◆ REPUTATION_PER_LEVEL

constexpr float WorldTuning::Generation::REPUTATION_PER_LEVEL = 0.8f
staticconstexpr

Club reputation points per point of first-team level inside a league (the LeagueShape spread); revenue follows reputation, so this sets how much richer the elite are. [P]

◆ TEAM_LEVEL_BASE

constexpr float WorldTuning::Generation::TEAM_LEVEL_BASE = 38.0f
staticconstexpr

League first-team level = base + slope * league reputation. [P]

◆ TEAM_LEVEL_SLOPE

constexpr float WorldTuning::Generation::TEAM_LEVEL_SLOPE = 0.42f
staticconstexpr

◆ VETERAN_AGE

constexpr int WorldTuning::Generation::VETERAN_AGE = 29
staticconstexpr

From this age potential is at most the current ability plus a small headroom: growth ends in the mid-20s. [S: peaks 25-27]

◆ VETERAN_HEADROOM

constexpr float WorldTuning::Generation::VETERAN_HEADROOM = 2.0f
staticconstexpr

◆ WAGE_ABILITY_EXPONENT

constexpr float WorldTuning::Generation::WAGE_ABILITY_EXPONENT = 7.0f
staticconstexpr

Wage elasticity to ability: W ~ overall^gamma. [P]


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