|
Player12
An open source football management simulator
|
#include <world_tuning.h>
Static Public Attributes | |
| static constexpr double | EXIT_CHANCE_YOUNG = 0.05 |
| static constexpr double | EXIT_CHANCE_PRIME = 0.10 |
| static constexpr double | EXIT_CHANCE_LATE = 0.15 |
| static constexpr double | EXIT_CHANCE_VETERAN = 0.25 |
| static constexpr double | LEVEL_MARGIN = 5.0 |
| static constexpr double | ABOVE_LEVEL_FACTOR = 0.4 |
| static constexpr double | BELOW_LEVEL_FACTOR = 2.0 |
| static constexpr double | PROSPECT_POTENTIAL_MARGIN = 10.0 |
| static constexpr double | PROSPECT_FACTOR = 0.3 |
| static constexpr double | LEVEL_QUANTILE = 0.25 |
The world has two divisions per country; players nobody signs drop below them (lower leagues, abroad) or stop playing. From September to May an unsigned free agent leaves the world with a monthly chance by age, scaled by his level against the weakest quarter of second-tier players. [P: most players released in the summer and still unsigned after the window sign at a lower level within the season]
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
28-31.
|
staticconstexpr |
22-27.
|
staticconstexpr |
32 and older.
|
staticconstexpr |
Up to 21.
|
staticconstexpr |
Level gap (overall points) that counts as clearly above/below.
|
staticconstexpr |
Share of second-tier senior players below the reference level.
|
staticconstexpr |
|
staticconstexpr |
Prospects (21 or younger, potential this far above the level) are kept in the pool for clubs to find.