Giter Site home page Giter Site logo

cs2-retakes's Introduction

GitHub Downloads GitHub Actions Workflow Status

CS2 Retakes

CS2 implementation of retakes written in C# for CounterStrikeSharp. Based on the version for CS:GO by Splewis.

Share the love

If you appreciate the project then please take the time to star the repository ๐Ÿ™

Star us

Features / Roadmap

  • Bombsite selection
  • Per map configurations
  • Ability to add spawns
  • Spawn system
  • Temporary weapon allocation (hard coded)
  • Temporary grenade allocation (hard coded)
  • Equipment allocation
  • Queue manager (Queue system)
  • Team manager (with team switch calculations)
  • Retakes config file
  • Add translations
  • Improve bombsite announcement
  • Queue priority for VIPs
  • Add autoplant
  • Add a command to view the spawns for the current bombsite
  • Add a command to delete the nearest spawn
  • Implement better spawn management system
  • Add a release zip file without spawns too

Installation

  • Download the zip file from the latest release, and extract the contents into your counterstrikesharp/plugins directory.
  • Download the shared plugin zip file and put it into your counterstrikesharp/shared directory.

Recommendations

I also recommend installing these plugins for an improved player experience

Allocators

Although this plugin comes with it's own weapon allocation system, I would recommend using one of the following plugins for a better experience:

Configuration

When the plugin is first loaded it will create a retakes_config.json file in the plugin directory. This file contains all of the configuration options for the plugin:

Config Description Default Min Max
Version The retakes config version. This is used to automatically migrate the retakes config file for you. ignore this value. IGNORE IGNORE IGNORE
MaxPlayers The maximum number of players allowed in the game at any time. (If you want to increase the max capability you need to add more spawns) 9 2 10
TerroristRatio The percentage of the total players that should be Terrorists. 0.45 0 1
RoundsToScramble The number of rounds won in a row before the teams are scrambled. 5 -1 99999
IsScrambleEnabled Whether to scramble the teams once the RoundsToScramble value is met. true false true
EnableFallbackAllocation Whether to enable the fallback weapon allocation. You should set this value to false if you're using a standalone weapon allocator. true false true
EnableBombsiteAnnouncementVoices Whether to play the bombsite announcement voices. The volume for these values is client sided snd_toolvolume. true false true
EnableBombsiteAnnouncementCenter Whether to display the bombsite in the center announcement box. true false true
ShouldBreakBreakables Whether to break all breakable props on round start (People are noticing rare crashes when this is enabled). false false true
ShouldOpenDoors Whether to open doors on round start (People are noticing rare crashes when this is enabled). false false true
IsAutoPlantEnabled Whether to enable auto bomb planting at the start of the round or not. true false true
ShouldForceEvenTeamsWhenPlayerCountIsMultipleOf10 Whether to force even teams when the active players is a multiple of 10 or not. (this means you will get 5v5 @ 10 players / 10v10 @ 20 players) true false true

Commands

Command Arguments Description Permissions
!showspawns <A / B> Show the spawns for the specified bombsite. @css/root
!addspawn <CT / T> <Y / N (can be planter)> Adds a retakes spawn point for the bombsite spawns currently shown. @css/root
!removespawn Removes the nearest spawn point for the bombsite currently shown. @css/root
!nearestspawn Teleports the player to the nearest spawn. @css/root
!hidespawns Exits the spawn editing mode. @css/root
!scramble Scrambles the teams next round. @css/admin
!voices Toggles whether or not to hear the bombsite voice announcements.
css_debugqueues SERVER ONLY Shows the current queue state in the server console.

Stay up to date

Subscribe to release notifications and stay up to date with the latest features and patches:

image

Credits

This was inspired by the CS:GO Retakes project written by splewis.

cs2-retakes's People

Contributors

b3none avatar dependabot[bot] avatar crashzk avatar zwolof avatar killerroi avatar ipsvn avatar royz-iwnl avatar st1ng2 avatar yonilerner avatar rsklippy avatar asapverneri avatar ravid-a avatar nokkvireyr avatar fabiosantoscode avatar deondupreez avatar nubston avatar casarica avatar brkvlr avatar

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.