|
Player12
An open source football management simulator
|
#include <match_render_3d_tuning.h>
Static Public Attributes | |
| static constexpr float | ANKLE_HEIGHT = 0.085f |
| static constexpr float | TOE_LENGTH = 0.15f |
| static constexpr float | MAX_HEEL_ANGLE = 1.05f |
| static constexpr float | SWING_TOE_DROP = 0.35f |
| static constexpr float | MAX_PELVIS_DROP = 0.09f |
| static constexpr float | RUN_CROUCH = 0.05f |
| static constexpr float | STANCE_WIDTH = 0.11f |
| static constexpr float | FRONT_REACH = 0.32f |
| static constexpr float | WALK_LIFT = 0.07f |
| static constexpr float | SPRINT_LIFT = 0.32f |
| static constexpr float | MAX_DRIFT = 0.55f |
| static constexpr float | IDLE_STEP_METRES = 0.22f |
| static constexpr float | IDLE_STEP_SECONDS = 0.22f |
| static constexpr float | IDLE_GAIT_SPEED = 0.6f |
| static constexpr float | DIRECTION_RATE = 10.0f |
| static constexpr float | FAR_PIXELS = 30.0f |
| static constexpr float | JUMP_REACH = 1.6f |
| static constexpr float | MAX_JUMP = 0.5f |
| static constexpr float | JUMP_RATE = 9.0f |
| static constexpr float | HEADER_MIN_BALL = 1.3f |
| static constexpr float | HEADER_MAX_BALL = 3.4f |
| static constexpr float | JUMP_TUCK = 0.85f |
| static constexpr float | JUMP_GATHER = 0.4f |
| static constexpr float | TACKLE_COOLDOWN_RISE = 0.5f |
| static constexpr float | TACKLE_SECONDS = 0.5f |
| static constexpr float | TACKLE_LEAN = 0.35f |
| static constexpr float | TACKLE_HIP_DROP = 0.14f |
| static constexpr float | SLIDE_DISTANCE = 1.5f |
| static constexpr float | SLIDE_SPEED = 4.2f |
| static constexpr float | SLIDE_SECONDS = 1.1f |
| static constexpr float | SLIDE_PELVIS = 0.3f |
| static constexpr float | SLIDE_LEAN = -0.75f |
| static constexpr float | SLIDE_LEG_REACH = 0.85f |
| static constexpr float | SLIDE_TUCK_REACH = 0.25f |
| static constexpr float | LUNGE_FREE = 0.45f |
| static constexpr float | LUNGE_MAX = 0.45f |
| static constexpr float | THROW_PICKUP_METRES = 1.6f |
| static constexpr float | THROW_SECONDS = 0.45f |
| static constexpr float | THROW_WHIP_SECONDS = 0.16f |
| static constexpr float | THROW_GRIP_UP = 0.2f |
| static constexpr float | THROW_GRIP_BACK = -0.12f |
| static constexpr float | THROW_RELEASE_FORWARD = 0.38f |
| static constexpr float | HAND_GRIP_HALF = 0.1f |
| static constexpr float | KEEPER_GRIP_DOWN = 0.12f |
| static constexpr float | KEEPER_GRIP_FORWARD = 0.24f |
| static constexpr float | MIN_BULK = 0.94f |
| static constexpr float | MAX_BULK = 1.07f |
Procedural skeleton: foot planting, the pelvis over the planted feet, jumps, tackles and throw-ins, and the level of detail.
|
staticconstexpr |
Ankle above the grass with the boot flat.
|
staticconstexpr |
Direction of travel smoothing (1/s).
|
staticconstexpr |
Below this projected height a player is a few flat strokes.
|
staticconstexpr |
A foot is put down at most this far ahead of its hip.
|
staticconstexpr |
Half the gap between the hands on a held ball.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Smoothed gait speed below which a player counts as standing.
|
staticconstexpr |
Standing: a foot steps once the body is this far off it.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Jumping for a high ball within this distance (m), up to MAX_JUMP.
|
staticconstexpr |
In the air the feet rise this share of the jump and gather in.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
A ball further than LUNGE_FREE (m) at a strike or block pulls the body towards it by up to LUNGE_MAX.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
A planted foot this far off its gait spot is put down again.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
The pelvis sinks at most this much to keep a front foot planted.
|
staticconstexpr |
Builds vary between these width factors.
|
staticconstexpr |
Running crouch at full stride (m).
|
staticconstexpr |
Challenges from further out (m) or faster (m/s) go to ground.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Half the distance between the feet at rest (m, per 1.80 m).
|
staticconstexpr |
Toes drop by this share while a foot swings through the air.
|
staticconstexpr |
A cooldown rise above this (s) marks a challenge.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Throw-ins: the taker holds the ball overhead near the spot.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Ankle to the ball of the foot: the heel lifts around this point.
|
staticconstexpr |
Swing foot clearance walking and at full stride.