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 belowCode:JumpVelocity = 17;
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.Code:if (Keyboard->IsPressed(kbsV) && (gClientLogic().m_gameInfo.mapId==GBGameInfo::MAPID_WZ_Colorado)) { uberAnim_->StartJump(); JumpVelocity = 20; }
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.



Reply With Quote![[Simple-TUT]Set jump height by mapID](http://ragezone.com/hyper728.png)


