]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
improve jumpvelocity based formula
authorRudolf Polzer <divverent@xonotic.org>
Sun, 14 Aug 2011 15:12:24 +0000 (17:12 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 14 Aug 2011 15:12:24 +0000 (17:12 +0200)
qcsrc/server/bot/bot.qc

index 9972999fc40a1274bc02210a7e750347ff807833..ffa44090aabde06b5e95dae952053eb16e965c43 100644 (file)
@@ -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()