Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: splewis/csgo-retakes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.3
Choose a base ref
...
head repository: splewis/csgo-retakes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 3,008 additions and 891 deletions.
  1. +1 −1 .github/ISSUE_TEMPLATE
  2. +1 −1 .gitignore
  3. +2 −3 .travis.yml
  4. +8 −2 README.md
  5. +2 −0 cfg/sourcemod/retakes/retakes_game.cfg
  6. +283 −0 configs/retakes/de_ancient.cfg
  7. +347 −0 configs/retakes/de_anubis.cfg
  8. +339 −0 configs/retakes/de_biome.cfg
  9. +33 −25 configs/retakes/de_cache.cfg
  10. +187 −0 configs/retakes/de_canals.cfg
  11. +168 −104 configs/retakes/de_cbble.cfg
  12. +58 −58 configs/retakes/de_dust2.cfg
  13. +168 −136 configs/retakes/de_inferno.cfg
  14. +69 −69 configs/retakes/de_nuke.cfg
  15. +140 −100 configs/retakes/de_overpass.cfg
  16. +315 −0 configs/retakes/de_subzero.cfg
  17. +92 −132 configs/retakes/de_tuscan.cfg
  18. +235 −0 configs/retakes/de_vertigo.cfg
  19. +24 −25 scripting/include/priorityqueue.inc
  20. +23 −24 scripting/include/queue.inc
  21. +19 −19 scripting/include/restorecvars.inc
  22. +5 −4 scripting/include/retakes.inc
  23. +102 −81 scripting/retakes.sp
  24. +13 −12 scripting/retakes/editor_commands.sp
  25. +9 −5 scripting/retakes/editor_menus.sp
  26. +17 −16 scripting/retakes/generic.sp
  27. +21 −7 scripting/retakes/natives.sp
  28. +5 −3 scripting/retakes/spawns.sp
  29. +20 −8 scripting/retakes_pistolallocator.sp
  30. +64 −29 scripting/retakes_standardallocator.sp
  31. +1 −1 translations/chi/retakes.phrases.txt
  32. +48 −0 translations/da/retakes.phrases.txt
  33. +19 −19 translations/de/retakes.phrases.txt
  34. +39 −0 translations/es/retakes.phrases.txt
  35. +2 −2 translations/hu/retakes.phrases.txt
  36. +0 −1 translations/pl/retakes.phrases.txt
  37. +39 −0 translations/pt/retakes.phrases.txt
  38. +39 −0 translations/pt_p/retakes.phrases.txt
  39. +4 −4 translations/ru/retakes.phrases.txt
  40. +47 −0 translations/tr/retakes.phrases.txt
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -12,4 +12,4 @@ If reporting a bug, fill in the following sections:
### Steps to reproduce
- Plugin version:
- Sourcemod version:

- Steps to reproduce (please be specific):
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.zip
*.smx
builds
builds
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -5,8 +5,7 @@ addons:
- lib32stdc++6 # needed for spcomp

env:
- SMVERSION=1.7
- SMVERSION=1.8
- SMVERSION=1.9

before_script:
# install smbuilder
@@ -26,7 +25,7 @@ before_script:

# install smlib
- cd include
- git clone https://github.com/splewis/smlib
- git clone https://github.com/bcserv/smlib
- cp -r smlib/scripting/include/* .

# get pugsetup include
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,10 +2,12 @@ csgo-retakes
=============

[![Build status](http://ci.splewis.net/job/csgo-retakes/badge/icon)](http://ci.splewis.net/job/csgo-retakes/)
[![GitHub Downloads](https://img.shields.io/github/downloads/splewis/csgo-retakes/total.svg?style=flat-square&label=Downloads)](https://github.com/splewis/csgo-retakes/releases/latest)
[![Discord Chat](https://img.shields.io/discord/926309849673895966.svg)](https://discord.gg/zmqEa4keCk)

This is a CS:GO [Sourcemod](http://www.sourcemod.net) plugin that creates a competitive-minded gamemode called retakes. The idea is that the T players spawn in a bombsite with the bomb, while the CT spawn on rotation routes and try to retake the site and defuse the bomb.

**Note that this plugin is currently in beta.**
**Status: Maintained. Not actively developed.**


## For plugin developers
@@ -28,7 +30,7 @@ You may download the [latest development build](http://ci.splewis.net/job/csgo-r

#### Requirements

**Only Sourcemod 1.7 or later is supported.** Releases are compiled using a 1.8 compiler and will not work on a server using a sourcemod version earlier than 1.7.
**Only Sourcemod 1.9 or later is supported.**

#### Instructions
Download the archive and extract the files to the game server. From the download, you should have installed the following (to the ``csgo`` directory):
@@ -99,3 +101,7 @@ Guidelines
- Favor readability and correctness over all else
- For a moderately advanced feature, it may be simpler to write it as a plugin that uses the retakes natives from [retakes.inc](scripting/include/retakes.inc)
- **Keep it simple, stupid**

### Discord Chat

A [Discord](https://discord.gg/zmqEa4keCk) channel is available for general discussion.
2 changes: 2 additions & 0 deletions cfg/sourcemod/retakes/retakes_game.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Things you shouldn't change:
bot_kick
bot_quota 0
cash_team_bonus_shorthanded 0
mp_autoteambalance 0
mp_do_warmup_period 1
mp_forcecamera 1
@@ -16,6 +17,7 @@ mp_respawn_on_death_t 0
mp_solid_teammates 1
mp_teamcashawards 0
mp_warmup_pausetimer 0
mp_molotovusedelay 0

// Things you can change, and may want to:
mp_autokick 0
283 changes: 283 additions & 0 deletions configs/retakes/de_ancient.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
"Spawns"
{
"0"
{
"origin" "-1256.027222 1209.392334 105.689644"
"angle" "6.687964 -114.992485 0.000000"
"bombsite" "A"
"team" "T"
"type" "2"
}
"1"
{
"origin" "-2002.794800 1115.103149 76.787476"
"angle" "8.139951 -39.092865 0.000000"
"bombsite" "A"
"team" "T"
"type" "2"
}
"2"
{
"origin" "-1228.038818 893.005554 62.031246"
"angle" "45.319946 160.571136 0.000000"
"bombsite" "A"
"team" "T"
"type" "1"
}
"3"
{
"origin" "-1515.884033 816.613342 55.031246"
"angle" "6.379996 -84.676575 0.000000"
"bombsite" "A"
"team" "T"
"type" "1"
}
"4"
{
"origin" "-1506.994873 958.527954 56.031250"
"angle" "22.440008 -98.668571 0.000000"
"bombsite" "A"
"team" "T"
"type" "1"
}
"5"
{
"origin" "-1668.018921 540.031250 72.031250"
"angle" "5.632024 35.663876 0.000000"
"bombsite" "A"
"team" "T"
"type" "2"
}
"6"
{
"origin" "-1467.968872 251.619232 136.031250"
"angle" "7.348025 -68.352081 0.000000"
"bombsite" "A"
"team" "T"
"type" "2"
}
"7"
{
"origin" "-1044.022217 644.031250 106.449852"
"angle" "7.612034 96.075935 0.000000"
"bombsite" "A"
"team" "T"
"type" "2"
}
"8"
{
"origin" "-648.903503 1417.826416 28.903763"
"angle" "5.675997 -84.412117 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"9"
{
"origin" "-828.983093 -116.005440 79.211586"
"angle" "-1.011982 -171.928207 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"10"
{
"origin" "-1724.010254 -429.730377 74.069481"
"angle" "2.772156 104.604500 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"11"
{
"origin" "-1911.060913 -398.322144 80.031250"
"angle" "3.476154 115.604401 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"12"
{
"origin" "-119.253662 874.647522 81.095367"
"angle" "5.104161 155.864609 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"13"
{
"origin" "93.968758 584.421631 91.253204"
"angle" "8.184156 93.068466 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"14"
{
"origin" "-343.579254 636.350220 85.579742"
"angle" "4.180155 24.824474 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"15"
{
"origin" "-543.986755 243.656326 167.170837"
"angle" "8.184161 -70.654922 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"16"
{
"origin" "-57.815552 -717.289124 159.622833"
"angle" "2.624320 -26.624336 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"17"
{
"origin" "624.031250 -498.254639 124.296326"
"angle" "5.852169 -27.886879 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"18"
{
"origin" "1255.968872 -1479.976074 30.016689"
"angle" "6.512161 113.785271 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"19"
{
"origin" "1395.968872 516.031250 131.925629"
"angle" "5.280183 137.589127 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"20"
{
"origin" "1307.968872 240.057907 131.031250"
"angle" "3.652181 -178.235184 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"21"
{
"origin" "333.739258 292.968750 159.936630"
"angle" "3.344189 -80.599442 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"22"
{
"origin" "601.970703 -83.538193 180.031250"
"angle" "10.472207 -145.367416 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"23"
{
"origin" "572.031250 400.319305 125.275551"
"angle" "4.004207 76.128860 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"24"
{
"origin" "1176.005493 -352.634064 80.343712"
"angle" "5.852197 -93.271378 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"25"
{
"origin" "594.031250 -301.968750 136.498428"
"angle" "7.876200 23.364906 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"26"
{
"origin" "812.910339 152.031250 134.031250"
"angle" "6.952241 -18.698788 0.000000"
"bombsite" "B"
"team" "T"
"type" "1"
}
"27"
{
"origin" "1029.171021 122.936829 134.031250"
"angle" "12.804238 -135.122894 0.000000"
"bombsite" "B"
"team" "T"
"type" "1"
}
"28"
{
"origin" "947.619141 -73.883812 133.031250"
"angle" "15.268222 162.132553 0.000000"
"bombsite" "B"
"team" "T"
"type" "1"
}
"29"
{
"origin" "803.385620 4.968750 134.031250"
"angle" "13.332204 0.960496 0.000000"
"bombsite" "B"
"team" "T"
"type" "1"
}
"30"
{
"origin" "498.001434 782.008301 114.835678"
"angle" "11.220208 86.320549 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
"31"
{
"origin" "-284.008087 -762.261658 115.031250"
"angle" "5.500248 5.272570 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"32"
{
"origin" "-1206.000000 -792.031250 45.834499"
"angle" "8.712256 3.909667 0.000000"
"bombsite" "B"
"team" "CT"
"type" "2"
}
"33"
{
"origin" "-1520.031250 -1005.774719 21.031956"
"angle" "0.000254 120.985466 0.000000"
"bombsite" "A"
"team" "CT"
"type" "2"
}
"34"
{
"origin" "324.141632 -101.322655 153.843765"
"angle" "3.541057 -53.222660 0.000000"
"bombsite" "B"
"team" "T"
"type" "2"
}
}
Loading