What is special about the movement/gravity in that demo?
List desired attributes found there for a separate movement/gravity implementation here!?
Quoting upsidedownman.
It seems its connected to other functions that don't retain to the player movement.
Indeed, there are probably numerous dependencies found in that source (C-Script).
It might be easier to rewrite (in a modular fashion) what is desired, from scratch.
D. Lancaster's KHMovement was 'rewritten' (in Lite-C) recently
here.
That version may work OK (gravity/jump), but maybe more testing is needed for conformation.
(Generally, Lite-C is not used HERE.)