Page 1 of 4

Player Selector

Posted: Tue Mar 07, 2017 4:08 pm
by Lovatto
Image

With the integration of this add-on for MFPS enables a menu to select the player you want to play with.
After selecting the team (in game modes per team) a menu appears to select the player model.

Features:

– Easy integration
– You can add as many players as you want
– Full UGUI Menu
– Easy addition of new players
– Drag and Drop menu canvas
– Horizontal Scrollview
– Player preview sprites.
– Per Team selection
– FFA selection

PURCHASE ON ONLINE STORE:

Re: Player Selector

Posted: Tue Mar 07, 2017 8:47 pm
by Snow
I just ordered this and a few other things, how do I download them?

Re: Player Selector

Posted: Tue Mar 07, 2017 9:17 pm
by Lovatto
Snow wrote:I just ordered this and a few other things, how do I download them?
Hi,

you should receive a email after the purchase with the invoice, there are the download link of each addons,
also you can download from your profile in the website.

Best Regards.

Re: Player Selector

Posted: Tue Mar 07, 2017 9:26 pm
by Snow
Lovatto wrote:
Snow wrote:I just ordered this and a few other things, how do I download them?
Hi,

you should receive a email after the purchase with the invoice, there are the download link of each addons,
also you can download from your profile in the website.

Best Regards.

Your site is down.

Re: Player Selector

Posted: Tue Mar 07, 2017 9:54 pm
by Lovatto
Sorry I was updating the core of site, anyway I have send you the links to download by PM.

Sorry for the inconveniences,
Best Regards.

Re: Player Selector

Posted: Fri Apr 07, 2017 2:19 pm
by Lovatto
Version 1.1

Fix: After die never re spawn
Fix: When suicide, player selector appear again.

Re: Player Selector

Posted: Mon Dec 18, 2017 11:02 am
by skittlez
Hey is this compatible with MFPS 2.0? Upon import i seem to get errors and i can't run my game anymore.

Re: Player Selector

Posted: Mon Dec 18, 2017 11:17 am
by Lovatto
Yes, it is please be sure that you downloaded the MFPS 2.0 version.

Re: Player Selector

Posted: Mon Dec 18, 2017 11:19 am
by skittlez
i did but i get the following error when integrating into my maps :

Assets/MFPS/Scripts/Network/bl_GameManager.cs(183,69): error CS1501: No overload for method `GetSpawn' takes `1' arguments

Re: Player Selector

Posted: Mon Dec 18, 2017 12:01 pm
by Lovatto
You are right, this is a error with the code, for fix replace this function: SpawnSelectedPlayer(bl_PlayerSelectorInfo info,Team t_team) (bl_GameManager.cs 166 - 200)
with this:

Code: Select all

#if PSELECTOR
     /// <summary>
    /// 
    /// </summary>
    public void SpawnSelectedPlayer(bl_PlayerSelectorInfo info,Team t_team)
    {
        Vector3 pos;
        Quaternion rot;
        if (t_team == Team.Recon)
        {
            GetSpawn(ReconSpawnPoint.ToArray(), out pos, out rot);
            OurPlayer = PhotonNetwork.Instantiate(info.Prefab.name, pos, rot, 0);
        }
        else if (t_team == Team.Delta)
        {
            GetSpawn(DeltaSpawnPoint.ToArray(), out pos, out rot);
            OurPlayer = PhotonNetwork.Instantiate(info.Prefab.name, pos, rot, 0);
        }
        else
        {
            GetSpawn(AllSpawnPoints.ToArray(), out pos, out rot);
            OurPlayer = PhotonNetwork.Instantiate(info.Prefab.name, pos, rot, 0);
        }

        this.GetComponent<bl_ChatRoom>().Refresh();
        m_RoomCamera.gameObject.SetActive(false);
        StartCoroutine(bl_RoomMenu.FadeOut(1));
        bl_UtilityHelper.LockCursor(true);
        Joined = true;

        EnterInGamePlay = true;
        bl_EventHandler.PlayerLocalSpawnEvent();
        bl_UCrosshair.Instance.Show(true);
    }
#endif