|
Player12
An open source football management simulator
|
#include <match_tuning.h>
Static Public Attributes | |
| static constexpr int | PHYSICS_SUBSTEPS = 5 |
| static constexpr float | JOG_SPEED_SHARE = 0.62f |
| static constexpr float | ACTION_BUFFER_SECONDS = 1.0f |
| static constexpr float | PASS_MIN_ALIGNMENT = 0.5f |
| static constexpr float | PASS_DISTANCE_WEIGHT = 0.006f |
| static constexpr std::array< float, 3 > | ASSIST_MIN_ALIGNMENT |
| static constexpr std::array< float, 3 > | ASSIST_COMPLETION_WEIGHT |
| static constexpr float | THROUGH_PROGRESS_WEIGHT = 0.012f |
| static constexpr float | THROUGH_RUNNER_BONUS = 0.25f |
| static constexpr float | THROUGH_LEAD_MIN_METRES = 5.0f |
| static constexpr float | THROUGH_LEAD_MAX_METRES = 16.0f |
| static constexpr float | SPACE_PASS_MIN_METRES = 10.0f |
| static constexpr float | SPACE_PASS_MAX_METRES = 30.0f |
| static constexpr float | SPACE_LOFT_MIN_METRES = 18.0f |
| static constexpr float | SPACE_LOFT_MAX_METRES = 45.0f |
| static constexpr float | DEFAULT_POWER = 0.55f |
| static constexpr float | SHOT_SPEED_MIN_SCALE = 0.72f |
| static constexpr float | SHOT_SPEED_POWER_GAIN = 0.42f |
| static constexpr float | SHOT_OVERPOWER_FROM = 0.75f |
| static constexpr float | SHOT_OVERPOWER_SPREAD = 0.55f |
| static constexpr float | SHOT_OVERPOWER_LIFT_METRES = 0.9f |
| static constexpr float | JOCKEY_SPEED_SHARE = 0.42f |
| static constexpr float | JOCKEY_CONTAIN_METRES = 2.5f |
| static constexpr float | JOCKEY_TAKE_ON_PENALTY = 0.08f |
| static constexpr float | MEET_PASS_LOOKAHEAD_SECONDS = 0.5f |
| static constexpr float | RELEASE_MOMENTUM_SECONDS = 0.6f |
| static constexpr float | SWITCH_HORIZON_SECONDS = 2.5f |
| static constexpr float | SWITCH_SAMPLE_SECONDS = 0.1f |
| static constexpr float | SWITCH_BALL_DECELERATION = 2.0f |
| static constexpr float | SWITCH_REACTION_SECONDS = 0.25f |
| static constexpr float | SWITCH_CURRENT_PREFERENCE_SECONDS = 0.35f |
| static constexpr float | SWITCH_GOAL_SIDE_BONUS_SECONDS = 0.2f |
External control of one player (play mode). The controlled player's body is integrated at a finer fixed rate than the AI step so a stick feels responsive; everything else keeps the common step.
|
staticconstexpr |
How long a pressed action waits for a chance to be performed.
|
staticconstexpr |
Weight of the pass's chance of arriving in picking the receiver.
|
staticconstexpr |
Aim cone (cosine) of a pass without, with normal and with strong assistance; index 1 is PASS_MIN_ALIGNMENT.
|
staticconstexpr |
Power of a tap (no hold), as a share of the bar.
|
staticconstexpr |
Goal-side gap kept to the carrier while jockeying (metres).
|
staticconstexpr |
Jockeying pace as a share of the fresh top speed.
|
staticconstexpr |
A patient, jockeying defender is harder to beat one against one.
|
staticconstexpr |
Run speed without the sprint button, as a share of top speed.
|
staticconstexpr |
With the stick idle the receiver of a pass moves to meet it, aiming this many seconds of ball travel ahead.
|
staticconstexpr |
... preferring nearer team-mates by this much per metre.
|
staticconstexpr |
A pass goes to the team-mate best aligned with the aim within this cosine (60 degrees) ...
|
staticconstexpr |
Kinematic sub-steps per fixed step for the controlled player (50 Hz).
|
staticconstexpr |
On hand-back the AI picks up the run where the momentum carries him (seconds of travel).
|
staticconstexpr |
Above this share of the bar the shot gets harder to keep down ...
|
staticconstexpr |
|
staticconstexpr |
... by up to this much extra spread and lift at a full bar.
|
staticconstexpr |
Shot pace scale: SHOT_SPEED_MIN_SCALE + SHOT_SPEED_POWER_GAIN * power.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Length of a pass into space along the stick (ground and lofted).
|
staticconstexpr |
Rough deceleration of a ball on the ground for the path (m/s^2).
|
staticconstexpr |
Head start of the current active footballer (hysteresis) and of a defender already goal-side of the ball.
|
staticconstexpr |
|
staticconstexpr |
Ball path looked at, and its sampling (seconds).
|
staticconstexpr |
Reaction before a team-mate sets off (seconds).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Space ahead of the receiver a through ball is played into, from a tap to a full bar (metres).
|
staticconstexpr |
A through ball prefers team-mates going forward (per metre gained) and those already running in behind.
|
staticconstexpr |