Jump to content

Jump 4


Go to solution Solved by GamingPrince83,

Recommended Posts

  • Solution
Posted

I only know how to edit 1, 2 and 3. It's in Wp_saber.cpp, if you want to add 4 and 5 you have to do some extra coding.

float forceJumpHeight[NUM_FORCE_POWER_LEVELS] =
{
	32,//normal jump (+stepheight+crouchdiff = 66) 
	96,//(+stepheight+crouchdiff = 130)
	192,//(+stepheight+crouchdiff = 226)
	384//(+stepheight+crouchdiff = 418)
};

ooeJack likes this
Posted

 

I only know how to edit 1, 2 and 3. It's in Wp_saber.cpp, if you want to add 4 and 5 you have to do some extra coding.

float forceJumpHeight[NUM_FORCE_POWER_LEVELS] =
{
	32,//normal jump (+stepheight+crouchdiff = 66) 
	96,//(+stepheight+crouchdiff = 130)
	192,//(+stepheight+crouchdiff = 226)
	384//(+stepheight+crouchdiff = 418)
};

But don't I also have to change the JUMP_VELOCITY in bg_public.h?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...