mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-14 02:32:38 +00:00
Merge branch 'tighter-rubberband' into 'master'
Bot difficulty tweaks, again See merge request KartKrew/Kart!1988
This commit is contained in:
commit
09d2644241
1 changed files with 4 additions and 4 deletions
|
|
@ -577,17 +577,17 @@ fixed_t K_BotRubberband(const player_t *player)
|
|||
const fixed_t difficultyEase = ((player->botvars.difficulty - 1) * FRACUNIT) / (MAXBOTDIFFICULTY - 1);
|
||||
|
||||
// Lv. 1: x0.65 avg
|
||||
// Lv. MAX: x1.1 avg
|
||||
// Lv. MAX: x1.05 avg
|
||||
const fixed_t rubberBase = Easing_OutSine(
|
||||
difficultyEase,
|
||||
FRACUNIT * 65 / 100,
|
||||
FRACUNIT * 11 / 10
|
||||
FRACUNIT * 105 / 100
|
||||
);
|
||||
|
||||
// +/- x0.25
|
||||
// +/- x0.35
|
||||
const fixed_t rubberStretchiness = FixedMul(
|
||||
FixedDiv(
|
||||
FRACUNIT / 4,
|
||||
35 * FRACUNIT / 100,
|
||||
K_GetKartGameSpeedScalar(gamespeed)
|
||||
),
|
||||
K_BotMapModifier()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue