]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/bot.qc
improve jumpvelocity based formula
[xonotic/xonotic-data.pk3dir.git] / 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()