Class Custom in game not working!

General support.
User avatar
jony12
Contributor
Contributor
Posts: 223
Joined: Mon Sep 24, 2018 12:46 pm

Lovatto wrote:Yes, this a error, to fix it simple replace this code in bl_RoomMenu.cs -> public void ChangeClass(int m_class) Line 254 (by default)
Change:

Code: Select all

 if (FindObjectOfType<bl_ClassManager>() != null)
        {
            bl_ClassManager.Instance.m_Class = PlayerClass;
        }
for:

Code: Select all

  bl_ClassManager.Instance.m_Class = PlayerClass;
that will fix it.

That fix is working fine for me.
User avatar
polash
Contributor
Contributor
Posts: 22
Joined: Sat Feb 20, 2016 12:12 pm

Yes it happens not always.. when i shoot a player he dies but dont show any notification.

And sometimes after fall damage/ in case die i player cant respawn. I have added a new map since then fall/respawn problem has got. But still problems with notification.

I also wanted to ask when score is called, i want add some money (int velue)
User avatar
jony12
Contributor
Contributor
Posts: 223
Joined: Mon Sep 24, 2018 12:46 pm

I have another problem with Class Customization, Lovatto can you tell me why in the game ranks randomly the weapons.
I've arranged them as I want them to be in the file BL_Gun Manager, BL_ClassCustomize, but it shows them different.
I apologize for my bad English.

BL_Gun Manager
https://ibb.co/Bf55Cdv

BL_ClassCustomize
https://ibb.co/JC1bcJj

In Game
https://ibb.co/Bff14ZD
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

1 - When you use Class Customization the player class from bl_GunManager is useless because the class are setup in bl_ClassManager,
2- from the second screenshot: in these list you don't setup the player classes, you set the weapons that will be available to select in the class, the order doesn't matter.
3 - The default weapons are set in bl_ClassManager.cs, but note that the default weapons only work the first time that load the game, after this the weapons will be loaded from playerprefs.
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply