SkreamerVirii
Administrator
Full Member
Posts: 133
|
|
« on: September 03, 2008, 11:16:41 PM » |
|
In this tutorial iwill show you how to Diable the the Jump Delay and then be able to jump like we did back in the q3 day
So To begin set your project to game and open up bg_pmove.c and find line 472 and you should find this code /* ============= PM_CheckJump ============= */ static qboolean PM_CheckJump( void ) { // JPW NERVE -- jumping in multiplayer uses and requires sprint juice (to prevent turbo skating, sprint + jumps) if (pm->gametype != GT_SINGLE_PLAYER) { // don't allow jump accel if (pm->cmd.serverTime - pm->ps->jumpTime < 850) return qfalse; // don't allow if player tired // if (pm->ps->sprintTime < 2500) // JPW pulled this per id request; made airborne jumpers wildly inaccurate with gunfire to compensate // return qfalse; } change it took like this
/* ============= PM_CheckJump ============= */ static qboolean PM_CheckJump( void ) { // JPW NERVE -- jumping in multiplayer uses and requires sprint juice (to prevent turbo skating, sprint + jumps) if (pm->gametype != GT_WOLF) { // don't allow jump accel //if (pm->cmd.serverTime - pm->ps->jumpTime < 850) //return qfalse; // don't allow if player tired // if (pm->ps->sprintTime < 2500) // JPW pulled this per id request; made airborne jumpers wildly inaccurate with gunfire to compensate // return qfalse; } There are actually 2 ways of doing this that was the first way the second way is to make it look like this /* ============= PM_CheckJump ============= */ static qboolean PM_CheckJump( void ) { // JPW NERVE -- jumping in multiplayer uses and requires sprint juice (to prevent turbo skating, sprint + jumps) if (pm->gametype != GT_WOLF) { // don't allow jump accel if (pm->cmd.serverTime - pm->ps->jumpTime < 850) return qtrue; // don't allow if player tired // if (pm->ps->sprintTime < 2500) // JPW pulled this per id request; made airborne jumpers wildly inaccurate with gunfire to compensate // return qfalse; by changing this if (pm->cmd.serverTime - pm->ps->jumpTime < 850) return qtrue; then you can modify the jumptime
|