The New Order Posted April 21, 2017 Share Posted April 21, 2017 Hello, is there any way I can change the code to make me jump higher? Like Jump 4 or 5? Link to comment
Solution GamingPrince83 Posted April 21, 2017 Solution Share Posted April 21, 2017 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 Link to comment
The New Order Posted April 21, 2017 Author Share Posted April 21, 2017 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? Link to comment
GamingPrince83 Posted April 21, 2017 Share Posted April 21, 2017 But don't I also have to change the JUMP_VELOCITY in bg_public.h?I forgot to ask, is it for SP or MP? Link to comment
The New Order Posted April 21, 2017 Author Share Posted April 21, 2017 I forgot to ask, is it for SP or MP? SP, I figured it out, thanks for the help! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now