Skip to content

Commit 86fb15f

Browse files
committed
Retakes: RetakesAllocator is used + CFG
1 parent 9fd0f3f commit 86fb15f

File tree

1 file changed

+158
-1
lines changed

1 file changed

+158
-1
lines changed

docs/cs2/plugins/cs2-plugins-retakes.md

Lines changed: 158 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,168 @@
11
---
22
slug: retakes
33
id: cs2-plugins-retakes
4-
title: "Retakes"
4+
title: "Retakes w/ RetakesAllocator"
55
---
66

77
A C# implementation of Retakes for CS2, built using CounterStrikeSharp and inspired by Splewis's version for CS:GO.
88

9+
**We use RetakesAllocator from Yoni [cs2-retakes-allocator](https://github.com/yonilerner/cs2-retakes-allocator)**
10+
11+
## Plugin Configuration for Pro Server
12+
<details>
13+
<summary>Click to expand</summary>
14+
```json
15+
{
16+
"UsableWeapons": [
17+
"Deagle",
18+
"Glock",
19+
"USPS",
20+
"HKP2000",
21+
"Elite",
22+
"Tec9",
23+
"P250",
24+
"CZ",
25+
"FiveSeven",
26+
"Revolver",
27+
"Mac10",
28+
"MP9",
29+
"MP7",
30+
"P90",
31+
"MP5SD",
32+
"Bizon",
33+
"UMP45",
34+
"XM1014",
35+
"Nova",
36+
"MAG7",
37+
"SawedOff",
38+
"M249",
39+
"Negev",
40+
"AK47",
41+
"M4A1S",
42+
"M4A1",
43+
"GalilAR",
44+
"Famas",
45+
"SG556",
46+
"AWP",
47+
"AUG",
48+
"SSG08",
49+
"SCAR20",
50+
"G3SG1"
51+
],
52+
"AllowedWeaponSelectionTypes": [
53+
"PlayerChoice",
54+
"Random",
55+
"Default"
56+
],
57+
"DefaultWeapons": {
58+
"Terrorist": {
59+
"FullBuyPrimary": "AK47",
60+
"HalfBuyPrimary": "Mac10",
61+
"Secondary": "Deagle",
62+
"PistolRound": "Glock"
63+
},
64+
"CounterTerrorist": {
65+
"FullBuyPrimary": "M4A1S",
66+
"HalfBuyPrimary": "MP9",
67+
"Secondary": "Deagle",
68+
"PistolRound": "USPS"
69+
}
70+
},
71+
"MaxNades": {
72+
"GLOBAL": {
73+
"Terrorist": {
74+
"Flashbang": 2,
75+
"Smoke": 1,
76+
"Molotov": 1,
77+
"HighExplosive": 1
78+
},
79+
"CounterTerrorist": {
80+
"Flashbang": 2,
81+
"Smoke": 1,
82+
"Incendiary": 2,
83+
"HighExplosive": 1
84+
}
85+
}
86+
},
87+
"MaxTeamNades": {
88+
"GLOBAL": {
89+
"Terrorist": {
90+
"Pistol": "AverageOnePerPlayer",
91+
"HalfBuy": "AverageOnePointFivePerPlayer",
92+
"FullBuy": "AverageOnePointFivePerPlayer"
93+
},
94+
"CounterTerrorist": {
95+
"Pistol": "AverageOnePerPlayer",
96+
"HalfBuy": "AverageOnePointFivePerPlayer",
97+
"FullBuy": "AverageOnePointFivePerPlayer"
98+
}
99+
}
100+
},
101+
"RoundTypeSelection": "Random",
102+
"RoundTypePercentages": {
103+
"Pistol": 15,
104+
"HalfBuy": 25,
105+
"FullBuy": 60
106+
},
107+
"RoundTypeRandomFixedCounts": {
108+
"Pistol": 5,
109+
"HalfBuy": 10,
110+
"FullBuy": 15
111+
},
112+
"RoundTypeManualOrdering": [
113+
{
114+
"Type": "Pistol",
115+
"Count": 5
116+
},
117+
{
118+
"Type": "HalfBuy",
119+
"Count": 10
120+
},
121+
{
122+
"Type": "FullBuy",
123+
"Count": 15
124+
}
125+
],
126+
"MigrateOnStartup": true,
127+
"ResetStateOnGameRestart": true,
128+
"AllowAllocationAfterFreezeTime": true,
129+
"UseOnTickFeatures": true,
130+
"CapabilityWeaponPaints": true,
131+
"EnableRoundTypeAnnouncement": true,
132+
"EnableRoundTypeAnnouncementCenter": false,
133+
"EnableBombSiteAnnouncementCenter": false,
134+
"BombSiteAnnouncementCenterToCTOnly": false,
135+
"DisableDefaultBombPlantedCenterMessage": false,
136+
"ForceCloseBombSiteAnnouncementCenterOnPlant": true,
137+
"BombSiteAnnouncementCenterDelay": 1,
138+
"BombSiteAnnouncementCenterShowTimer": 5,
139+
"EnableBombSiteAnnouncementChat": false,
140+
"EnableNextRoundTypeVoting": false,
141+
"NumberOfExtraVipChancesForPreferredWeapon": 1,
142+
"AllowPreferredWeaponForEveryone": false,
143+
"ChanceForPreferredWeapon": 100,
144+
"MaxPreferredWeaponsPerTeam": {
145+
"Terrorist": 1,
146+
"CounterTerrorist": 1
147+
},
148+
"MinPlayersPerTeamForPreferredWeapon": {
149+
"Terrorist": 1,
150+
"CounterTerrorist": 1
151+
},
152+
"EnableCanAcquireHook": true,
153+
"LogLevel": "Information",
154+
"ChatMessagePluginName": "Retakes",
155+
"ChatMessagePluginPrefix": null,
156+
"InGameGunMenuCenterCommands": "gunsmenu,gunmenu,!gunmenu,!gunsmenu,!menugun,!menuguns,/gunsmenu,/gunmenu",
157+
"InGameGunMenuChatCommands": "guns,!guns,/guns",
158+
"ZeusPreference": "Never",
159+
"DatabaseProvider": "Sqlite",
160+
"DatabaseConnectionString": "Data Source=data.db; Pooling=False",
161+
"AutoUpdateSignatures": true
162+
}
163+
```
164+
</details>
165+
9166
Use the search bar below to find a command:
10167

11168
import CommandSearch from '@site/src/components/CommandSearch';

0 commit comments

Comments
 (0)