Jump to content
Josh

Network Test

Recommended Posts

This application should allow voice chat. Your own voice will be reflected back to you when running. You must have Steam running for this to work.

MultiplayerGame.zip

Start the application and select JOIN. You will see my server listed there and you can join.

  • Hold C for voice chat
  • Press Y to bring up the text chat window

Image1.thumb.jpg.e25c297e01ce8a60d4c4132982130689.jpg

 

  • Like 1
  • Upvote 2

Share this post


Link to post

Updated with a display of all player names, avatars, and an indicator when they are speaking.

Share this post


Link to post

Added some automatic pitching of the streamed voice to prevent choppy audio.

Share this post


Link to post

Updated with text chat and map loading. If you enter the game we should be able to see each other running around.

Share this post


Link to post

Fixed bug that made chat text not appear on screen.

Share this post


Link to post

I couldn't test it with you being my high latency internet. But I really like how it looks. Gives me a old school Source MP feel and it hits home for me.

When the template is done, I'll be sure to play with it. I have a home network I can test on. I can always reinstall LE on my Linux machine if my Win8 laptop can't handle it. 

Share this post


Link to post

One question, do you think I can continue with my forklift project? or would it be better to wait?

Share this post


Link to post
1 hour ago, Yue said:

One question, do you think I can continue with my forklift project? or would it be better to wait?

I don't understand this question or what it has to do with networking.

Share this post


Link to post

I understand it's time to wait.
On networking, thank you for that work in progress.

Share this post


Link to post

yue think you talking about the phyic and stuff you had problem if you update to 4.6 beta  you get the latest fix from josh that does 

 

josh this is looking good

 

Share this post


Link to post

The spring parameters I added are specifically to help with this.

Share this post


Link to post

The download is updated again. This is just about the final multiplayer template.

  • Widget styles are reworked. The BUTTON_OK and BUTTON_CANCEL styles are now used to make the menu code simpler.
  • Added smoothing to player movement
  • Added Window::Close() which is a cleaner way to end the program from inside the menu script.
  • The whole UI flows better now, escape and cancel keys can be used to navigate, bugs should be gone now.

Join me and test now!

Share this post


Link to post

What about client object drawing? For example with an fps, I don't want my player model to draw but I want people to see it and I want to see their player model. How would that be achieved?

Share this post


Link to post
2 hours ago, reepblue said:

What about client object drawing? For example with an fps, I don't want my player model to draw but I want people to see it and I want to see their player model. How would that be achieved?

The test is doing this right now, using cylinders. In an initialization message you could tell the other computers which model to use for your player model, and they can load and display it.

Share this post


Link to post

I found a setting that changes the distance the lobby search will go. So if you weren’t in North America, you might have not been able to see my lobby.

Share this post


Link to post

Updated with join and leave messages working.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Create Your Account

Sign in

Already have an account? Sign in here.

Sign In Now
×