Announcement

Collapse
No announcement yet.

Shooter Gun System

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

    LumberingTroll Hey thank you, I've just replied to your private msg.
    My Marketplace assets:
    Gun Sight Aligner
    Shooter Gun System

    Comment


      Recoil Reset might need looking into? When I counteract the recoil by pulling down on the mouse and then stop firing/pulling down the recoil reset still pulls the camera down. I haven't really looked at your code but I imagine you are just reversing the amount of recoil given during the shot (via subtraction) which is what is causing the problem. You are probably going to want to revert to a specific pitch instead.

      So instead of subtracting the recoil to return to the proper aim location you need to save the exact pitch/yaw of the camera when fired and return to that (Lerp). This should take into account the actual position of the camera when firing is stopped. I would also have it not return if the player has pulled below the original pitch (if that is 60 then at 59 the reset wont happen).

      I'd also look into how pubg did it (each shot has its own recoil reset position/speed) instead of trying to return to the original aiming spot like cod. Either way having a variance in the spot the recoil returns to will make it more authentic.

      So basically if you fire at pitch 62 yaw 33, and add +5 pitch and +2 yaw in recoil, you could have +1 and -1 variance to the return position, which would end up at 63 pitch 32 yaw.

      Hopefully that makes sense.
      Last edited by OneShotGG; 02-11-2021, 12:41 PM.
      Heavy Diesel Softworks, LLC - Owner

      Comment


        Originally posted by OneShotGG View Post
        So instead of subtracting the recoil to return to the proper aim location you need to save the exact pitch/yaw of the camera when fired and return to that (Lerp).
        What happens if the player switched targets or tracked a moving target while firing? Mouse automatically returns to the first target when he stops firing?

        The project doesn't come with several recoil styles, it comes one that gives it a nice fluid feeling and is reasonably complex: generate recoil, then recover the recoil that was generated (BF3 style). Some games will recover what was added minus any compensation done manually by the player (BF4 style). Other games do other stuff... It's up to you to choose what you personally prefer and adapt the code to that...
        My Marketplace assets:
        Gun Sight Aligner
        Shooter Gun System

        Comment


          i just bought your system and i was wondering if there are any tutorials available as i couldn't find any , at least to understand how the weapon is setup .
          Last edited by Mario Cepoi; 02-22-2021, 02:39 AM.

          Comment


            Mario Cepoi Thank you! I've just replied to your private msg!
            My Marketplace assets:
            Gun Sight Aligner
            Shooter Gun System

            Comment


              Hi, I also bought your product and would like to know if you had any other tutorials as well. Do you have one on how to add gun sounds? Is that planned soon? Thanks!

              Comment


                Jewbaccah The tutorial is about adding new guns and attachments to the system. There's no sound in the asset currently, but it's planned to be included in the future.

                I've just sent you now a private message about the video tutorial, please check your private msgs!
                My Marketplace assets:
                Gun Sight Aligner
                Shooter Gun System

                Comment


                  Hello, i'd like a video of the gun tutorial, too

                  Comment


                    @PeaceSells_ Thanks again. One more thing I'd like to implement is a simple tracer. I've tried to put a simple elongated cylinder in the viewport on the B_Gun Projectile blueprint, but it doesn't appear when firing. What's the best way to get the projectile to be a static mesh?

                    Comment


                      M4X-Tagger (Kitbash)
                      Modular Weapons are awesome. The more granular the parts, the more combinations
                      HeadlessStudios.com is now part of TheGameDevStore.com

                      Comment


                        gotgrassct Hey, I've just sent you a private msg!
                        My Marketplace assets:
                        Gun Sight Aligner
                        Shooter Gun System

                        Comment


                          TechLord That's a combination I haven't seen before, lol! An M4 turned into a special pistol... it does look interesting!
                          My Marketplace assets:
                          Gun Sight Aligner
                          Shooter Gun System

                          Comment


                            Originally posted by PeaceSells_ View Post
                            TechLord That's a combination I haven't seen before, lol! An M4 turned into a special pistol... it does look interesting!
                            Thank you. With more parts, we can do even more combinations (hint, hint) Awesome Product. Keep up the great work.
                            HeadlessStudios.com is now part of TheGameDevStore.com

                            Comment


                              Waiting for the update! <3

                              Comment


                                Good afternoon, interesting pack! I would like to see some tutorials on adding a new weapon actor.

                                Comment

                                Working...
                                X