Try this


 

Posted by Slayer X (209.218.159.*) on May 07, 1999 at 20:31:40:

In Reply to: Does anyone know how to modify the players jump height? posted by cr0tan on May 07, 1999 at 19:19:13:

I'm not sure if it's in the 3.20 source but in the CTF source in g_combat.c in T_Damage
there should be a comment saying something about a rocket jump hack. Basically it adds mor velocity to the player so they can jump higher with a rocket jump. There is a statement in p_client.c that says:


if (ent->groundentity && !pm.groundentity && (pm.cmd.upmove >= 10) && (pm.waterlevel == 0))
{
      gi.sound(ent, CHAN_VOICE, gi.soundindex("*jump1.wav"), 1, ATTN_NORM, 0);
      PlayerNoise(ent, ent->s.origin, PNOISE_SELF);
}

if you do something to add to the player's velocity in here it will make them jump higher.
That's how I did it anyway. You should be able to figure out something if you stare at the roucket jump hack thing long enough.


Slayer X