Announcement

Collapse
No announcement yet.

[FREE] Automated Rotation Sentry

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

    [ASSETS] [FREE] Automated Rotation Sentry

    Hey there,

    For those wanting to see how an Automated Rotation 360 degrees Sentry works, you can download the files at:
    https://mega.co.nz/#!GoVXlSLB!3Iol1Q...WnM7EdM7AgHTB0

    Installation if needed:
    Just extract in your project content folder.
    You may need to redo the allocation of the meshes.

    In TurretBP:
    StaticMesh is SentryFoot
    StaticMesh1 is SentryTurn
    SentryGunActor child actor class is sentrygunactor
    In SentryGunActor:
    Gun is SentryGun

    Basically what it does, it is it just stand still(ofcourse), while every 2.5sec(customization available) it gets a new Pitch for the sentry and Yaw for the rotation, and then moves to that rotation.
    There were some issues i had to fix like Flipping and getting crazy weird rotations but those are fixed, if you do see an error or bug please tell me

    Also in the blueprint i un-linked the looking at player when in range, you can just link that up again if you want that
    It's also fire-ready

    Video of how it works:



    Hope you like!

    Greetings


    License: Free to use, distribute and modify.
    Last edited by eXi; 05-20-2015, 11:32 AM.
    Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
    Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
    Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

    #2
    Looks great, thanks!

    Comment


      #3
      Thanks, i hope it helps you..
      Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
      Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
      Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

      Comment


        #4
        Really great addition to the community! Keep up the good work!
        Andrew Hurley
        Engine Support Technician

        Wiki Tutorials Page

        Comment


          #5
          Thanks!

          I'll also upload an Automated surveillance camera and a rotating alarm(red, those you see in ships) if this gets enough attention
          Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
          Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
          Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

          Comment


            #6
            Thanks, CelPlays for this cool turret.

            But it seems that something went wrong.
            The cannon is spinning without stopping in a very strange way.

            Click image for larger version

Name:	turret.jpg
Views:	1
Size:	483.2 KB
ID:	1078539

            The fire function was disconnected.

            Click image for larger version

Name:	Fire.jpg
Views:	1
Size:	500.7 KB
ID:	1078540


            In EventGraph EventTick was also disconnected

            Click image for larger version

Name:	EventGraph.jpg
Views:	1
Size:	606.0 KB
ID:	1078541


            Unreal version 4.7.6


            Luny
            lunybunny.com
            lunybunny.com

            Comment


              #7
              Hey,

              The tick is disconnected because it's the "follow player node", so if you just plug that it'll follow you on begin overlap

              The Fire i disconnected as my firing thing went through walls and all, i have 0 clue how to make that, the sentrygunactor shoots from it's front so that's pre-set
              Behind print string i had a spawn actor from class.

              And the turning you have, did you change any of the random values? If they're too high you'll get flipping things, that's the negative about move component to, it looks for the shortest road so that's why i needed to keep it within margins.
              The Blue ones should stay how they are, maybe a little bit of a difference but not major ones. The red ones also need to be 90, if that's changed it can start to look weird.
              Maybe record the problem you have? So i can see what exactly it's doing?


              And i'm also still on 4.7.6

              Kind regards,
              Celplays
              Attached Files
              Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
              Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
              Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

              Comment


                #8
                Okay, update on this post, i've been looking/staring at my turret for the past few minutes and i noticed it kinda wiggle's sometimes, but only when the turret is aiming upwards, can you confirm it's only when it's looking upwards?

                EDIT: So i've tested with a lower amount of max-min ratio. the < float is put to -10 and the > float i put to 40. As i figured it already rotates in a 360 degree yaw value it doesn't need to go over a 90 degrees pitch value, as it would just rotate in yaw to the direction. -10 is the value that will be the half-max pitch (downwards), now that max is -40., as it substracts a value between 10-30, it can go under the -10, but if it's under -10 it will always go upwards on the next move to, same the other way around, max up turn then is 70, and the half-max is 40, if the pitch is above 40 it'll always go down. If that makes any sense

                This also should fix the spinning and wigglin'g
                Last edited by CelestialCel; 05-19-2015, 05:55 AM.
                Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
                Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
                Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

                Comment


                  #9
                  Sorry for the delay in replying

                  The blueprint here is exactly as shown oo, all yaws is defined in 90 degrees, but with ours EventTick connected. Previously disconnected, such cannon is pointing upwards and not is following the pawn. And when connected follows the pawn but it is whirling crazily.

                  Like in the picture below.

                  Click image for larger version

Name:	turret.gif
Views:	1
Size:	795.5 KB
ID:	1078613



                  Luny
                  Attached Files
                  lunybunny.com
                  lunybunny.com

                  Comment


                    #10
                    Alright,

                    I see the same in my game if i connect it. For some reason it doesn't clear the RotateF timer. That's why it looks at you and turns away. Alright, so put the clear timer after the branch of Range after event tick on the true pin. Then connect clear timer to sequence. That fixed it for me.



                    No idea why it doesn't clear on begin overlap however it's specified(Maybe since you spawned in the overlap box?)

                    Greetings,
                    Celeste ^^

                    PS: For some reason i accidentally also attached a completely unrelated other picture. Ignore that one ^^
                    Attached Files
                    Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
                    Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
                    Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

                    Comment


                      #11
                      Originally posted by CelPlays View Post

                      No idea why it doesn't clear on begin overlap however it's specified(Maybe since you spawned in the overlap box?)

                      Thanks Cel for your quick reply

                      In the fact, I opened the component tab in blueprint,
                      and saw the size of the collision box, it goes far beyond any thing, It is giant, and the turret is a flea inside it.

                      I'll try to see if I can fix it.


                      Luny
                      lunybunny.com
                      lunybunny.com

                      Comment


                        #12
                        Yea, i was intending to change it to sphere trace anyway in the future. Might be better anyway.
                        And yea it's kinda big ^^ Didn't pay too much attention to that anyway

                        Greetings.
                        Cel
                        Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
                        Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
                        Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

                        Comment


                          #13
                          download link is down
                          pls reup, want to see it^^

                          Comment


                            #14
                            Hey there,

                            Gonna see if we still have the files somewhere. Should have them, will try to fix this tomorrow!
                            Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
                            Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
                            Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

                            Comment


                              #15
                              Originally posted by Noa3 View Post
                              download link is down
                              pls reup, want to see it^^
                              https://mega.nz/#!LoNxXJoK!3Iol1QwJq...WnM7EdM7AgHTB0

                              Here's the dl link. This one still works so try that one
                              Marketplace Asset - Economy Kit; Marketplace Asset - Notification Kit; Marketplace Asset - Achievepedia; Marketplace Asset - Player Stats Kit; Marketplace Asset - Photomode;
                              Marketplace Asset - Interaction Kit; Marketplace Asset - Turret Kit; Marketplace Asset - Character Stats Kit; Marketplace Asset - Smooth Camera Kit; Plugin - Toggl Plugin;
                              Hire us here; Panda Studios, Game development company.; Official Unreal Engine Game Jam Sponsor

                              Comment

                              Working...
                              X