The New Order Posted April 21, 2017 Posted April 21, 2017 Hello, is there any way I can change the code to make me jump higher? Like Jump 4 or 5?
Solution GamingPrince83 Posted April 21, 2017 Solution 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
The New Order Posted April 21, 2017 Author 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?
GamingPrince83 Posted April 21, 2017 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?
The New Order Posted April 21, 2017 Author Posted April 21, 2017 I forgot to ask, is it for SP or MP? SP, I figured it out, thanks for the help!
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