From bb15fb97a15009cb08e7a556ddcdebf648775916 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 22 Jun 2011 11:04:03 +0200 Subject: [PATCH] explain why jumpvelocity 260 --- physicsX.cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/physicsX.cfg b/physicsX.cfg index 5cc6b52be..7a78d3726 100644 --- a/physicsX.cfg +++ b/physicsX.cfg @@ -15,6 +15,12 @@ sv_stepheight 26 // actually, what we want is 266.6666 for 180bpm // but 260 takes same amount of frames and is nicer to mappers +// jump height == sv_jumpvelocity^2 / (2*sv_gravity) +// in this case: 42.25 qu +// player: 24+45 qu +// total: 111.25qu +// this is smaller than 112 qu, so a 112 qu high corridor (7 of 8 grid units in +// the 16 grid, and the 8th unit used for wall/floor) just lets a player jump! sv_jumpvelocity 260 sv_wateraccelerate -1 sv_waterfriction -1 -- 2.39.2