# Tower Defense Starter Kit

**URL:** <https://forums.unrealengine.com/t/tower-defense-starter-kit/57044>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, fab\
**Created:** [March 2, 2016, 7:18pm UTC](https://forums.unrealengine.com/t/tower-defense-starter-kit/57044 "2016-03-02T19:18:56Z")\
**Posts on this page:** 1\
**Showing post:** 362

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [October 28, 2022, 8:06am UTC](https://forums.unrealengine.com/t/tower-defense-starter-kit/57044/362 "2022-10-28T08:06:14Z")

</div>

The **v2.23** update has gone live on the Marketplace.

**Change Log:**

I. **Added a dedicated Weapon System component** to be used as a base template for creating firing solutions when designing new Towers.

 ![weaponsyscomp](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/0/db0cb50e18e71e3f7dd5298493e032d56764237e.png)

You can now create a new child class derived from **BPC\_WeaponSystem** and override the “Fire” event with logic for your new weapon fire system. Shown below is an example of how its implemented in the Machine Gun Tower weapon component:

 ![mgfireoverride](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/8/32810eb174a502897268ad3b7b87163c789f523b.png)

II. The **Tower stats variables have been moved to their dedicated components** with the HP stats now part of the **BPC\_Hitpoints** component and the damage/range stats moved to the new **BPC\_WeaponSystem** component.

 ![weaponstats](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/a/a/0aa29b7200bc30b3324e1692ee7247efe9321a28.png)

 ![hpstats](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/3/8b316a591303f8452ff2e8a4dffb4c5991f743ef.png)

The Tower stats are still defined in the DT\_TowerData data table, but the components are responsible for retrieving those stats during their initialization.

 ![dttowerstats](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/0/d/30d09c71938c99f3725b79ae4576b8db731c6055.png)

III. **Added Stat Modifiers for Weapon & HP stats to support buffs/debuffs at runtime**. The stat modifiers are currently being used by the Boost Tower to boost the damage output stat of nearby towers as well as by the XP system to permanently increase the health and damage output of Towers as they gain experience and level up.

 ![weaponstatmods](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/c/f1ca57426fe5d0c7edb525ac354cae61245f6031.png)

In order to accommodate the use of stat modifiers, both HP and Weapon stats are now divided into Base Stats (_which always retain the original value unless it receives a permanent stat boost_) and Current Stats (_the value after applying stat modifiers to base stats and used for most calculations_).

IV. **Replaced the slow and temporary Repair tower ability** (_the AoE Global Ability [Regen Field](https://www.youtube.com/watch?v=6VufdwBl-t8) already fills that purpose now_) **with an instantaneous Repair function that is available for all Towers**. The cost of the Repair function will depend on the amount of damage incurred by the Tower and the button itself will be enabled only when the Tower is damaged.

 ![repairfunc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/8/d/98d456657ce27b3661506843c416b71b651404b6.jpeg)

V. **Added Button Position Angle variables to configure the position of the various buttons displayed when interacting with a Tower**. The Recycle and Repair button positions are defined by a single angular value each, whereas the Upgrade and Ability button positions, due to the possibility of there being multiple options, are specified using an angular range.

 ![towerbtnangles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/0/700e71295233b221630fa02fcd38d1b7e8c94dd2.png)

**Upcoming Features:**

- Option to customize Target Prioritization setting for Towers
- XP system for Hero units to level up through combat
- Hero selection through the pre-mission Loadout Menu

---

_[View the full topic](https://forums.unrealengine.com/t/tower-defense-starter-kit/57044)._
