From 91c70269f62dd9e63a540f23b0f29df3e3cc0783 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 23 Apr 2022 17:39:05 -0700 Subject: [PATCH] Tweak player physics to be closer to how 1.5 on WON feels. Disable airstepping. --- src/shared/pmove.h | 2 +- src/shared/pmove.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/pmove.h b/src/shared/pmove.h index 8a57fdc..bac8a3c 100644 --- a/src/shared/pmove.h +++ b/src/shared/pmove.h @@ -1,5 +1,5 @@ #define PMOVE_STEPHEIGHT 18 -#define PMOVE_AIRSTEPHEIGHT 18 +#define PMOVE_AIRSTEPHEIGHT 0 #define PMOVE_FRICTION 4 #define PMOVE_EDGEFRICTION 1 #define PMOVE_STOPSPEED 75 diff --git a/src/shared/pmove.qc b/src/shared/pmove.qc index ba7b08f..83b824e 100644 --- a/src/shared/pmove.qc +++ b/src/shared/pmove.qc @@ -147,6 +147,6 @@ player::Physics_Jump(void) } else { /* slow the player down a bit to prevent bhopping like crazy */ velocity *= 0.80f; - velocity[2] += 200; + velocity[2] += 260; } }