networking example - question about gui buttons

we have downloaded the networking example where you see other lerpz character. we can connect and we are happy with that. we want to take out the buttons such as “car racing”, “TPS-Auth”, “Castles” and try to build and learn with the example.

here is a screen capture, the buttons in the red box i want to take out.

i looked for many hours and i cannot find it?

please anyone have an idea on this?

maybe i am underestimating this unity app. is what i am asking for not possible?

garagegames torque comes with documentation and lots of books about the fps that comes with full multiplayer but i dont see that with unity?

does unity have a true multiplayer fps or is this lerpz networking example the best that is available? its good but to me not as good as torque. i hope in time it will get better.

leepo has a very good tutorial on networking and is a great start.

peace :smile:

It is very possible, but first you have to spend time understanding that demo. It is in many components, and the Network GUI interface is one such component, remember GUI elements are generated at run time, so you don’t see them until you click play. That said, you simply need to find the GUI code and get rid of the buttons in the code block.

The networking example is advanced and not basic, so it assumes you already have knowledge of Unity GUI, scenese, loading levels, there are quiet a few assumptions taken into consideration when you open that project.

I am sure it’s possible.

I’m working on the Lerpz example as well. I’ve gotten it to do the basic such as pickups, fire, bullets, explosions and connect via lan.

However, the networking part is a bit of a challenge for me as well. So far, I am getting a good sense of Unity based networking and multi-player. The principles are the same as Torque, from master server to slave and clients.

I haven’t tried to customize the Lerpz example but will probably use that as a prototype for a test game I am making. I know that screen, I’ll poke around and see what I can find for you.

thank you for your replies. i think i am needing a break and rest. it is frustrating me :cry:

Ok, I just had a quick look and you need to update the Network Level Load script. Try this:

  1. Open up the networking example you’re working with.

  2. Open the loader.unity scene file. It will load the scene file and you will see just a gray scene and if you have the game window open and cyan screen.

  3. In the Hierachy tab, click on the ConnectGUI object. It’s just above the Main Camera. You should see the components tied to that gameobject in the Inspector tab.

  4. Find the Network Level Load (Script) component. You will see “Supported Network Levels”. To the left of that is an arrow. Click on the arrow and it will open up to show a set of array elements.

  5. You should see Element 0, Element 1, Element 2, Element 3. Those correspond to the the buttons. If you change the Size to 1, then it will get rid of the other buttons that would effectively load the scenes.

Try it out and good luck!