Skip to content

Commit f19f896

Browse files
committed
Path Fix
1 parent 6fbc06c commit f19f896

File tree

3 files changed

+89
-2
lines changed

3 files changed

+89
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
4848
# Make dlls path
4949
mkdir -p ../cstrike/addons/matchbot/dlls
50+
mkdir -p ../cstrike/addons/spread/dlls
5051
5152
# Copy release file
5253
cp ./Release/matchbot_mm.so ../cstrike/addons/matchbot/dlls
@@ -166,6 +167,9 @@ jobs:
166167
# Set assets data
167168
$assets = "https://github.com/SmileYzn/spread/releases/download/0.0.2/win32.zip"
168169
170+
# Make DLL path
171+
mkdir publish\addons\spread\dlls
172+
169173
# Get ZIP file name
170174
$zipName = "win32.zip"
171175

cstrike/addons/metamod/plugins.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ win32 addons/hitboxfixer/hitbox_fix_mm.dll
77
linux addons/hitboxfixer/hitbox_fix_mm_i386.so
88

99
; Spread Control Fix
10-
win32 addons/spread/dlls/accuracyfix_mm.dll
11-
linux addons/spread/dlls/accuracyfix_mm.so
10+
win32 addons/spread/dlls/spread_mm.dll
11+
linux addons/spread/dlls/spread_mm.so

cstrike/addons/spread/spread.cfg

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
// Activate Plugin
2+
//
3+
// 0 Disabled
4+
// 1 Enabled
5+
//
6+
// Default "1"
7+
sc_active "1"
8+
9+
// Check if the player is on ground to apply fix
10+
//
11+
// 0 Disable Check
12+
// 1 Enable Check
13+
//
14+
// Default "1"
15+
sc_ground_check "1"
16+
17+
// Maximum player speed divisor:
18+
// Checks if the player moves above the speed:
19+
// Formula of this: PLAYER_VELOCITY <= (WEAPON_MAX_SPEED / sc_max_speed)
20+
// Weapons Table: https://wiki.alliedmods.net/CS_Weapons_Information
21+
//
22+
// > 0.0 (Greater than zero activates the check)
23+
//
24+
// Default "2.0"
25+
sc_max_speed "2.0"
26+
27+
// Maximum player punch angle while shotting:
28+
// The first shot always have 0.0 (Zero) of punch angle
29+
// The second shot have other value deppending each weapon
30+
//
31+
// >= 0.0 (Greater than or equal to zero activates the check)
32+
// < 0.0 (Less than zero disables checking)
33+
//
34+
// Default "2.0"
35+
sc_max_punch_angle "2.0"
36+
37+
// Spread value applied when all checks has passed
38+
//
39+
// >= 0.0 (Greater than or equal to zero enables the adjustment)
40+
// < 0.0 (Less than zero disables adjustment)
41+
//
42+
// Default "0.0"
43+
sc_spread "0.0"
44+
45+
// Weapons blocked from spread control fix
46+
//
47+
// To block weapon: Put 1 on weapon position
48+
// To allow weapon: Put 0 on weapon slot
49+
//
50+
// 0 Not Used
51+
// 1 P228
52+
// 2 GLOCK
53+
// 3 SCOUT
54+
// 4 HEGRENADE
55+
// 5 XM1014
56+
// 6 C4
57+
// 7 MAC10
58+
// 8 AUG
59+
// 9 SMOKEGRENADE
60+
// 10 ELITE
61+
// 11 FIVESEVEN
62+
// 12 UMP45
63+
// 13 SG550
64+
// 14 GALIL
65+
// 15 FAMAS
66+
// 16 USP
67+
// 17 GLOCK18
68+
// 18 AWP
69+
// 19 MP5N
70+
// 20 M249
71+
// 21 M3
72+
// 22 M4A1
73+
// 23 TMP
74+
// 24 G3SG1
75+
// 25 FLASHBANG
76+
// 26 DEAGLE
77+
// 27 SG552
78+
// 28 AK47
79+
// 29 KNIFE
80+
// 30 P90
81+
//
82+
// Default "000000000000000000000000000000"
83+
// sc_weapons_block "000000000000000000000000000000"

0 commit comments

Comments
 (0)