From 110f0a1a278ceced4f397be7b87a737d331d1f0d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 14 Aug 2011 17:12:24 +0200 Subject: [PATCH] improve jumpvelocity based formula --- qcsrc/server/bot/bot.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/bot/bot.qc b/qcsrc/server/bot/bot.qc index 9972999fc..ffa44090a 100644 --- a/qcsrc/server/bot/bot.qc +++ b/qcsrc/server/bot/bot.qc @@ -533,8 +533,8 @@ void bot_calculate_stepheightvec(void) { stepheightvec = autocvar_sv_stepheight * '0 0 1'; jumpstepheightvec = stepheightvec + - ((autocvar_sv_jumpvelocity * autocvar_sv_jumpvelocity) / (2 * autocvar_sv_gravity)) * '0 0 0.9'; - // 0.9 factor is for safety to make the jumps always work + ((autocvar_sv_jumpvelocity * autocvar_sv_jumpvelocity) / (2 * autocvar_sv_gravity)) * '0 0 0.75'; + // 0.75 factor is for safety to make the jumps easy } void bot_serverframe() -- 2.39.2