Announcement

Collapse
No announcement yet.

Ongoing C++ Gameplay Example Series: Making a Survival Game

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

    Originally posted by Tom Looman View Post
    The wiki docs for Section 5 are up! It's all about networking using some practical examples

    https://wiki.unrealengine.com/Surviv...ame:_Section_5
    Very interesting!

    Could you elaborate the difference between the declaration UFUNCTION(Reliable, NetMulticast) and UFUNCTION(reliable, client)? From the description they seems to have the same behavior.

    Thank!

    Comment


      Originally posted by Kafu View Post
      Could you elaborate the difference between the declaration UFUNCTION(Reliable, NetMulticast) and UFUNCTION(reliable, client)?
      NetMulticast function is called on every client that connected to server.
      Client function is called only on the single client, which is actual owner of the actor

      Comment


        Originally posted by Druha View Post
        NetMulticast function is called on every client that connected to server.
        Client function is called only on the single client, which is actual owner of the actor
        Thanks, it makes sense!

        Comment


          Hey Tom I was wondering if the final version of this project will be using 4.8 ?

          Comment


            Originally posted by tarr_bot View Post
            Hey Tom I was wondering if the final version of this project will be using 4.8 ?
            Yes, I'll be upgrading to 4.8 soon.
            Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

            Comment


              Awesome! Thank you for all your hard work Tom! It's always a treat to check the github page to see whats new.

              Comment


                Just submitted a bunch of bug fixes to the github source
                Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                Comment


                  This is a really great resource, so many practical examples of features in a simple and well documented setting.

                  Thanks for this
                  Survival Game Dev Blog

                  Comment


                    Hi Tom! Thank you very much for sharing your job!

                    Can you explain please, how you made the post process material work? I don't seem to be able to do it I set the post process material, an instance that i associate with a post process volume (which is "unbound") and... nothing. Under the code, anytime I focus on an usable element I call the method for the mesh to perform post process (and the execution reaches the line)... has anyone been able to do it as well?

                    Thank you!

                    Comment


                      Originally posted by eshel View Post
                      Hi Tom! Thank you very much for sharing your job!

                      Can you explain please, how you made the post process material work? I don't seem to be able to do it I set the post process material, an instance that i associate with a post process volume (which is "unbound") and... nothing. Under the code, anytime I focus on an usable element I call the method for the mesh to perform post process (and the execution reaches the line)... has anyone been able to do it as well?

                      Thank you!
                      Do the meshes render into the custom depth buffer? Perhaps you can try reproducing the steps by creating a new level and doing the same thing (I don't see any obvious step you missed in your description) and using the weapon pick blueprint.

                      A tip for your project: drop a mesh into your level and check "Custom Depth" property on the staticmeshcomponent (and simulate/run the game) and see if the outline is drawn. If it's not, the problem if with your post process setup, otherwise it's with the item you're trying to focus.

                      - Tom
                      Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                      Comment


                        @Tom: Quick question ... not sure if I missed it ... but here goes.

                        When you created your base project, did you use a blank C++ template or the pre-existing FPS or TPS templates?

                        Basically I wanted to go through your code and add it step-by-step to a test project from scratch so I can get a more in-depth feel for UE4 C++. Thanks.
                        Quinton Delpeche
                        Founder - Gobbo Games | Designer - The Colony 2174 (Board Game) | Developer - Riders of Asgard

                        Comment


                          Originally posted by qdelpeche View Post
                          @Tom: Quick question ... not sure if I missed it ... but here goes.

                          When you created your base project, did you use a blank C++ template or the pre-existing FPS or TPS templates?

                          Basically I wanted to go through your code and add it step-by-step to a test project from scratch so I can get a more in-depth feel for UE4 C++. Thanks.
                          I used a blank C++ project to get started. Good luck!

                          One tip I might be able to give you is to use the branches on GitHub, so you can see a growth of code instead of getting it all in your face at once. Just depends on how you like to work I suppose

                          - Tom

                          (eg. https://github.com/tomlooman/EpicSur...tree/Section-1)
                          Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                          Comment


                            Originally posted by Tom Looman View Post
                            I used a blank C++ project to get started. Good luck!

                            One tip I might be able to give you is to use the branches on GitHub, so you can see a growth of code instead of getting it all in your face at once. Just depends on how you like to work I suppose

                            - Tom

                            (eg. https://github.com/tomlooman/EpicSur...tree/Section-1)
                            Thanks ... yeah basically I plan on starting a blank project then going through section one by reading your documentation and looking at the branch for section one. Once I am happy and comfortable I will then rinse and repeat with the other sections in sequence.

                            I am going to do it this way to understand UE4 C++ more clearly and see how you put the entire solution together, this will allow me to change it to my needs at the end of all the sections as I will understand the code better.

                            Thanks again for the awesome tutorial ... nice job. 8-}
                            Quinton Delpeche
                            Founder - Gobbo Games | Designer - The Colony 2174 (Board Game) | Developer - Riders of Asgard

                            Comment


                              Originally posted by qdelpeche View Post
                              Thanks ... yeah basically I plan on starting a blank project then going through section one by reading your documentation and looking at the branch for section one. Once I am happy and comfortable I will then rinse and repeat with the other sections in sequence.

                              I am going to do it this way to understand UE4 C++ more clearly and see how you put the entire solution together, this will allow me to change it to my needs at the end of all the sections as I will understand the code better.

                              Thanks again for the awesome tutorial ... nice job. 8-}
                              How about little competition?
                              I'm doing the same stuff to restore my c++ skills(I've forgotten almost everything during art and supergrid work D: ) and learn networking(Networking bugs are the most fun, can't ignore that!)
                              Something like "One multiplayer game a month"
                              Last edited by zeOrb; 06-22-2015, 07:20 AM.
                              SuperGrid: Marketplace Page | Feedback Thread | Demo | Website
                              Level design and prototyping for newbies

                              Comment


                                I just updated the player character in Section 6 with the new 4.8 character. You can find the latest source on Github: https://github.com/tomlooman/EpicSurvivalGameSeries

                                (Section 6 forums: https://forums.unrealengine.com/show...508#post317508 )

                                Click image for larger version

Name:	section6_newcharscoop01.jpg
Views:	1
Size:	402.7 KB
ID:	1080406
                                Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                                Comment

                                Working...
                                X