Announcement

Collapse
No announcement yet.

Top Down Stealth Toolkit

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

  • #46
    OK, My game is pretty well done. I'm working on the menus, sound effects, finishing touches etc. I thought I was going crazy a couple weeks ago because all my fixed way-point guys switched to random way-point. I fixed all the enemies in all my levels and moved on. I just open my project again and all of my fixed waypoint guys are now random again on every level. What might I be messing with that would cause them all to switch to random? I did just add footstep sounds to the player and alert voices to the enemies. Could that have caused it?

    Update: I think that when I change the AI controller, for example to add the footstep sounds, when I press the recompile button it sets them to the default of random waypoints.
    Last edited by raymondlee306; 10-23-2016, 03:53 PM.

    Comment


    • #47
      Originally posted by raymondlee306 View Post
      OK, My game is pretty well done. I'm working on the menus, sound effects, finishing touches etc. I thought I was going crazy a couple weeks ago because all my fixed way-point guys switched to random way-point. I fixed all the enemies in all my levels and moved on. I just open my project again and all of my fixed waypoint guys are now random again on every level. What might I be messing with that would cause them all to switch to random? I did just add footstep sounds to the player and alert voices to the enemies. Could that have caused it?

      Update: I think that when I change the AI controller, for example to add the footstep sounds, when I press the recompile button it sets them to the default of random waypoints.
      Hi Raymond, glad to hear that your project is nearing it's completion. I think what's happening is that the enum value for movement type within the melee & ranged patrol bots got reset & hence retained the values of the parent patrol actor which is set to random waypoints. It sometimes happens due to circular dependencies when using inheritance, though I'm not sure if that's the case.

      I'll try to move the waypoint calculation logic, including the enum over to an actor component in the next update. This way you can just add this waypoint calculation component to an actor & it should act as an independent module. And don't worry, it's not going to be a big change. Just a couple of functions within the parent patrol class moved over to an actor component.
      Last edited by Stormrage256; 10-24-2016, 05:04 AM.
      Dev blog: Unreal Possibilities
      Youtube channel
      FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
      Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
      Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

      Comment


      • #48
        Originally posted by raymondlee306 View Post
        OK, My game is pretty well done. I'm working on the menus, sound effects, finishing touches etc. I thought I was going crazy a couple weeks ago because all my fixed way-point guys switched to random way-point. I fixed all the enemies in all my levels and moved on. I just open my project again and all of my fixed waypoint guys are now random again on every level. What might I be messing with that would cause them all to switch to random? I did just add footstep sounds to the player and alert voices to the enemies. Could that have caused it?

        Update: I think that when I change the AI controller, for example to add the footstep sounds, when I press the recompile button it sets them to the default of random waypoints.
        Alright, the patrol waypoint calculation logic has been moved over to a dedicated component which should prevent the issue that you mentioned. It will be made available for both 4.12 & 4.13 versions of the toolkit in the upcoming update.
        Dev blog: Unreal Possibilities
        Youtube channel
        FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
        Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
        Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

        Comment


        • #49
          Update 4 (v1.4) has gone live on the Unreal Engine Marketplace. This is a v4.13 exclusive update & introduces the following changes to the product:

          1. Added two new weapons: Handgun & Silenced Handgun, thus providing the option to destroy AI bots instead of just temporarily disabling them. The implementation is handled through the Weapon Targeting System component introduced in the last update. Both these weapons functioning almost identically, with the exception that the Handgun produces a loud noise that could alert nearby patrol bots.

          2. Since the aforementioned weapons introduce the possibility of AI bots being destroyed, the update introduces a new class of actors that act as replicas for the destroyed bots without the performance cost of the real bots that they replace. These Defunct Replica Bots are spawned with the same physical state as the original.

          3. Added a new actor component 'Distress Signal Broadcaster' that can be added to any incapacitated bots or dead bot replicas, in order to alert nearby AI bots that are capable of responding to it. For example, an incapacitated patrol bot will use this component to continuously search for other patrol bots that are capable of reviving it. Once a suitable entity has been detected, it will be tasked with reviving the incapacitated bot.

          4. Added a basic Main Menu system.

          5. Moved the waypoint calculation logic for patrol bots to the new actor component 'BPC_PatrolWaypointSystem'.

          6. Added Motion Sensors that can detect player movement & trigger alarms to alert nearby patrol bots.


          All changes within the blueprints are marked with the boolean variable 'Version1.4' in order to easily identify the workflow changes introduced with this update. Comments are also written to describe the major changes. The new variables, as well as functions added to existing blueprints, are also marked in the event graph as shown below:

           
          Spoiler


          ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

          Changes in the Content Browser:

          - New actor components: BPC_DistressSignalBroadcaster & BPC_PatrolWaypointSystem.

          - New blueprint interfaces: BPI_DistressSignalBroadcast & BPI_DistressSignalResponse.

          - New actor blueprints: BP_DefunctCameraBotReplica, BP_DefunctPatrolBotReplica, BP_DefunctTurretBotReplica, & BP_MotionSensor.

          - New static mesh: SM_MotionSensor.

          - New material instance: MI_Basic_Red.

          - New map: MainMenuMap.

          - Added new entries to enum 'EWeapons'.

          - Added new widget blueprint: Widget_MainMenu.
          Last edited by Stormrage256; 10-12-2017, 01:06 AM.
          Dev blog: Unreal Possibilities
          Youtube channel
          FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
          Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
          Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

          Comment


          • #50
            Could you update the tutorial for moving this stuff to TPE or FPE templates? So much has changed it is very confusing in it's current state.
            James Brad Barnette
            Senior Creative Artist
            3Dmotif LLC

            Comment


            • #51
              Originally posted by James Barnette View Post
              Could you update the tutorial for moving this stuff to TPE or FPE templates? So much has changed it is very confusing in it's current state.
              Thanks for pointing that out, James. I've updated the tutorial & new screenshots have been added with descriptions to demonstrate the modifications required for migrating the v1.4 Patrol AI to a new template.
              Dev blog: Unreal Possibilities
              Youtube channel
              FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
              Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
              Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

              Comment


              • #52
                Top Down Stealth Toolkit Tutorial: How to create customized Laser Security Systems

                [Note: I've reduced the pixel quality of the sample screenshots to make it easier to load on the forum page. If the images are not clear enough, you can check out higher quality versions from the associated blog post at Unreal Possibilities: https://unrealpossibilities.blogspot...orial-how.html]

                The Laser Security Systems in Top Down Stealth Toolkit function as an auxiliary layer of AI Threat Detection by alerting all nearby patrol bots upon being intercepted by the player. The underlying logic is a simple combination of Timeline based movement & Collision Overlap checks. These actors support drag & drop functionality from the editor & can be easily customized using the variables exposed to the editor from the blueprints. This post goes over the impact of the aforementioned parameters on the working of Laser Security Systems.

                Click image for larger version

Name:	LSSEditor.png
Views:	1
Size:	646.2 KB
ID:	1120561

                1. Length: The Laser Security System uses a box collision component to determine if the player is within it's range. The length parameter determines the total length of this box & also controls the area covered by the laser particle system.

                2. Max Height: As described in the tooltip, this variable determines the max height up to which the lasers move relative to the default position at which the actor has been placed in the level.

                3. Player Height: The Player Height parameter is used to control the color of the laser based on it's position relative to the ground. Red color indicates that players passing through the laser will trigger an alarm while white color indicates that the laser tracker has moved up beyond the player's height & thus enable safe passage below it. This can be quite useful in top down games, as perception of the location of actors that move along the z plane may not always be intuitive to the player.

                4. Alarm Timer: The Alarm Timer value determines how often the alarms are triggered while the laser system has an active target. Since the range of alarm noises are limited, having a timed alarm system can improve the chances of alerting nearby AI patrol bots.

                5. Movement Timeline Starting Time: This parameter determines the starting location of the laser along it's movement trajectory. It has a range of 0.0 to 4.0, with 0.0/4.0 representing the starting position [i.e. the location at which the actor was placed] & 2.0 representing the highest position along it's movement trajectory. Anything between 0.0 & 2.0 implies that the laser will have an upward motion going towards the highest point along the trajectory, while a value between 2.0 & 4.0 means that it will have a downward motion going towards the lowest point or the starting position along the trajectory.
                Dev blog: Unreal Possibilities
                Youtube channel
                FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
                Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
                Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

                Comment


                • #53
                  Hi, I did a simple test to see how the AIs handle verticality and found out...not so well.
                  https://gyazo.com/a71df3f22a10934018cc696b3c628b97
                  It looks like they properly turn to look at the player, but don't know to reset their orientation afterwards. I would really like to have a level with some verticality, so is there some way to fix this?

                  Comment


                  • #54
                    Hi, I added gamepad Left Thumbstick Y-axis and X-axis to <Axis Mappings> under <Input> in <Project Settings>. When I run the game, the player just falls from the sky and drop all the way down.
                    how do I add Gamepad control?

                    Comment


                    • #55
                      Originally posted by espionageguy View Post
                      Hi, I did a simple test to see how the AIs handle verticality and found out...not so well.
                      https://gyazo.com/a71df3f22a10934018cc696b3c628b97
                      It looks like they properly turn to look at the player, but don't know to reset their orientation afterwards. I would really like to have a level with some verticality, so is there some way to fix this?
                      Thanks for pointing that out, espionageguy. It will be fixed in the upcoming update. The update is going to introduce a lot of changes to the AI design & hence taking a while longer compared to the usual updates. If the changes required are minor, I'll send in a hot fix update to the Marketplace team before the major update.

                      Edit: And sorry for the delay. For some reason, I did not get an email notification about the comment.
                      Last edited by Stormrage256; 01-27-2017, 02:11 AM.
                      Dev blog: Unreal Possibilities
                      Youtube channel
                      FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
                      Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
                      Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

                      Comment


                      • #56
                        Originally posted by Leebaba View Post
                        Hi, I added gamepad Left Thumbstick Y-axis and X-axis to <Axis Mappings> under <Input> in <Project Settings>. When I run the game, the player just falls from the sky and drop all the way down.
                        how do I add Gamepad control?
                        Hi Leebaba, I just tried out gamepad controls with an Xbox 360 controller & it seems to be working fine at my end. Here are the control mappings I applied to the input settings:

                        Click image for larger version

Name:	controls.png
Views:	1
Size:	144.1 KB
ID:	1122123

                        If you're still experiencing the issue, may I know the version of the toolkit that you're using? Also are you experiencing this issue in the default level supplied by the toolkit, or within a custom level?
                        Dev blog: Unreal Possibilities
                        Youtube channel
                        FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
                        Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
                        Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

                        Comment


                        • #57
                          Originally posted by espionageguy View Post
                          Hi, I did a simple test to see how the AIs handle verticality and found out...not so well.
                          https://gyazo.com/a71df3f22a10934018cc696b3c628b97
                          It looks like they properly turn to look at the player, but don't know to reset their orientation afterwards. I would really like to have a level with some verticality, so is there some way to fix this?
                          I will be submitting the bug fix update for this issue to the Marketplace team later today. It should be available for download from the Marketplace sometime next week. However, if you want to implement the changes within your project in the meantime, I've shared a screenshot showing the changes required to rectify the issue.

                          Click image for larger version

Name:	tdstcritbug.png
Views:	1
Size:	312.4 KB
ID:	1122130

                          Also in the future, if you have not received a reply to your queries within a day, feel free to contact me through the support mail id: rohitmohan.k@outlook.com
                          Dev blog: Unreal Possibilities
                          Youtube channel
                          FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
                          Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
                          Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

                          Comment


                          • #58
                            Yup, that fixed it! Thanks! By the way, I did actually e-mail you, but got no response. Maybe it went to your junk mail?

                            Comment


                            • #59
                              Originally posted by espionageguy View Post
                              Yup, that fixed it! Thanks! By the way, I did actually e-mail you, but got no response. Maybe it went to your junk mail?
                              Glad to hear that it's fixed. Yes it could have possibly gone to the junk mail.

                              Btw the bug fix update has been applied to the Marketplace project files. So if you're creating a new project in the future, you wouldn't have to make these changes.
                              Dev blog: Unreal Possibilities
                              Youtube channel
                              FPS Tower Defense Toolkit Support Thread: https://forums.unrealengine.com/show...efense-Toolkit
                              Top Down Stealth Toolkit Support Thread: https://forums.unrealengine.com/show...tealth-Toolkit
                              Tower Defense Starter Kit Support Thread: https://forums.unrealengine.com/show...Support-Thread

                              Comment


                              • #60
                                Good afternoon

                                I'm very interested in this kit. Just one question, does it have camera zoom? I would like to let the user zoom in considerably to view the characters small details :P even better was if it was possible to zoom and pan... I'm actually looking at the camera commands now to see if I can implement this (very new to UE4 and almost only doubts at the moment.... eheh)

                                Comment

                                Working...
                                X