MFPS Recoil Bug?

Report errors found in any assets.

User avatar
Rafy 0213
New Member
New Member
Posts: 6
Joined: Wed Sep 05, 2018 5:24 am

MFPS Recoil Bug?

Postby Rafy 0213 » Wed Sep 05, 2018 5:27 am

https://gyazo.com/6b5e3c6efd0e317476f1903ae5da79f6

My own mistake? or Bug?

User avatar
Lovatto
Admin
Admin
Posts: 1028
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Re: MFPS Recoil Bug?

Postby Lovatto » Wed Sep 05, 2018 1:03 pm

you have made any change?

User avatar
Rafy 0213
New Member
New Member
Posts: 6
Joined: Wed Sep 05, 2018 5:24 am

Re: MFPS Recoil Bug?

Postby Rafy 0213 » Wed Sep 05, 2018 3:21 pm

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

User avatar
Lovatto
Admin
Admin
Posts: 1028
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Re: MFPS Recoil Bug?

Postby Lovatto » Wed Sep 05, 2018 7:32 pm

yes, this is a error, let me work on it.

User avatar
Rafy 0213
New Member
New Member
Posts: 6
Joined: Wed Sep 05, 2018 5:24 am

Re: MFPS Recoil Bug?

Postby Rafy 0213 » Wed Sep 05, 2018 11:04 pm

I got it. Thank you
When can fix the error?

User avatar
Lovatto
Admin
Admin
Posts: 1028
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Re: MFPS Recoil Bug?

Postby Lovatto » Thu Sep 06, 2018 11:52 am

in bl_Gun.cs replace the line 419:

Code: Select all

  isFiring = (FireButton && m_CanFire);

for this

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);
                    }
                }

and add this function anywhere:

Code: Select all

 void CancelFiring() { isFiring = false; }

Return to “Bug Report”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest