/tfgo

Team Fortress 2 gamemode inspired by Counter-Strike: Global Offensive

Primary LanguageSourcePawnGNU General Public License v3.0GPL-3.0

Team Fortress: Global Offensive Action Status

TF:GO brings the bomb defusal mode from Counter-Strike: Global Offensive to Team Fortress 2 arena. All players begin the game with basic weapons and can buy new equipment at the start of each round with money earned from neutralizing enemy players or planting the bomb.

The plugin first started development on September 29, 2019 by Mikusch and was his first project written in SourcePawn.

Features

  • Similar gameplay to Counter-Strike: Global Offensive's bomb defusal mode
  • Support for a wide range of arena maps
  • Critical headshots on weapons like pistols, SMGs and revolvers
  • Highly configurable using the plugin configuration and convars
  • Support for custom music kits
  • Support for custom map voting plugins

Dependencies

Downloads

GitHub automatically builds an archive on every push to the repository that contains all files required to run the game mode. To download this archive head over to Actions and click on the latest "Package" workflow on branch master.

Alternatively, you may check for the last stable release on the Releases page.

Music Kits

The gamemode comes with two default music kits, valve_csgo_01 and valve_csgo_02, which get randomly assigned to each player when they join the server.

To add a new music kit, use the TFGO_RegisterMusicKit native. Each music kit requires a unique name and a soundscript specifying the sounds for each sound type.

To assign a newly registered music kit to a client, use the TFGO_SetClientMusicKit native.

Maps

While there is no direct map support in the plugin, it should function with almost every arena map that doesn't screw with the control points after the bomb has been planted.

The plugin searches for func_respawnroom entities to define the buy zones for each team. If none are present in the map, the gamemode will calculate a spherical buy zone based on spawn points.