Skip to content

tf2td/towerdefense

Repository files navigation

TF2 Tower Defense

TF2 Tower Defense is a modification to Valve's game Team Fortress 2. Basically you have to stop enemies from crossing a map by buying towers and building up defenses.

Authors

TF2 Tower Defense was originally created by floube and mani.

It was last maintained by Hurp Durp.

Dragonisser is currently looking at issues/enhancements/tweaks.


Plugin - floube, Benedevil, Hurp Durp

Maps - mani, fatboy, Berry

Requirements

Optional Plugins

Installation

  1. Create a dedicated TF2 server and install metamod + sourcemod, and the extensions and plugins above. Ensure that the server and plugins work before continuing.

  2. Download the latest release of TF2TD.

  3. On your MySQL/MariaDB server, create a new towerdefense database and user. Import the tf2td.sql file from the download into your database.

  4. Add the database information to your sourcemod databases.cfg file (an example can be found here).

  5. Copy towerdefense.cfg to your server's tf/cfg folder. This file has settings that need to be executed when the server starts. Add the following to the end of your server's cfg/server.cfg file to do so:

    exec towerdefense

  6. Copy the tf2tdcustom/ folder and its contents into your server's tf/custom/ directory.

  7. Copy towerdefense.smx to your sourcemod tf/addons/sourcemod/plugins folder.

  8. Start your server with the map td_firstone_v11b. You should be able to connect and play if everything was set up correctly.

General Information

In case you are using STAC you need to set "stac_work_with_sv_cheats" to "1" or else STAC will shut itself down. It is recommended to also use Cheat-Control.

Trouble getting it working? Create an issue and provide your server log files and other required information for assistance.