Giter Club home page Giter Club logo

tfgo's Introduction

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.

tfgo's People

Contributors

batfoxkid avatar blueberryy avatar fortytwofortytwo avatar mikusch avatar nosoop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tfgo's Issues

Support maps with multiple control points

Multi-CP maps like arena_byre are kinda broken.

We should probably just lock any other control point that isn't the bomb site. This would require us to set the winning team manually.

Make melee weapons available for purchase

The current selection of weapons feels too small.

Classes should start with their stock melee weapon and be able to buy different ones for roughly the same amount as secondaries.

Allow players to spawn with their own weapons

You should be able to spawn with your own weapons instead of being given a stock variant if they are functionally the same.

Sniper, for example, always spawns with a stock SMG (defindex 16). If a player spawns with a strange variant (defindex 203) or a war paint from their own backpack, we could just let them keep it instead of generating a stock SMG and overriding it.

Not only does this allow everyone to use their own items, it is also a performance gain because we have to give less weapons on round start. This would only work with starting weapons, of course.

To define possible/whitelisted variants we can use tfgo.cfg and add stock weapons to it. We can not actually do this via weapon class due to some unlocks sharing the same class e.g. tf_weapon_shotgun being the weapon class for both the Shotgun and the Panic Attack.

Example:

"16" // Stock SMG
{
    "variations"
    {
        "1"    "203"      // SMG (Strange/Renamed)
        "2"    "1149"     // Festive SMG
        "3"    "15001"    // Woodsy Widowmaker
        ...
    }
}

If someone has a better idea, let me know.

Buy menu gets stuck sometimes

Sometimes, the buy menu gets stuck, meaning that all players on both teams can not buy items and the menu doesn't react to players leaving the buy zone.

I haven't been able to consistently reproduce this locally yet but from what I've seen this only happens on maps with respawn rooms.

Suggestion: make the first round a warm up round

With only a few people usually being able to join before the end of the first round, most people end up starting the second round with a third of the money they should have. Making it a warm up round (could make it so everyone starts with $10k or $1k as usual, choice is yours) would give the majority a better chance to start playing in an even field.

In the second round, money and maybe score should reset so the gamemode would play as normal from then.

Buy weapons menu not translated correctly

tfgo
This is likely because it using someone else in server to translate instead of yourself.
This also looks awkward for non-english people to only see stock weapons translated while rest is locked english.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.