Player Selector

Add-Ons for MFPS.
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

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:
User avatar
Snow
Contributor
Contributor
Posts: 51
Joined: Sat Jan 03, 2015 10:23 am
Contact:

I just ordered this and a few other things, how do I download them?
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

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.
User avatar
Snow
Contributor
Contributor
Posts: 51
Joined: Sat Jan 03, 2015 10:23 am
Contact:

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.
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

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.
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Version 1.1

Fix: After die never re spawn
Fix: When suicide, player selector appear again.
User avatar
skittlez
Contributor
Contributor
Posts: 19
Joined: Sat Dec 09, 2017 6:14 pm

Hey is this compatible with MFPS 2.0? Upon import i seem to get errors and i can't run my game anymore.
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Yes, it is please be sure that you downloaded the MFPS 2.0 version.
User avatar
skittlez
Contributor
Contributor
Posts: 19
Joined: Sat Dec 09, 2017 6:14 pm

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
User avatar
Lovatto
Admin
Admin
Posts: 1558
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

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
Post Reply