Americas Army 2:Different Recoil for Different Guns

From UnKnoWnCheaTs Game Hacking Wiki
Jump to: navigation, search

By: The 1337 Peon

Source

Heres a little tweak for your Norecoil.cpp file

//It was made by ....., and used in Coldfire 8.0, that what made the aimbot so good
//Must credit, either Arkan, or ...... if you want to put that in your code
//You need to change the recoil settings, because of the new patch

	//changed to double
	long int MoveX, MoveY;

	// **********: Per Weapon Recoil
	float xVal = -0.5f;
	float yVal = -0.9f;

	char *cW = GameInfo.m_WeaponsList[GameInfo.m_StatusWeapon].m_Name;
	if (strcmp(cW, "M16A2") || strcmp(cW, "M203"))
	{
		xVal = -0.5f;
		yVal = -0.9f;
	}
	if (strcmp(cW, "M249"))
	{
		xVal = -5.1f;
		yVal = -0.5f;
	}
	if (strcmp(cW, "M4A1"))
	{
		xVal = -0.45f;
		yVal = -0.7f;
	}
	if (strcmp(cW, "RPK"))
	{
		xVal = -0.9f;
		yVal = -1.2f;
	}
	if (strcmp(cW, "M82A1"))
	{
		xVal = -5.1;
		yVal = -0.5;
	}
	if (strcmp(cW, "M24") || strcmp(cW, "SVD") || strcmp(cW, "VSS") || strcmp(cW, "MOSIN"))
	{
		xVal = 0.0f;
		yVal = 0.0f;
	}

	MoveX = -(long)((AngleZ * GameInfo.m_WeaponsList[GameInfo.m_StatusWeapon].GetMouseMoveX()) - xVal);
	MoveY = -(long)((AngleX * GameInfo.m_WeaponsList[GameInfo.m_StatusWeapon].GetMouseMoveY()) - yVal);

Source: Here