-
Notifications
You must be signed in to change notification settings - Fork 13
/
thread.txt
278 lines (224 loc) · 7.19 KB
/
thread.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
[URL="https://forums.alliedmods.net/showthread.php?p=2604368&nojs=1#goto_threadrating"]Rate Thread [IMG]https://forums.alliedmods.net/images/misc/menu_open.svg[/IMG][IMG]https://forums.alliedmods.net/images/rating/rating_5.svg[/IMG][/URL]
[B][SIZE="5"]MyWeaponAllocator[/SIZE][/B] for [URL="https://forums.alliedmods.net/showthread.php?t=262658"]splewis Retakes[/URL]
This weapon allocator simulates different kinds of rounds - [b]FULLBUY, FORCEBUY, PISTOL & (DEAGLE)[/b].
These rounds will be set through two different modes.
- [B]Ascending rounds[/B] ([U]mywa_rounds_chance 1[/U]) - first [i]x[/i] rounds will be [B]PISTOL[/B], then [i]x[/i] [B]FORCEBUY[/B] rounds after that [i]x[/i] [B]FULLBUY[/B] rounds.
- [B]Random rounds by chance[/B] ([U]mywa_rounds_chance 0[/U]) - It's a random chance to play [B]FULLBUY, FORCEBUY, PISTOL & DEAGLE[/B] rounds in no special order.
[B]DEAGLE[/B] rounds are only available on random rounds ([U]mywa_rounds_chance 0[/U]) & don't give grenades.
Players can choose their preferred weapons for these rounds through !gun menu.
The plugin will give equipment (grenades, armor & kit) in these rounds based on the configured money, mode & max amount of grenades.
Take a look at the configuration for a better understanding.
[B][u]ConVars[/u][/B]
[SPOILER]
[code]
// 0 - disabled, 1 - enable plugin
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_enable "1"
// 0 - chance / 1- rounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_rounds_chance "1"
// percent chance a round will be a pistol round (mywa_rounds_chance 0)
// -
// Default: "20"
// Minimum: "0.000000"
mywa_chance_pistol "20"
// percent chance a round will be a force round (mywa_rounds_chance 0)
// -
// Default: "30"
// Minimum: "0.000000"
mywa_chance_force "30"
// percent chance a round will be a deagle round (mywa_rounds_chance 0)
// -
// Default: "5"
// Minimum: "0.000000"
mywa_chance_deagle "5"
// how many round will be pistol round (mywa_rounds_chance 1)
// -
// Default: "3"
// Minimum: "0.000000"
mywa_rounds_pistol "3"
// how many round will be force round (mywa_rounds_chance 1)
// -
// Default: "4"
// Minimum: "0.000000"
mywa_rounds_force "4"
// money for weapons and equipment on fullbuy round
// -
// Default: "16000"
// Minimum: "0.000000"
mywa_money_full "16000"
// money for weapons and equipment on pistol round
// -
// Default: "800"
// Minimum: "0.000000"
mywa_money_pistol "800"
// money for weapons and equipment on forcebuy round
// -
// Default: "2400"
// Minimum: "0.000000"
mywa_money_force "2400"
// min number of player in terrorist team before AWP is available for T
// -
// Default: "3"
// Minimum: "1.000000"
mywa_awp_min_t "3"
// min number of player in terrorist team before scout is available for T
// -
// Default: "2"
// Minimum: "1.000000"
mywa_scout_min_t "2"
// max number of AWPs for terrorist team / 0 - no AWPs
// -
// Default: "1"
// Minimum: "0.000000"
mywa_awp_t "1"
// max number of scouts for terrorist team in force rounds/ 0 - no scouts
// -
// Default: "1"
// Minimum: "0.000000"
mywa_scout_t "1"
// max number of molotovs for terrorist team / 0 - no molotovs
// -
// Default: "2"
// Minimum: "0.000000"
mywa_molotov_t "2"
// max number of smokegrenades for terrorist team / 0 - no smokegrenades
// -
// Default: "2"
// Minimum: "0.000000"
mywa_smoke_t "2"
// max number of flashbangs for terrorist team / 0 - no flashbangs
// -
// Default: "3"
// Minimum: "0.000000"
mywa_flash_t "3"
// max number of HEgrenades for terrorist team / 0 - no HEgrenades
// -
// Default: "3"
// Minimum: "0.000000"
mywa_he_t "3"
// min number of player in counter-terrorist team before AWP is available for CT
// -
// Default: "3"
// Minimum: "1.000000"
mywa_awp_min_ct "3"
// min number of player in counter-terrorist team before scout is available for CT
// -
// Default: "2"
// Minimum: "1.000000"
mywa_scout_min_ct "2"
// max number of AWPs for counter-terrorist team / 0 - no AWPs
// -
// Default: "1"
// Minimum: "0.000000"
mywa_awp_ct "1"
// max number of scouts for counter-terrorist team in force rounds/ 0 - no scouts
// -
// Default: "1"
// Minimum: "0.000000"
mywa_scout_ct "1"
// max number of molotovs for counter-terrorist team / 0 - no molotovs
// -
// Default: "2"
// Minimum: "0.000000"
mywa_molotov_ct "2"
// max number of smokegrenades for counter-terrorist team / 0 - no smokegrenades
// -
// Default: "2"
// Minimum: "0.000000"
mywa_smoke_ct "2"
// max number of flashbangs for counter-terrorist team / 0 - no flashbangs
// -
// Default: "3"
// Minimum: "0.000000"
mywa_flash_ct "3"
// max number of HEgrenades for counter-terrorist team / 0 - no HEgrenades
// -
// Default: "3"
// Minimum: "0.000000"
mywa_he_ct "3"
// order to buy the equipments / 0 - random, 1 - 1st grenades 2nd armor & kit, 2 - 1st armor & kit 2nd grenades
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
mywa_buy_order "0"
// 0 - disabled, 1 - enable kevlar
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_kevlar "1"
// 0 - disabled, 1 - enable helm
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_helm "1"
// 0 - disabled, 1 - enable defuser
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_defuser "1"
// 0 - disabled, 1 - enable deagle for pistol & fullbuy rounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_deagle "1"
// 0 - disabled, 1 - enable revolver for pistol & fullbuy rounds
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_revolver "1"
// 0 - disabled, 1 - enable bombsite notifications
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
mywa_bombsite "1"
[/code]
[/SPOILER]
[U][B]Required plugins[/B][/U]
[LIST]
[*][URL="https://forums.alliedmods.net/showthread.php?t=262658"]Retakes[/URL] by splewis
[/LIST]
[U][B]ChangeLog[/B][/U]
[QUOTE]
v2.1
[LIST]
[*]fixed error, thx ramonberrutti
[/LIST]
v2.0
[LIST]
[*]public release
[/LIST]
[/QUOTE]
[U][B]Credits[/B][/U] :bacon!:
[B]Leeter & xooni for the idea, commissioning & testing![/B] Thx for share!
Big thanks @splewis for his great work on retakes!
Also big thanks to all sourcemod & metamod developers out there!
[B][U]Include file for compile[/U][/B]
[LIST]
[*][URL="https://github.com/splewis/csgo-retakes/blob/master/scripting/include/retakes.inc"]retakes.inc[/URL]
[/LIST]
[B][U]Installation[/U][/B]
[QUOTE][LIST=1]
[*]MyWeaponAllocator.smx -> addons/sourcemod/plugins/
[*]MyWeaponAllocator.phrases.txt -> addons/sourcemod/translations/
[*]MyWeaponAllocator.sp -> addons/sourcemod/scripting/ (optional)
[*]Config file sourcemod/retakes/MyWeaponAllocator.cfg will be generated after first startup
[*]Have Fun! Give feedback!
[/LIST]
[/QUOTE]
[U][B]Github[/B][/U]
[url]https://github.com/shanapu/MyWeaponAllocator[/url]
[SIZE="1"]You like my work for the community?[/SIZE] Buy me a beer! [URL="https://www.paypal.me/shanapu"] [IMG]https://www.paypalobjects.com/webstatic/en_US/i/btn/png/silver-rect-paypal-26px.png[/IMG][/URL]