https://gyazo.com/6b5e3c6efd0e317476f1903ae5da79f6
My own mistake? or Bug?
MFPS Recoil Bug?
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- Rafy 0213
- New Member
- Posts: 6
- Joined: Wed Sep 05, 2018 5:24 am
The recoil will not be restored unless me release the mouse
I am Japanese, I do not really understand English
So I will use Google translation
sorry..
https://gyazo.com/8cc84503456bebfe0cb75dfc18192b29
https://gyazo.com/578b17aec02dcd707a3d3fd5249a336f
I am Japanese, I do not really understand English
So I will use Google translation
sorry..
https://gyazo.com/8cc84503456bebfe0cb75dfc18192b29
https://gyazo.com/578b17aec02dcd707a3d3fd5249a336f
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
in bl_Gun.cs replace the line 419:
for this
and add this function anywhere:
Code: Select all
isFiring = (FireButton && m_CanFire);
Code: Select all
if (Info.Type == GunType.Machinegun)
{
isFiring = (FireButton && m_CanFire); // fire is down, gun is firing
}
else
{
if (FireButtonDown && m_CanFire)
{
isFiring = true;
CancelInvoke("CancelFiring");
Invoke("CancelFiring", Info.FireRate);
}
}
Code: Select all
void CancelFiring() { isFiring = false; }