For now, jumping in ET depends on the sprint-energy. But i want to change it, to have more a Q3 style jumping. More jumping equals more speed etc. To not allow client hacks, the server keeps track of the energy etc. so i looked in bg_pmove and found this
// don't allow if player tired
// if (pm->pmext->sprintTime < 2500) // JPW pulled this per id request; made airborne jumpers wildly inaccurate with gunfire to compensate
// return qfalse;
// jpw
This piece at least shows that in static qboolean PM_CheckJump( void ) it used tol check the energy, but they moved the check somewhere else. But i couldnt find the code that is actually done when jumping.
Does anyone know?
ignition
(I think it’s the same what Lanz means)