Skip to content

Commit 918636b

Browse files
committed
- ADDED: SLAYER_Football
1 parent 01024b4 commit 918636b

File tree

6 files changed

+131
-1
lines changed

6 files changed

+131
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Mod | Version | Why
132132
[cs2-quake-sounds](https://github.com/Kandru/cs2-quake-sounds) | `1.0.8` | Quake Sounds on multi kills.
133133
[CS2-WeaponSpeed](https://github.com/akanora/CS2-WeaponSpeed) | `1.2` | Gives players a speed boost when they fire specified weapons.
134134
[SpectatorList-CS2](https://github.com/wiruwiru/SpectatorList-CS2) | `9` | Shows real-time spectators in on-screen display.
135+
[SLAYER_Football](https://github.com/zakriamansoor47/SLAYER_Football) | `1.1` | Football in CS2.
135136
[BotsNoKnife](https://discord.com/channels/1160907911501991946/1365937101886984262) | `1.0` | Keeps Bots from using the knife.
136137

137138
## Share the love
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
// This configuration was automatically generated by CounterStrikeSharp for plugin 'SLAYER_Football', at 2024/06/22 08:37:27
2+
{
3+
"FB_PluginEnabled": true,
4+
"FB_AutostartEnabled": true, // Autostart Match Enabled in all maps? (true = Yes, false = No)
5+
"FB_AdminFlagToUseCMDs": "@css/root", // Who have access to use commands?
6+
"FB_MapSettings": [
7+
{
8+
"MapName": "field", // Enter the Map name for which these settings for
9+
"ScoreboardEnabled": true, // Enable the Scoreboard in Map? (true = Yes, false = No)
10+
"MaxPlayersInEachTeam": 5, // How many players allowed in Each team in this Map?
11+
"PlayersNeedForAutoStart": 2, // How many players needed to auto start game? (0 = Disable Autostart for this Map)
12+
"GoalsNeedToWin": 7, // How many Goals needed to Win the Game?
13+
"CT_Spawns": [ // CT Spawn Points in this Map
14+
{
15+
"CT_SpawnPoint_1": "30.00 -300.00 -185.48", // Center (next to ball) | NOTE: Always set players spawn position from Center to Goal Position
16+
"CT_SpawnPoint_2": "210.00 -470.00 -185.48", // Mid-Forward-left
17+
"CT_SpawnPoint_3": "210.00 -300.00 -185.48", // Mid-Forward-Center
18+
"CT_SpawnPoint_4": "210.00 -130.00 -185.48", // Mid-Forward-Right
19+
"CT_SpawnPoint_5": "450.00 -470.00 -185.48", // Mid-Back-left
20+
"CT_SpawnPoint_6": "450.00 -300.00 -185.48", // Mid-Back-Center
21+
"CT_SpawnPoint_7": "450.00 -130.00 -185.48", // Mid-Back-Right
22+
"CT_SpawnPoint_8": "650.00 -300.00 -185.48", // Goal Position
23+
"CT_SpawnPoint_9": "",
24+
"CT_SpawnPoint_10": "",
25+
"CT_SpawnPoint_11": ""
26+
// Add more Spawn Points if you need
27+
}
28+
],
29+
"T_Spawns": [
30+
{
31+
"T_SpawnPoint_1": "-90.00 -300.00 -185.48", // Center (next to ball) | NOTE: Always set players spawn position from Center to Goal Position
32+
"T_SpawnPoint_2": "-270.00 -130.00 -185.48", // Mid-Forward-left
33+
"T_SpawnPoint_3": "-270.00 -300.00 -185.48", // Mid-Forward-Center
34+
"T_SpawnPoint_4": "-270.00 -470.00 -185.48", // Mid-Forward-Right
35+
"T_SpawnPoint_5": "-510.00 -130.00 -185.48", // Mid-Back-left
36+
"T_SpawnPoint_6": "-510.00 -300.00 -185.48", // Mid-Back-Center
37+
"T_SpawnPoint_7": "-510.00 -470.00 -185.48", // Mid-Back-Right
38+
"T_SpawnPoint_8": "-710.00 -300.00 -185.48", // Goal Position
39+
"T_SpawnPoint_9": "",
40+
"T_SpawnPoint_10": "",
41+
"T_SpawnPoint_11": ""
42+
// Add more Spawn Points if you need
43+
}
44+
],
45+
// Configure Scoreboard according to the Map
46+
"Scoreboard_1": [
47+
{
48+
"MessageText": "BEST OF\n{0:D2}", // Text Message (Note: Just Change the 'Best of' text | '{0:D2}' represents total Goals Target)
49+
"FontName": "Arial", // Font of the Text
50+
"FontSize": 20, // Font Size of the Text
51+
"HexColor": "#FFFFFFFF", // Color of the Text
52+
"Position": "-41 -929 130", // Position of the Text
53+
"Rotation": "0 180 90" // Rotation of the Text
54+
}
55+
],
56+
"Scoreboard_2": [
57+
{
58+
"MessageText": "{0:D2} {1:D2}", // Note: Only Adjust Spaces between {0:D2} and {1:D2}
59+
"FontName": "Arial",
60+
"FontSize": 30,
61+
"HexColor": "#FF3CB371",
62+
"Position": "-39 -929 60",
63+
"Rotation": "0 180 90"
64+
}
65+
]
66+
// Don't add anymore Scoreboard, they won't work
67+
}
68+
// Add more Maps here
69+
],
70+
"ConfigVersion": 1
71+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Chat.Prefix": "{Gold}[{DarkRed}★ {Lime}Football {DarkRed}★{Gold}]",
3+
"Chat.Invalid": "{DarkRed}Invalid Value. {White}Please Enter integer Value {Lime}!startgame <goals>",
4+
"Chat.GameStarted": "{Green}Game Started! {Gold}Total Goals to Win: {Lime}{0}",
5+
"Chat.CTGoal": "{Blue}Counter-Terrorists {White}scored a {Gold}Goal! {Purple}Total Goals: {Lime}{0}{DarkRed}/{1}",
6+
"Chat.TGoal": "{Red}Terrorists {White}scored a {Gold}Goal! {Purple}Total Goals: {Lime}{0}{DarkRed}/{1}",
7+
"Chat.Winner": "{DarkRed}Game End! {Gold}And the Winner is: {Green}{0}",
8+
"Chat.MatchEnd": "{DarkRed}Game End! {Gold}Not Enough players for the Match",
9+
"Chat.GameStarting": "{Green}Enough players to start the Game. {Gold}The match will autostart in {Green}{0} {Red}seconds!",
10+
"Chat.NotEnoughPlayers": "{Red}Not Enough players to start the Game. {Green}{0} {Gold}Players need to start the {Green}Game!"
11+
}

game/csgo/cfg/soccer.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ exec custom_soccer.cfg
1111
// CS2AnnounementBroadcaster Mode Flag
1212
CS2AB_flag_1 22
1313
14+
css_plugins load "plugins/disabled/SLAYER_Football/SLAYER_Football.dll"
15+
// css_plugins load "plugins/disabled/WeaponSpeed/WeaponSpeed.dll"
16+
1417
exec soccer_settings.cfg
1518
1619
exec_after_map_start "exec soccer_settings.cfg"

game/csgo/cfg/soccer_settings.cfg

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,55 @@ exec gamemode_casual.cfg
22

33
sv_cheats 1
44

5-
mp_freezetime 0
65
mp_team_intro_time 0
76
mp_round_restart_delay 3
87
mp_roundtime 10
98

9+
// mp_weapons_allow_zeus 1
10+
// mp_taser_recharge_time 5
11+
12+
mp_t_default_primary ""
13+
mp_t_default_secondary ""
14+
mp_t_default_melee "weapon_knife" // weapon_taser
15+
mp_t_default_grenades ""
16+
17+
mp_ct_default_primary ""
18+
mp_ct_default_secondary ""
19+
mp_ct_default_melee "weapon_knife"
20+
mp_ct_default_grenades ""
21+
22+
//-------------------------------
23+
// Need For CS2 Football Plugin
24+
//-------------------------------
25+
mp_autoteambalance 1
26+
mp_limitteams 1
27+
mp_startmoney 0
28+
mp_buytime 0
29+
mp_timelimit 0
30+
mp_fraglimit 0
31+
mp_freezetime 1
32+
mp_maxrounds 500
33+
mp_winlimit 0
34+
mp_warmuptime 0
35+
mp_forcecamera 0
36+
mp_solid_teammates 1
37+
38+
// Bot Stuff
39+
bot_add
40+
bot_quota 4
41+
bot_quota_mode "fill"
42+
bot_allow_grenades 0
43+
bot_auto_follow 0
44+
bot_auto_vacate 1
45+
bot_chatter "off"
46+
bot_difficulty 3
47+
bot_join_after_player 1
48+
bot_join_team "any"
49+
bot_walk 0
50+
bot_knives_only 1
51+
bot_defer_to_human_goals 1 // This command prevents bots from doing scenario tasks when it is set on
52+
bot_defer_to_human_items 1 // This console command prevents bots from taking scenario items when it is set on.
53+
1054
exec settings/alltalk_on.cfg
1155
exec settings/map_voting.cfg
1256

0 commit comments

Comments
 (0)