Announcement

Collapse
No announcement yet.

Announcing Section 5 of Survival Game - Networking your game

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

    Announcing Section 5 of Survival Game - Networking your game

    Section 5: Networking your game.

    Visit Project Page

    UPDATE: Wiki Docs are now available for this section!

    We're announcing the fifth section of the survival sample game today! The documentation will be available in about a week, in the meanwhile you can follow the progress by downloading the project through at GitHub.

    Features of this section include weapon improvements such as reloading and accuracy. Zombie damaging attacks and movable items to make the environment more dynamic.

    The documentation this section will focus on replicating data between server and clients to network your multiplayer games.



    Click image for larger version

Name:	survival_section5_movingobjects.jpg
Views:	1
Size:	169.3 KB
ID:	1150981

    Known Issues as of section 4
    • Rifle impacts never despawn.
    • Weapon rays are calculated from camera center instead of weapon, causing issues when enemies are close and a difference between server and client FX.
    • Bullet trail moves to 0,0,0 in worldspace.
    • Physics simulation is choppy on clients on dropped items.


    Visit Project Page

    UPDATE: Wiki Docs are now available for this section!
    Last edited by Tom Looman; 06-01-2015, 03:27 PM.
    Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

    #2
    Cannot wait!! This project is such a life saver!

    Will the known issues eventually be fixed?

    I noticed the weapon ray issue when I shoot at another player closer, for one person it looks like im hitting him but on the other screen the crosshair is not even on him
    Also particle spawn seems to not be perfectly synced like bullet hits on walls & blood sometimes they dont show on the other players screen
    & when I climb to an upper level a random AI spawns near me but doesnt even move and I take lots of damage not sure if thats intended
    Last edited by CyberDev; 05-26-2015, 02:00 AM.

    Comment


      #3
      Originally posted by CyberDev View Post
      Cannot wait!! This project is such a life saver!

      Will the known issues eventually be fixed?

      I noticed the weapon ray issue when I shoot at another player closer, for one person it looks like im hitting him but on the other screen the crosshair is not even on him
      Also particle spawn seems to not be perfectly synced like bullet hits on walls & blood sometimes they dont show on the other players screen
      & when I climb to an upper level a random AI spawns near me but doesnt even move and I take lots of damage not sure if thats intended
      I'm looking into fixing those issues either this section or the next. The weapon ray difference you mentioned is part of those known issues and will be fixed.

      That AI spawns next to the player is definitely not intended, I'll look into that too. (The reason it doesn't move, is because there is no nav mesh on the rooftops, so that is expected)
      Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

      Comment


        #4
        Tom, I have a quick question about your TimeOfDayManager C++ class.

        Every tick you get the gamestate. Wouldn't it be better to get it and then store it in a class variable?

        Anyway, thanks for this, have been able to look at this for reference for a few functions and how to setup particular classes.

        Comment


          #5
          Glad to know those issues will be fixed!
          May I ask one more feature request? (apologies if you are sick of them by now)
          Any plans to add a melee weapon? I havent been able to find a tutorial for melee weapon with networking support. Only a fake method where its a short bullet, but not a true one

          Comment


            #6
            Originally posted by MadkillerMax View Post
            Every tick you get the gamestate. Wouldn't it be better to get it and then store it in a class variable?
            That is possible, but it's simply getting and casting one class each frame, that will never end up a bottleneck or performance concern. Both are viable.

            Originally posted by CyberDev View Post
            Any plans to add a melee weapon? I havent been able to find a tutorial for melee weapon with networking support. Only a fake method where its a short bullet, but not a true one
            I've been thinking about this, I currently lack animations and models to properly support something like that for the player. The zombie enemies still need an melee attack though, so I might add punching or a spit-like attack, both would use melee attack methods you could use as a reference when building a player swinging a baseball bat for example.
            Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

            Comment


              #7
              Video of a new feature I'm working on for Section 5.

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

              Comment


                #8
                Originally posted by Tom Looman View Post
                Video of a new feature I'm working on for Section 5.

                Cool! Would be nice if you could also showcase how you'd implement IK reach targets for pickup interactions like this.

                Comment


                  #9
                  Originally posted by Tom Looman View Post
                  I've been thinking about this, I currently lack animations and models to properly support something like that for the player. The zombie enemies still need an melee attack though, so I might add punching or a spit-like attack, both would use melee attack methods you could use as a reference when building a player swinging a baseball bat for example.
                  Is the default character/skeleton that you're using available in fbx? I could easily make these animations for you if needed, I can hook him up to an auto rigging script for maya and send you an animated fbx /rigged maya version as well if you want to do some more stuff. Should be easy to find some free melee weapons around if not I can do that too

                  Comment


                    #10
                    Hi Tom, I noticed when the player is crouched the enemies do not damage you. I can fire my gun and attract every enemy on the map, if crouched, they just swarm around me and do not attack.

                    Comment


                      #11
                      Originally posted by retired View Post
                      Hi Tom, I noticed when the player is crouched the enemies do not damage you. I can fire my gun and attract every enemy on the map, if crouched, they just swarm around me and do not attack.
                      Hi! Yeah that is a slightly unfortunate bug...I'll have to update the anim blueprint so they will look down and "punch" downwards when the player is crouched. I'm reserving section 6 for these type of fixes. Thanks for reporting it!
                      Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                      Comment


                        #12
                        Originally posted by CyberDev View Post
                        Is the default character/skeleton that you're using available in fbx? I could easily make these animations for you if needed, I can hook him up to an auto rigging script for maya and send you an animated fbx /rigged maya version as well if you want to do some more stuff. Should be easy to find some free melee weapons around if not I can do that too
                        4.8 has a new blue guy, so we'd have to atleast wait for 4.8 to hit, I've asked Epic about fbx availability. I can't make any promises at this time. It may support a melee attack, but I might as well end up using an alternative
                        Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                        Comment


                          #13
                          if you want the blue guy in fbx just export it from the engine i already have it rigged in my computer

                          Comment


                            #14
                            and i can also help if you want just send me a list of anims you want and i'll get them for you if i had them

                            Comment


                              #15
                              The docs for section 5 are up on the wiki! It's all about replication using practical examples this time.

                              https://wiki.unrealengine.com/Surviv...ame:_Section_5
                              Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-Source)

                              Comment

                              Working...
                              X