|
Player12
An open source football management simulator
|
#include <match_tuning.h>
Static Public Attributes | |
| static constexpr float | DEFAULT_ATTRIBUTE = 0.5f |
| static constexpr float | RATING_SCALE = 100.0f |
| static constexpr float | ATTRIBUTE_PIVOT = 0.66f |
| static constexpr float | ATTRIBUTE_CONTRAST = 3.6f |
| static constexpr float | REFERENCE_LEVEL = 0.65f |
| static constexpr float | LEVEL_NORMALISATION = 0.7f |
| static constexpr float | LEVEL_FINISHING_GAIN = 2.5F |
| static constexpr float | ELITE_FINISHING_GAIN = 1.0f |
| static constexpr float | MIN_LEVEL_PRECISION = 0.6f |
| static constexpr float | ATTRIBUTE_SATURATION = 0.38f |
| static constexpr float | MIN_ATTRIBUTE = 0.02f |
| static constexpr float | TOP_SPEED_BASE = 7.4f |
| static constexpr float | TOP_SPEED_PACE = 2.6f |
| static constexpr float | ACCELERATION_BASE = 5.7f |
| static constexpr float | ACCELERATION_PACE = 1.6f |
| static constexpr float | ACCELERATION_PHYSICALITY = 0.6f |
| static constexpr float | BRAKING_BASE = 6.0f |
| static constexpr float | BRAKING_PHYSICALITY = 2.0f |
| static constexpr float | LATERAL_ACCELERATION_SLOW = 9.0f |
| static constexpr float | LATERAL_ACCELERATION_FAST = 5.5f |
| static constexpr float | ARRIVAL_DECELERATION = 2.0f |
| static constexpr float | ARRIVAL_DEAD_ZONE_METRES = 0.35f |
| static constexpr float | FACING_TURN_RATE_RADIANS = 9.0f |
| static constexpr float | MOVEMENT_FACING_THRESHOLD = 0.3f |
| static constexpr float | MINIMUM_STAMINA = 0.35f |
| static constexpr float | FATIGUE_TOP_SPEED_LOSS = 0.14f |
| static constexpr float | FATIGUE_ACCELERATION_LOSS = 0.06f |
| static constexpr float | FATIGUE_WORK_RATE_LOSS = 0.12f |
| static constexpr float | EMPTY_RESERVE_TOP_SPEED = 0.80f |
| static constexpr float | HOLD_SHAPE_SPEED_SCALE = 0.36f |
| static constexpr float | CARRY_BALL_SPEED_SCALE = 0.60f |
| static constexpr float | SUPPORT_SPEED_SCALE = 0.46f |
| static constexpr float | ATTACKING_RUN_SPEED_SCALE = 0.95f |
| static constexpr float | PRESS_SPEED_SCALE = 0.88f |
| static constexpr float | COVER_SPEED_SCALE = 0.55f |
| static constexpr float | MARKING_SPEED_SCALE = 0.52f |
| static constexpr float | RECOVERY_SPEED_SCALE = 0.58f |
| static constexpr float | GOALKEEPER_MOVEMENT_SPEED_SCALE = 0.7f |
| static constexpr float | RESTART_WALK_SPEED_SCALE = 0.22f |
| static constexpr float | URGENCY_DISTANCE_METRES = 25.0f |
| static constexpr float | MAX_URGENCY_SPEED_SCALE = 0.56f |
| static constexpr float | TACTICAL_TARGET_RESPONSE_PER_SECOND = 1.8f |
| static constexpr float | URGENT_TARGET_RESPONSE_PER_SECOND = 4.5f |
| static constexpr float | FAMILIARITY_RESPONSE_LOSS = 0.3f |
| static constexpr float | MINIMUM_BODY_SEPARATION_METRES = 0.8f |
| static constexpr float | BODY_SEPARATION_SHARE = 0.5f |
| static constexpr float | BODY_COLLISION_VELOCITY_RETAINED = 0.9f |
| static constexpr float | SUBSTITUTION_SETTLE_SECONDS = 1.5f |
| static constexpr float | MAX_LOOSE_BALL_LOOKAHEAD_SECONDS = 1.2f |
| static constexpr float | COVER_LOOSE_BALL_OFFSET = 0.055f |
| static constexpr float | PASS_RECEIVER_LOOKAHEAD_SECONDS = 0.8f |
| static constexpr float | MINIMUM_PURSUIT_SPEED = 1.4f |
| static constexpr float | CURRENT_VELOCITY_PURSUIT_WEIGHT = 0.55f |
| static constexpr float | MAX_COUNTED_STEP_SPEED = 13.0f |
Player kinematics: an in-situ acceleration-speed profile a(v) = A0 (1 - v / vmax) for speeding up, a stronger braking capacity and a speed-dependent lateral (centripetal) limit so sharp turns at speed force a player to slow down first.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Desired-speed approach to a target (comfortable deceleration).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Above the reference finishing improves more slowly.
|
staticconstexpr |
Top speed kept with an empty repeat-sprint reserve.
|
staticconstexpr |
|
staticconstexpr |
Response lost by a side with no familiarity with its tactics.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Tired players also choose to run less hard (work-rate loss).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Lateral acceleration a runner sustains at a standstill / top speed.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Teleports (restart repositioning) are not counted as running.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Two bodies of ~0.4 m radius cannot overlap.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
The absolute level of a match (mean raw outfield attribute of both elevens) is partly normalised toward the reference level before the stretch, so quality gaps decide as before but a weaker league does not turn into a shooting gallery; the level shows in finishing precision instead (per unit of raw level).
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Perception/intent lag: how quickly a moving target is followed.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Distance from the target at which a player runs at the urgency cap.
|
staticconstexpr |