Quantcast
Channel: RaGEZONE - MMO Development Forums
Viewing all articles
Browse latest Browse all 29939

[TUTORIAL] Alpha recoil. so simple. not needed 5555 line *-*

$
0
0
Search:
Quote:

// in prone, have recoil snap back to original aim
Change to:
Quote:

// in prone, have recoil snap back to original aim /*if(PlayerState>=PLAYER_MOVE_PRONE && PlayerState<=PLAYER_PRONE_IDLE) {*/ RecoilViewModTarget.y += recoil * u_GetRandom(0.85f, 1.75f); if(RecoilViewModTarget.y > GPP->c_MaxVerticalRecoil) // limit how much gun goes up { RecoilViewModTarget.y = u_GetRandom(GPP->c_MaxVerticalRecoil*0.95f, GPP->c_MaxVerticalRecoil*1.1f); } RecoilViewModTarget.x += recoil*u_GetRandom(-0.15f, 0.3f); // + to a side /*} else // otherwise player has to put aim back manually { PermRecoilViewMod.y += recoil * u_GetRandom(0.85f, 1.75f); if(PermRecoilViewMod.y > GPP->c_MaxVerticalRecoil) // limit how much gun goes up { PermRecoilViewMod.y = u_GetRandom(GPP->c_MaxVerticalRecoil*0.95f, GPP->c_MaxVerticalRecoil*1.1f); } PermRecoilViewMod.x += recoil*u_GetRandom(-0.15f, 0.3f); // + to a side }*/
ITS FINISHED!.

Sorry ragezone quote box bugged :/

Make This:



Viewing all articles
Browse latest Browse all 29939

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>