This is really simple code. SOmeone way find use of it!
It allows you to set different jump heights in different maps.
Search for
add below
You can change the MapID and the height of the jump. Like I said simple! Maybe good or useless. Depends on how you use it.
Enjoy
---------------UPDATED--------------
Small bug fix: The game things you are cheating when you hand in the air for too long.
Search for : m_PlayerFlyingAntiCheatTimer >
Change to m_PlayerFlyingAntiCheatTimer > 10.0f
Works fine for me.
If people are using the code and thinking it doesnt work. You have to hold V then jump using space to use the different jump height.
It allows you to set different jump heights in different maps.
Search for
Code:
JumpVelocity = 17;
add below
Code:
if (Keyboard->IsPressed(kbsV) && (gClientLogic().m_gameInfo.mapId==GBGameInfo::MAPID_WZ_Colorado)) { uberAnim_->StartJump(); JumpVelocity = 20; }
You can change the MapID and the height of the jump. Like I said simple! Maybe good or useless. Depends on how you use it.
Enjoy
---------------UPDATED--------------
Small bug fix: The game things you are cheating when you hand in the air for too long.
Search for : m_PlayerFlyingAntiCheatTimer >
Change to m_PlayerFlyingAntiCheatTimer > 10.0f
Works fine for me.
If people are using the code and thinking it doesnt work. You have to hold V then jump using space to use the different jump height.
Last edited: