mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'speed-assist-middleground' into 'master'
Speed Assist Middleground See merge request kart-krew-dev/ring-racers-internal!2847
This commit is contained in:
commit
f61e98c1a8
1 changed files with 3 additions and 3 deletions
|
|
@ -10249,9 +10249,9 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
average = firstRaw;
|
||||
}
|
||||
|
||||
UINT32 REALLY_FAR = average + 9000; // This far back, get max gain
|
||||
UINT32 TOO_CLOSE = average + 6000; // Start gaining here, lose if closer
|
||||
UINT32 WAY_TOO_CLOSE = average + 5000; // Lose at max rate here
|
||||
UINT32 REALLY_FAR = average + 9500; // This far back, get max gain
|
||||
UINT32 TOO_CLOSE = average + 6500; // Start gaining here, lose if closer
|
||||
UINT32 WAY_TOO_CLOSE = average + 5500; // Lose at max rate here
|
||||
|
||||
fixed_t MAX_GAIN_PER_SEC = FRACUNIT/20; // % assist to gain per sec when REALLY_FAR
|
||||
fixed_t MAX_LOSS_PER_SEC = FRACUNIT/5; // % assist to lose per sec when WAY_TOO_CLOSE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue