Announcement

Collapse
No announcement yet.

Tower Defense Starter Kit

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

    [SUPPORT] Tower Defense Starter Kit

    The Tower Defense Starter Kit is a pure blueprint framework that enables quick & easy creation of Tower Defense games.

    Marketplace Page: https://www.unrealengine.com/marketp...se-starter-kit



    Features:

    • Multiple types of AI Wave Spawning systems, with support for both Endless waves & repeating wave cycles with dynamically escalating difficulties.
    • Towers: Machine Gun, Shockwave, Laser, Sniper, Artillery, Boost, & Mining Tower.
    • Enemy AI: Tank, Healer, Rusher, Ranged, & Tower Disabler.
    • Tower Abilities: Overdrive & Repair.
    • Global Abilities: Airstrike, Tower Guardians, & Proximity Mines.
    • Branching Upgrade Paths for Towers.
    • Special Waves that spawn Bosses at the end
    • Automated resource allocation between waves provide players with the ability to Build, Upgrade, & Sell towers.
    • Main menu with level selection & persistent map unlocks across multiple sessions
    • Modular Grid Generators with drag & drop support to create grid cells for tower placement.
    • Loadout menu enables players to select towers & global abilities at mission start
    • Supports spline based multi-lane paths & nav mesh based pathfinding.


    Technical Details:

    • Modular components are employed throughout the toolkit to handle special functionalities & aid in the creation of new variations to existing entities with minimal coupling.
    • The Wave Manager allows complete customization of waves through parameters including Enemy Type, Number Of Units, Spawn Point, Spawn Delay, etc.
    • AI Spawn Points support precached & runtime generation of randomized spawning locations.
    • All default Tower attributes are stored in a centralized Tower Data Array & thus enables easy customization of said properties for all towers from a single location.
    • All information pertaining to the towers & abilities are displayed dynamically using a data-driven approach, thus eliminating the need for manual HUD modifications when adding/removing towers.


    Supported Platforms: Windows

    Optimized for: Unreal Engine v4.24 [Features added in newer versions of Unreal Engine may not be available in the older versions. Check out 'Updates change log' in the following post to see the features that are available in different versions.]

    Current Version: 2.14

    Preview Screenshots:

    Click image for larger version  Name:	image_63708.png Views:	1 Size:	457.3 KB ID:	1379719

    Click image for larger version  Name:	Store.jpg Views:	1 Size:	214.2 KB ID:	1175437

    Click image for larger version  Name:	Store_TDSK_screenshot_7.jpg Views:	1 Size:	430.4 KB ID:	1636398

    Click image for larger version  Name:	Store_TDSK_screenshot_10.jpg Views:	1 Size:	345.6 KB ID:	1636399

    Click image for larger version  Name:	Store_TDSK_screenshot_9.jpg Views:	1 Size:	181.9 KB ID:	1636400


    Preview Video:



    If you have any queries or feature requests regarding the toolkit, you can always reach out to me personally through my email id at: rohit_kotiveetil@outlook.com.
    Last edited by Stormrage256; 04-22-2020, 05:36 AM.
    Unreal Possibilities
    Wave Spawning System | Tower Defense Starter Kit
    NEW: FPS Tower Defense Toolkit v3.10

    #2
    Additional Resources:


    Concept Overviews:

    1. Batched Wave Spawn Controller: https://unrealpossibilities.blogspot...it-basics.html (shared resource with FPS Tower Defense Toolkit)

    2. Weighted Wave Spawn Controller: https://unrealpossibilities.blogspot...-basics_2.html (shared resource with FPS Tower Defense Toolkit)

    3. Enemy AI Classes: https://forums.unrealengine.com/show...l=1#post485985


    Tutorials:

    1. How to set up waves using Batched Wave Spawn Controller: https://www.youtube.com/watch?v=-YwbcOaZZH8

    2. How to create new Towers: https://www.youtube.com/watch?v=zoRt4O6K4xs

    3. How to create new Global Abilities: https://www.youtube.com/watch?v=eEHjTlchAJ0

    4. How to create a new level: https://unrealpossibilities.blogspot...orial-how.html

    5. How to change the Grid size: https://forums.unrealengine.com/show...l=1#post486034

    6. How to add new levels to the Level Selection Menu: https://forums.unrealengine.com/show...l=1#post627662

    7. How to create new Enemy Types: https://www.youtube.com/watch?v=4jjl011xoiE

    8. How to create new Tower Functions: https://www.youtube.com/watch?v=n_myHNws1Kc


    Update Logs:
    Upcoming Features:
    • Data Driven UI Thumbnails for Global Abilities

    FAQ:

    Q: I'm trying to create a new level from scratch within the toolkit & have made placed all the necessary actors in the level by looking at the sample maps. However, I'm unable to get the Global Abilities working in my level. Is there any additional procedure that needs to be implemented in order to get them working on a new map?
    A: Yes, just make sure that steps mentioned in the following link are implemented: https://forums.unrealengine.com/show...l=1#post689302

    Q: I'm using the spline-based pathing system provided in the toolkit for my tower defense game. I noticed that the units only traverse along the XY plane. Is there any way to make them travel in the Z direction (for example, going over hills) as well? I've already tried raising up the spline paths, but that did not create the intended result.
    A: The spline-based pathing system, by default, enables movement only in the XY plane. However, you can make it move in the up/down direction by making a couple of small changes within the 'Move Along the Spline' function of BP_EnemyAI_Parent' blueprint as explained in the following posts:
    Last edited by Stormrage256; 05-13-2020, 05:23 AM.
    Unreal Possibilities
    Wave Spawning System | Tower Defense Starter Kit
    NEW: FPS Tower Defense Toolkit v3.10

    Comment


      #3
      The price is $29.99 not $24.99...

      Comment


        #4
        Originally posted by frostyshield View Post
        The price is $29.99 not $24.99...
        Hey frostyshield, could you just double check on that. I'm seeing $24.99 at my end.
        Unreal Possibilities
        Wave Spawning System | Tower Defense Starter Kit
        NEW: FPS Tower Defense Toolkit v3.10

        Comment


          #5
          Tower Defense Starter Kit Basics: Enemy AI

          The Tower Defense Starter Kit has 4 different types of enemy AI bots: Healer, Ranged, Runner & Tank. They're all derived from the parent class 'BP_EnemyAI_Parent', which houses the core logic for all types of enemy bots. These include:

          - Moving toward the Exit Point [both navmesh & spline path based].
          - Event driven HUD stats updates [if the mouse cursor is centered on the actor]
          - Handling damage receive events & 3D Health bar updates.
          - Turning to face a target.
          - Set threat rating & max health based on the active wave cycle.
          - Update calls to wave manager when the bot is destroyed.

          All creeps can do damage against the player upon reaching the Exit Point actor, irrespective of whether they can target the towers or not.

          1. Healer: The Healer bot is a slow moving support unit that uses it's AoE Heal ability to heal all creeps in range. It does not posses any offensive capabilities & hence cannot target the towers.

          2. Ranged: The Ranged bot is a slow moving offensive unit that uses ranged attacks against towers in it's range. It uses a combination of distance, angular & line trace checks to identify targets along it's path at regular intervals.

          3. Runner: The Runner bot is a fast moving unit with low health that uses it's high speed to bypass towers, especially when spawned in large numbers. It does not posses any offensive capabilities & hence cannot target the towers.

          4. Tank: The Tank bot is an extremely slow moving unit with a large pool of hit points that can withstand lots of damage. It does not posses any offensive capabilities & hence cannot target the towers.
          Last edited by Stormrage256; 08-18-2016, 01:24 PM.
          Unreal Possibilities
          Wave Spawning System | Tower Defense Starter Kit
          NEW: FPS Tower Defense Toolkit v3.10

          Comment


            #6
            Great looking toolkit! I've been waiting for something like this since UE4 launched. I'll likely purchase this in the next few days. Are you planning on making this toolkit mobile friendly?

            I also have some requests for tower types:

            Cannon/Catapult - A tower that flings projectiles in an arc to the target with splash damage
            Resource tower - A tower that provides a flow of resources when you build it.
            Neapolitan Studios
            WebsiteFacebookTwitterInstagram

            Comment


              #7
              Originally posted by tanka2d View Post
              Great looking toolkit! I've been waiting for something like this since UE4 launched. I'll likely purchase this in the next few days. Are you planning on making this toolkit mobile friendly?

              I also have some requests for tower types:

              Cannon/Catapult - A tower that flings projectiles in an arc to the target with splash damage
              Resource tower - A tower that provides a flow of resources when you build it.
              Hey tanka2d, thanks & good to see you again. I'm planning to use the first few updates to add more features that are commonly found in tower defense games. For example, the first update will focus on a tower selection menu & new towers. Later on, I'd like to add a perks menu & new creep types as well.

              I would definitely like to try out mobile support in the future, but I have not worked on mobile UE4 projects till now. As a result, it's not part of the planned updates yet, but maybe a few updates down the line, I will experiment with it & confirm that.

              As for the towers, thanks for the suggestions. The Resource tower will be added in the first update & I will try to include a catapult tower as well.

              If you have more ideas, keep em coming. I want to use this toolkit to try out ideas that don't fit well with the FPS Tower Defense Toolkit.
              Unreal Possibilities
              Wave Spawning System | Tower Defense Starter Kit
              NEW: FPS Tower Defense Toolkit v3.10

              Comment


                #8
                Tower Defense Starter Kit Tips #1: How to change the Grid size

                The default dimensions of an individual grid cell in Tower Defense Starter Kit is 400 units [both in x & y directions in the local space of the parent grid generator]. However this can be easily altered based on the requirements of the user.

                The Grid Manager actor has a user defined float variable termed 'Grid Size' exactly for this purpose. The 'Grid Size' variable can be modified to change the grid cell dimensions of all grid generators present in the level, thus saving the trouble of going to each & every grid generator to change it's properties. In order for the change to be registered across all the grid generators, open up the 'BP_GridGenerator' blueprint & recompile it. Doing so will run it's construction script once again with the updated attributes which will be reflected in all the grid generator actors in the level.

                [Please note that the towers would still retain their original dimensions as the default tower meshes are clearly only intended to be prototypes. To change their dimensions, you could just go to the tower meshes in the 'Meshes' folder and then open up the towers and change their build size according to the requirements.

                Click image for larger version

Name:	mesh.png
Views:	1
Size:	980.7 KB
ID:	1101701]
                Last edited by Stormrage256; 08-18-2016, 01:28 PM.
                Unreal Possibilities
                Wave Spawning System | Tower Defense Starter Kit
                NEW: FPS Tower Defense Toolkit v3.10

                Comment


                  #9
                  Originally posted by Stormrage256 View Post
                  Hey frostyshield, could you just double check on that. I'm seeing $24.99 at my end.
                  Click image for larger version

Name:	1I0l42U.png
Views:	1
Size:	197.7 KB
ID:	1101764

                  Just took that now :P

                  Also would this be a good system for a MOBA?, How would one go about making a "minion" so to speak with the values of a tower? so its like a movable tower?

                  Comment


                    #10
                    I ended up buying this last night and I am very much enjoying it, it's very easy to customize (and I'm no programmer).

                    Quick question though, is there an easy way to add boundaries for your camera movement? At the moment it seems to scroll on indefinitely. When I've done this in the past I've used invisible collision boxes as boundaries, but your setup is a little different. It looks like there might be some boundary variables in the player pawn blueprint? They don't seem to do anything though.
                    Neapolitan Studios
                    WebsiteFacebookTwitterInstagram

                    Comment


                      #11
                      Originally posted by frostyshield View Post
                      [ATTACH=CONFIG]81906[/ATTACH]

                      Just took that now :P

                      Also would this be a good system for a MOBA?, How would one go about making a "minion" so to speak with the values of a tower? so its like a movable tower?
                      Epic had actually mentioned that it would be $29.99 after VAT. I'm guessing that it's specific to certain countries, but thanks for bringing that to my notice. I have updated that information in the pricing details.

                      I don't think it would be the best fit if you want to create a MOBA because then you would have to implement all the multiplayer aspects yourself. Since this toolkit is not designed with multiplayer support, it would mean that you would have to change some workflow to support replication. However I would suggest looking at this forum thread: https://forums.unrealengine.com/show...or-Marketplace. From what I've seen so far, it looks like something that I would buy if I want to learn how a MOBA works.

                      As for your second question, the towers aren't movable. You can however spawn them at any of the grid cells displayed in the map. Once spawned, you can choose to upgrade them or sell them. The minions on the other hand, spawn at the red markers & move toward the blue marker. You can check out this image from the first post to get a better idea: https://forums.unrealengine.com/atta...6&d=1456946470. So basically the towers keep attacking any minions that get in it's range.
                      Unreal Possibilities
                      Wave Spawning System | Tower Defense Starter Kit
                      NEW: FPS Tower Defense Toolkit v3.10

                      Comment


                        #12
                        Originally posted by tanka2d View Post
                        I ended up buying this last night and I am very much enjoying it, it's very easy to customize (and I'm no programmer).

                        Quick question though, is there an easy way to add boundaries for your camera movement? At the moment it seems to scroll on indefinitely. When I've done this in the past I've used invisible collision boxes as boundaries, but your setup is a little different. It looks like there might be some boundary variables in the player pawn blueprint? They don't seem to do anything though.
                        Glad to hear that you're enjoying it tanka2d.

                        I apologize for not adding a boundary for the camera movement. I will definitely add both collision based & math limit based boundaries in the first update. The boundary settings that you might have seen are for getting the edge scrolling parameters. They will auto adjust based on any resolution changes to the game.

                        But in the meantime, you can add it to your level by adding a collision component within your player pawn. Then create a new object channel like saw 'PlayerPawn' & set this collision component to that type. Now add collision boxes outside the boundaries & set it's collision settings to block the 'PlayerPawn' objects.
                        Unreal Possibilities
                        Wave Spawning System | Tower Defense Starter Kit
                        NEW: FPS Tower Defense Toolkit v3.10

                        Comment


                          #13
                          Originally posted by Stormrage256 View Post
                          But in the meantime, you can add it to your level by adding a collision component within your player pawn. Then create a new object channel like saw 'PlayerPawn' & set this collision component to that type. Now add collision boxes outside the boundaries & set it's collision settings to block the 'PlayerPawn' objects.
                          I'm having trouble doing this, I've done similar things before but for some reason the playerpawn continually goes over the boundary.

                          Any ETA on the first update?
                          Neapolitan Studios
                          WebsiteFacebookTwitterInstagram

                          Comment


                            #14
                            Originally posted by tanka2d View Post
                            I'm having trouble doing this, I've done similar things before but for some reason the playerpawn continually goes over the boundary.

                            Any ETA on the first update?
                            I'll check it out & post the bounding box solution in a couple of hours. As for the update, if all goes well, I hope to submit it sometime before Friday next week. Hopefully, Unreal Engine v4.11 would be released before that so that I can test it out on the new version.
                            Unreal Possibilities
                            Wave Spawning System | Tower Defense Starter Kit
                            NEW: FPS Tower Defense Toolkit v3.10

                            Comment


                              #15
                              Originally posted by tanka2d View Post
                              I'm having trouble doing this, I've done similar things before but for some reason the playerpawn continually goes over the boundary.

                              Any ETA on the first update?
                              Alright, figured it out. First of all, I would like to ask you to make sure that you have ticked on the 'Sweep' parameter for 'Add Local Offset' in the Player Pawn. It's one of the things that I forgot when I first worked on bounding boxes for RTS Cameras.

                              Click image for larger version

Name:	sweep.png
Views:	1
Size:	301.1 KB
ID:	1102081

                              Next we would have to create a new Object channel for our blocking volume from Project Settings >> Collision >> New Object Channel. I'm going to name it BlockingVolume & set it's default response to 'Block'.

                              Click image for larger version

Name:	objectchannel.png
Views:	1
Size:	108.8 KB
ID:	1102083

                              Now we can add blocking volumes on the 4 different sides of the map, just a bit outside all the floor meshes. Now from the details panel, change their collision properties to:
                              Generate Overlap Events = False;
                              Collision Presets = Custom;
                              ObjectType = Blocking Volume;
                              Can Ever Affect Navigation = False;

                              Click image for larger version

Name:	collisionprop.png
Views:	1
Size:	375.4 KB
ID:	1102084

                              Next we're going to replace the root component of the player pawn from the default scene to a box collision component. I'm just going to name it Root Collision & change it's properties to:
                              Enable Gravity = False;
                              Generate Overlap Events = False;
                              Collision Presets =Custom;
                              Collision Enabled =Physics Only;
                              Object Type = Pawn;
                              Can Ever Affect Navigation = False;

                              As for it's collision responses, we can set BlockingVolume to Block & everything else to ignore.

                              Click image for larger version

Name:	pawn.png
Views:	1
Size:	314.8 KB
ID:	1102085


                              Now if you try going outside the boundaries, you player pawn should be blocked by the blocking volume. Let me know if you have any doubts about that.
                              Unreal Possibilities
                              Wave Spawning System | Tower Defense Starter Kit
                              NEW: FPS Tower Defense Toolkit v3.10

                              Comment

                              Working...
                              X