Announcement

Collapse
No announcement yet.

Announcing Section 6 of Survival Game - Adding some polish

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

    #31
    You're the man Tom!

    Comment


      #32
      Tom,

      I have been using your code as well as the ShooterGame as learning resource for my own project.
      The target of my project is a true person shooter (while yours is 3the person and the shooter game is first person)

      One of the things im strugling with is the "targetting", so to line up the weapon scope with the eye view.
      So i was wondering what it takes to turn the survival game from a 3the person shooter into a true person shooter. Setting the camera is rather easy, but the targetting part is something i see many questions about on these forums and no real answers.
      I did not put much time in trying to get the targetting working as im mainly using a 3the person camera in my project for testing purposes.

      Can u (or anyone else) make a small tutorial/example for this?

      Comment


        #33
        Originally posted by Fallonsnest View Post
        Tom,

        I have been using your code as well as the ShooterGame as learning resource for my own project.
        The target of my project is a true person shooter (while yours is 3the person and the shooter game is first person)

        One of the things im strugling with is the "targetting", so to line up the weapon scope with the eye view.
        So i was wondering what it takes to turn the survival game from a 3the person shooter into a true person shooter. Setting the camera is rather easy, but the targetting part is something i see many questions about on these forums and no real answers.
        I did not put much time in trying to get the targetting working as im mainly using a 3the person camera in my project for testing purposes.

        Can u (or anyone else) make a small tutorial/example for this?
        I know this is addressed to Tom, but I would have a weapon class that has it's own camera, line it up as you wish and simply switch from your player camera to the weapons camera using 'SetViewTargetWithBlend()'. (I've not tried it myself but I expect it would work quite well)
        Last edited by ULLS; 07-03-2015, 10:55 AM.
        [FREE] Procedural Bridge Blueprint, [FREE] Spline Enabled Ivy BP

        Comment


          #34
          ShooterGame does support 3rd person with "behindview" as a console command. It's not a fully rich implementation, but if you were to compare my 3rd person weapon code with shootergame, you'll see only a small difference (with their having functions like IsFirstPerson() to determine which of the two meshes to display and whether to attach the mesh to the first or third person character etc.

          In shootergame the alignment of the weapon mesh with the crosshair is done by playing an AnimMontage that moves the hands up, you'd have to adjust the first person mesh position to match the weapon ironsight with the center of the camera. So in that scenario the camera does nothing except for zooming the FOV (as is implemented in the survival's PlayerCameraManager already)
          Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-source template)

          Comment


            #35
            I tried the SetViewTargetWithBlend, but can't get it working correctly.

            Found this solution while ago in this topic: https://forums.unrealengine.com/show...oblem&p=290258
            But im facing the same issue as in the moview, that im loosing control of pitch when targeting.

            The creator of the topic replied to me in PM with his solution. He is using the WorldRotation of the camera, but i havent figured out how to get the used camera (yet)
            Would prefer to change the GetAimOffset method to obtain the correct aim pitch.

            Comment


              #36
              Hello question. I downloaded the github version but the zombies are just standing still. They are only coming when I walk very close near by. Arent the suppose to partrol at least?!?

              Comment


                #37
                Is this survival game multiplayer?
                George Rolfe.
                Technical Coordinator at Orbit Solutions Pty Ltd.

                Comment


                  #38
                  Originally posted by PXDN View Post
                  Hello question. I downloaded the github version but the zombies are just standing still. They are only coming when I walk very close near by. Arent the suppose to partrol at least?!?
                  I noticed this too, still have to find some time to debug why this is happening. The intend is that they move around at night and are idle during the day.

                  Originally posted by duke22 View Post
                  Is this survival game multiplayer?
                  Yes you can play it co-op. There is a simple main menu available to host and join a friend.
                  Game Developer @ LODZERO - My Twitter | tomlooman.com UE4 samples & tutorials | C++ Survival Game (Open-source template)

                  Comment


                    #39
                    can you please fix it?

                    Comment


                      #40
                      Hey Tom.

                      Thanks for amazing Tutorial Series.

                      Just a one issue that i've been facing for days and could't figure it out yet;

                      When you run on "Dedicated Server", fire animations does not replicated to the clients. Whereas "On Equip" does. Any suggestions?

                      Comment


                        #41
                        Originally posted by reok View Post
                        Will this be the last section?
                        yes, this is the last section

                        Comment


                          #42
                          Originally posted by Fusion_Pizza View Post
                          You're the man Tom!
                          Hi tom,
                          Hehehe!

                          Comment


                            #43
                            very cool

                            Comment

                            Working...
                            X