From: Rudolf Polzer Date: Sun, 14 Aug 2011 15:12:24 +0000 (+0200) Subject: improve jumpvelocity based formula X-Git-Tag: xonotic-v0.5.0~148^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=110f0a1a278ceced4f397be7b87a737d331d1f0d;p=xonotic%2Fxonotic-data.pk3dir.git improve jumpvelocity based formula --- 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()