Announcement

Collapse
No announcement yet.

New Blueprint Networking Tutorial Videos Posted

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    New Blueprint Networking Tutorial Videos Posted

    Hello!

    We recently posted a brand-new 6-part series on multiplayer networking through blueprints.

    You can check them out here:
    Part I: Networking Basics
    A simple introduction to networking concepts and how to test/launch your game for network play.
    https://www.youtube.com/watch?v=TbaOyvWfJE0

    Part II: Actor and Variable Replication
    Walk-through of how to setup blueprint actors and variables for network play, as well as a look at networking-related iconography in blueprints.
    https://www.youtube.com/watch?v=ZsDRDAdtA9w

    Part III: Function Replication
    Walk-through of using function replication, when to use function vs. variable replication, and explanation of reliable vs. unreliable function calls.
    https://www.youtube.com/watch?v=wutqpyDKnCQ

    Part IV: Network Relevancy
    Explanation of what network relevancy is and why you need to know about it whenever making networked content.
    https://www.youtube.com/watch?v=6w8_eC5qlSs

    Part V: Adding Networked Features to 3rd Person Template - Part I
    Plan out the addition of some simple networked features to the blueprint 3rd person template and then setup the character blueprint according to the plan.
    https://www.youtube.com/watch?v=htdI2dh-aek

    Part VI: Adding Networked Features to 3rd Person Template - Part II
    Conclusion of adding simple networked features to the 3rd person template, including setting up a simple bomb blueprint.
    https://www.youtube.com/watch?v=Un7pGHb61Sc


    FAQ
    Q: When I follow along with the 3rd person template in parts V and VI, my client doesn't spawn in!
    This is unfortunately a bug that seems to have cropped up between the latest version and when I initially filmed the tutorials. The good news is that it should already be fixed in the upcoming 4.1 release. Sorry for the inconvenience in the meanwhile!

    EDIT: The root cause of this issue is related to collision between the characters trying to spawn at the same spot. Until 4.1 comes out, a work-around you can use is to move the server character out of the way, then swap to the client window, bring up the console (bound to the tilde key ` by default), and type "reconnect" without the quotes. Completely forgot about such a simple work-around until Youtube user "themxer14" brought it up, so much thanks to them!

    Q: Where can I get the tutorial content map used in parts II, III, and IV?
    We'll be releasing this map for free as part of the content examples in the future. It's not quite ready for distribution yet (needs some descriptions cleaned up, etc.), but we really wanted to make sure to get some info on blueprint networking out, so I jumped the gun on the videos before the map was all the way finished!

    Q: How can I easily change where the players spawn when they join?
    I totally overlooked this aspect while filming the tutorial, wanting to focus on replication, etc. As it turns out, this part of the process is not as easy as it should be right this second exclusively through blueprints. We're working to make this easier and add hooks for blueprints to choose starting spots in the future.


    Thanks for checking out the tutorials and feel free to hit me up here or on Twitter with feedback, questions, etc.! Special thanks to Zak for teaching me the ropes of filming a tutorial!
    Last edited by Irascible-; 04-16-2014, 10:29 PM.
    Lead Programmer (Gameplay), Fortnite, Epic Games
    Twitter: @EpicIrascible

    #2
    I just finished watching them all. Thanks for posting these. Even though I don't plan to do any networking in my project your videos where easy to follow and you can learn a lot from them. Thanks again

    Comment


      #3
      Billy, again, thanks for the tutorials. Truly super-awesome and have really helped me progress with my game.

      Originally posted by Billy Bramer View Post
      Q: How can I easily change where the players spawn when they join?
      I totally overlooked this aspect while filming the tutorial, wanting to focus on replication, etc. As it turns out, this part of the process is not as easy as it should be right this second exclusively through blueprints. We're working to make this easier and add hooks for blueprints to choose starting spots in the future.
      For those that are impatient, I cracked this particular nut with some hackery but it works well enough and could be extended fairly easily to handle teams, etc.:
      https://forums.unrealengine.com/show...ll=1#post12895


      Can't wait to use the 'real' solution :P

      Comment


        #4
        Thank you! Thank you! Thank you!

        Comment


          #5
          You guys are posting tutorials faster than I can learn them! (That's a good thing )

          Do you think you could do some C++ tutorials any time soon? I'm finding that area much harder to get documentation on, because everybody is excited about the blueprints. Not that blueprints or bad or anything, quite the contrary, but I still want to learn to do more advanced coding as well.
          Last edited by gregdumb; 04-16-2014, 01:16 AM.
          Fully dynamic Time of Day System blueprint: https://forums.unrealengine.com/show...e-of-Day-Setup Download it for free now!

          Comment


            #6
            Originally posted by Theron View Post
            I just finished watching them all. Thanks for posting these. Even though I don't plan to do any networking in my project your videos where easy to follow and you can learn a lot from them. Thanks again
            Thank you very much, glad to hear!

            Originally posted by Tom Shannon View Post
            Billy, again, thanks for the tutorials. Truly super-awesome and have really helped me progress with my game.



            For those that are impatient, I cracked this particular nut with some hackery but it works well enough and could be extended fairly easily to handle teams, etc.:
            https://forums.unrealengine.com/show...ll=1#post12895


            Can't wait to use the 'real' solution :P
            Also glad you found them helpful. As a gameplay programmer, most of my day-to-day work is in an already established project that is a hybrid of native C++ and blueprints, so I don't always personally know all the gotchas of setting all the pieces up in blueprint myself. The player spawn problem is a good example. We've been handling that in C++ in Fortnite, so I wasn't aware that could use some love in blueprint town until recently. The engine team is on the case though! I actually started an email thread today also about providing some thoughts on the forums re: pawn BP replication, because I see from your thread and some others that is causing some confusion vs. characters.

            Originally posted by Zortalas View Post
            Thank you! Thank you! Thank you!
            Quite welcome!

            Originally posted by gregdumb View Post
            You guys are posting tutorials faster than I can learn them! (That's a good thing )

            Do you think you could do some C++ tutorials any time soon? I'm finding that area much harder to get documentation on, because everybody is excited about the blueprints. Not that blueprints or bad or anything, quite the contrary, but I still want to learn to do more advanced coding as well.
            What kind of topics would you like to see C++ tutorials on? For me personally, I can never make up my mind which type of things for C++ would be helpful as a video tutorial vs. a blog post vs. an API document, etc., so suggestions of what you think would be helpful could help guide some things!
            Lead Programmer (Gameplay), Fortnite, Epic Games
            Twitter: @EpicIrascible

            Comment


              #7
              Epic is feeding us everyday with great and fresh content in both assets and learning materials. You guys obviously doing this in Epic way : ) For C++ tutorials, my first choose would some hybrid tutorial featuring C++ and Blueprints communication. I think video is not necessary for this tutorial. It can be a blog post or something like that. I would like to see how can i start a new project with basic things like instantiating actors, moving and destroying them, getting collisions and changing exposed parameters of actors etc. with C++ in UE4.
              SUMFX.net

              Chameleon Post ProcessSharp TextCamera TransitionsLOOK! Color Grading PackSciFi UI SoundsCensoredAnimated CrosshairsMinimalist Lower ThirdsCosmos - Procedural Space AssetsHitPoint

              Comment


                #8
                Hi Billy,

                I would like to thank you guys for the engine and for the great content and tutorials you are releasing, they are awesome!. About the C++ tutorials, I would really like to have a tutorial about inventorys, how to program the logic of an inventory in C++, a simple one, that would be great

                Regards,

                Raul

                Comment


                  #9
                  Originally posted by WetBass View Post
                  Epic is feeding us everyday with great and fresh content in both assets and learning materials. You guys obviously doing this in Epic way : ) For C++ tutorials, my first choose would some hybrid tutorial featuring C++ and Blueprints communication. I think video is not necessary for this tutorial. It can be a blog post or something like that. I would like to see how can i start a new project with basic things like instantiating actors, moving and destroying them, getting collisions and changing exposed parameters of actors etc. with C++ in UE4.
                  Originally posted by Unraul4 View Post
                  Hi Billy,

                  I would like to thank you guys for the engine and for the great content and tutorials you are releasing, they are awesome!. About the C++ tutorials, I would really like to have a tutorial about inventorys, how to program the logic of an inventory in C++, a simple one, that would be great

                  Regards,

                  Raul
                  Thanks for the suggestions, they are definitely helpful! Will forward them along to any of the engineers looking to do tutorial topics.
                  Lead Programmer (Gameplay), Fortnite, Epic Games
                  Twitter: @EpicIrascible

                  Comment


                    #10
                    Added in a simple work-around for the client spawning issue until 4.1 is released, thanks to Youtube user "themxer14" for reminding me!
                    Lead Programmer (Gameplay), Fortnite, Epic Games
                    Twitter: @EpicIrascible

                    Comment


                      #11
                      I've never understood networking before your videos Billy, and within two minutes of your first tutorial, I'm fully on board with the concept now
                      Excellent, clear and concise tutorials. Hats off to you
                      UE4 high res character modelling, rigging for facial and full body animation - HERE
                      Dave Saxon/AKA Lex Luthor Channel
                      Seek And Destroy Games Channel
                      Our Website here.
                      Download free animations here

                      Comment


                        #12
                        Hello,
                        Great networking tutorials, would be nice to have part 3 and 4 in c++.

                        Regards,

                        Marcel

                        Comment


                          #13
                          Thank you so much for this great tutorial, I can not wait to try it them we can get the Unreal Engine 4 Software
                          Make Love ! Not War and play..

                          Comment


                            #14
                            Been following the tutorials and in my project i am running into some weirdness.

                            1) When we run 2 clients and no dedicated server with our own player controller class, we see one player controller that is the child of a pawn??? the other is not?

                            2) The other Player Controller shows up three times in the scene outliner, and only one of the player controllers (there are 2 from 2 clients) is selectable?

                            3) We are calling a blueprint function that is replicated to run on the server to spawn an actor for each of our pawns, and we see three actors get spawned when there is only 2 clients and no dedicated server. In this function that is replicated to the server, we attempt to set a variable that is RepNotify, and the notify function is NOT getting called all 3 times (which may be related to the fact that there is 3 of them for some reason but i dont know).

                            Comment


                              #15
                              Originally posted by Billy Bramer View Post
                              Q: Where can I get the tutorial content map used in parts II, III, and IV?
                              We'll be releasing this map for free as part of the content examples in the future. It's not quite ready for distribution yet (needs some descriptions cleaned up, etc.), but we really wanted to make sure to get some info on blueprint networking out, so I jumped the gun on the videos before the map was all the way finished!
                              Just finished watching the tutorials and am really happy with how much better this is than UDK uscript replication, no more ugly replication block!

                              I cannot wait for those assets...
                              That ghost outline still appearing through the floor, kinda like L4D really caught my eye too.....

                              Comment

                              Working...
                              X