From 3823d679750c0271faec6c32fdb234980af5581e Mon Sep 17 00:00:00 2001 From: Blake Kus Date: Fri, 11 Oct 2024 16:05:41 +1100 Subject: [PATCH] - ADDED: Battle Royale mode with maps br_electrified, br_flood & br_stacks - ADDED: Futsal map to soccer mode - ADDED: PUBG school map to GunGame and Deathmatch - ADDED: kz_dima to KZ mode --- README.md | 18 ++++++++++----- custom_files_example/cfg/custom_br.cfg | 2 ++ .../GameModeManager/GameModeManager.json | 1 + .../cfg/messages.json | 12 +++++++++- game/csgo/cfg/br.cfg | 23 +++++++++++++++++++ game/csgo/cfg/br_settings.cfg | 21 +++++++++++++++++ game/csgo/cfg/custom_br.cfg | 4 ++++ game/csgo/cfg/mods.cfg | 1 + game/csgo/cfg/soccer.cfg | 2 +- game/csgo/gamemodes_server.txt | 20 ++++++++++++++-- game/csgo/subscribed_file_ids.txt | 6 +++++ 11 files changed, 100 insertions(+), 10 deletions(-) create mode 100644 custom_files_example/cfg/custom_br.cfg create mode 100644 game/csgo/cfg/br.cfg create mode 100644 game/csgo/cfg/br_settings.cfg create mode 100644 game/csgo/cfg/custom_br.cfg diff --git a/README.md b/README.md index 22270745..807c07a1 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ Each game mode has a hand full of maps preset so you are ready to go and it's [e - Mini Games ([Steam API key](#playing-workshop-mapscollections) required) - Deathrun ([Steam API key](#playing-workshop-mapscollections) required) - Course format (tests players with different traps, kz, surf, bhop) ([Steam API key](#playing-workshop-mapscollections) required) +- Battle Royale ([Steam API key](#playing-workshop-mapscollections) required) - Hide n Seek ([Steam API key](#playing-workshop-mapscollections) required) - Soccer ([Steam API key](#playing-workshop-mapscollections) required) @@ -429,7 +430,7 @@ Players can start a vote to change the game mode by typing `!gamemode` in chat. Vote to change game mode -You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm`, `!gg`, `!1v1`, `!awp`, `!aim`, `!prefire`, `!executes`, `!retake`, `!prac`, `!bhop`, `!kz`, `!surf`, `!minigames`, `!deathrun`, `!course`, `!scoutzknivez`, `!hns`, `!soccer`, `!1.6`. +You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm`, `!gg`, `!1v1`, `!awp`, `!aim`, `!prefire`, `!executes`, `!retake`, `!prac`, `!bhop`, `!kz`, `!surf`, `!minigames`, `!deathrun`, `!course`, `!scoutzknivez`, `!hns`, `!br`, `!soccer`, `!1.6`. ### What maps are preconfigured with each mode? @@ -447,11 +448,11 @@ You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm #### mg_dm -
cs_italy
changelevel cs_italy
cs_office
changelevel cs_office
de_vertigo
changelevel de_vertigo
de_ancient
changelevel de_ancient
de_anubis
changelevel de_anubis
de_dust2
changelevel de_dust2
de_inferno
changelevel de_inferno
de_mirage
changelevel de_mirage
de_nuke
changelevel de_nuke
de_overpass
changelevel de_overpass
de_vertigo
changelevel de_vertigo
ar_shoots
changelevel ar_shoots
ar_baggage
changelevel ar_baggage
gd_rialto
host_workshop_map 3085490518
de_safehouse
host_workshop_map 3070550406
de_lake
host_workshop_map 3070563536
de_bank
host_workshop_map 3070581293
de_shortdust
host_workshop_map 3070612859
ar_pool_day
changelevel ar_pool_day
fy_iceworld
host_workshop_map 3070238628
daymare
host_workshop_map 3072640420
aim_theorem
host_workshop_map 3070348309
de_assembly
changelevel de_assembly
de_cbble
host_workshop_map 3070212801
de_cache
host_workshop_map 3070244931
de_pipeline
host_workshop_map 3079872050
de_biome
host_workshop_map 3075706807
dm_desk
host_workshop_map 3077599381
fun_bounce
host_workshop_map 3088183343
1v1aim_map_longdustversion_d
host_workshop_map 3082605693
ar_churches_s2r
host_workshop_map 3070291913
mcdonalds
host_workshop_map 3134466699
aim_ag_texture_city_advanced
host_workshop_map 3082113929
traningoutside
host_workshop_map 3080973179
shipment_version_1_0
host_workshop_map 3086555291
aim_ag_texture2
host_workshop_map 3074961197
aim_ag_texture_jungle
host_workshop_map 3095778105
cs2_bloodstrike
host_workshop_map 3071890065
gg_simpsons_vs_flanders_v2
host_workshop_map 3109232789
de_akiba
host_workshop_map 3108513658
cs_facingworlds-99
host_workshop_map 3112806723
de_train
host_workshop_map 3070284539
de_sakura
host_workshop_map 3082340867
de_memento
changelevel de_memento
de_mills
changelevel de_mills
de_thera
changelevel de_thera
de_palais
host_workshop_map 3257582863
+
cs_italy
changelevel cs_italy
cs_office
changelevel cs_office
de_vertigo
changelevel de_vertigo
de_ancient
changelevel de_ancient
de_anubis
changelevel de_anubis
de_dust2
changelevel de_dust2
de_inferno
changelevel de_inferno
de_mirage
changelevel de_mirage
de_nuke
changelevel de_nuke
de_overpass
changelevel de_overpass
de_vertigo
changelevel de_vertigo
ar_shoots
changelevel ar_shoots
ar_baggage
changelevel ar_baggage
gd_rialto
host_workshop_map 3085490518
de_safehouse
host_workshop_map 3070550406
de_lake
host_workshop_map 3070563536
de_bank
host_workshop_map 3070581293
de_shortdust
host_workshop_map 3070612859
ar_pool_day
changelevel ar_pool_day
fy_iceworld
host_workshop_map 3070238628
daymare
host_workshop_map 3072640420
aim_theorem
host_workshop_map 3070348309
de_assembly
changelevel de_assembly
de_cbble
host_workshop_map 3070212801
de_cache
host_workshop_map 3070244931
de_pipeline
host_workshop_map 3079872050
de_biome
host_workshop_map 3075706807
dm_desk
host_workshop_map 3077599381
fun_bounce
host_workshop_map 3088183343
1v1aim_map_longdustversion_d
host_workshop_map 3082605693
ar_churches_s2r
host_workshop_map 3070291913
mcdonalds
host_workshop_map 3134466699
aim_ag_texture_city_advanced
host_workshop_map 3082113929
traningoutside
host_workshop_map 3080973179
shipment_version_1_0
host_workshop_map 3086555291
aim_ag_texture2
host_workshop_map 3074961197
aim_ag_texture_jungle
host_workshop_map 3095778105
cs2_bloodstrike
host_workshop_map 3071890065
gg_simpsons_vs_flanders_v2
host_workshop_map 3109232789
de_akiba
host_workshop_map 3108513658
cs_facingworlds-99
host_workshop_map 3112806723
de_train
host_workshop_map 3070284539
de_sakura
host_workshop_map 3082340867
de_memento
changelevel de_memento
de_mills
changelevel de_mills
de_thera
changelevel de_thera
de_palais
host_workshop_map 3257582863
school_d_environment_prefab
host_workshop_map 3343693110
#### mg_gg -
ar_shoots
changelevel ar_shoots
ar_baggage
changelevel ar_baggage
ar_pool_day
changelevel ar_pool_day
de_assembly
changelevel de_assembly
fy_iceworld
host_workshop_map 3070238628
daymare
host_workshop_map 3072640420
mcdonalds
host_workshop_map 3134466699
aim_theorem
host_workshop_map 3070348309
de_safehouse
host_workshop_map 3070550406
de_lake
host_workshop_map 3070563536
de_bank
host_workshop_map 3070581293
fun_bounce
host_workshop_map 3088183343
1v1aim_map_longdustversion_d
host_workshop_map 3082605693
ar_churches_s2r
host_workshop_map 3070291913
aim_ag_texture_city_advanced
host_workshop_map 3082113929
traningoutside
host_workshop_map 3080973179
shipment_version_1_0
host_workshop_map 3086555291
aim_ag_texture2
host_workshop_map 3074961197
aim_ag_texture_jungle
host_workshop_map 3095778105
cs2_bloodstrike
host_workshop_map 3071890065
gg_simpsons_vs_flanders_v2
host_workshop_map 3109232789
+
ar_shoots
changelevel ar_shoots
ar_baggage
changelevel ar_baggage
ar_pool_day
changelevel ar_pool_day
de_assembly
changelevel de_assembly
fy_iceworld
host_workshop_map 3070238628
daymare
host_workshop_map 3072640420
mcdonalds
host_workshop_map 3134466699
aim_theorem
host_workshop_map 3070348309
de_safehouse
host_workshop_map 3070550406
de_lake
host_workshop_map 3070563536
de_bank
host_workshop_map 3070581293
fun_bounce
host_workshop_map 3088183343
1v1aim_map_longdustversion_d
host_workshop_map 3082605693
ar_churches_s2r
host_workshop_map 3070291913
aim_ag_texture_city_advanced
host_workshop_map 3082113929
traningoutside
host_workshop_map 3080973179
shipment_version_1_0
host_workshop_map 3086555291
aim_ag_texture2
host_workshop_map 3074961197
aim_ag_texture_jungle
host_workshop_map 3095778105
cs2_bloodstrike
host_workshop_map 3071890065
gg_simpsons_vs_flanders_v2
host_workshop_map 3109232789
school_d_environment_prefab
host_workshop_map 3343693110
#### mg_1v1 @@ -463,7 +464,7 @@ You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm #### mg_kz -
only_up
host_workshop_map 3074758439
ewii_challenge
host_workshop_map 3170668869
kz_hub
host_workshop_map 3070220367
hellcasecyrilchallenge
host_workshop_map 3145779590
kz_checkmate
host_workshop_map 3070194623
kz_victoria
host_workshop_map 3086304337
kz_rc_stonehenge
host_workshop_map 3072219045
kz_sxb2_cxz
host_workshop_map 3083714192
kz_rc_twotowers
host_workshop_map 3083509404
kz_simplyhard
host_workshop_map 3078311932
kz_nomibo
host_workshop_map 3077122656
kz_sxb2_biewan
host_workshop_map 3076000218
kz_ggsh
host_workshop_map 3072744536
kz_ltt
host_workshop_map 3072699538
+
only_up
host_workshop_map 3074758439
kz_dima
host_workshop_map 3343029934
ewii_challenge
host_workshop_map 3170668869
kz_hub
host_workshop_map 3070220367
hellcasecyrilchallenge
host_workshop_map 3145779590
kz_checkmate
host_workshop_map 3070194623
kz_victoria
host_workshop_map 3086304337
kz_rc_stonehenge
host_workshop_map 3072219045
kz_sxb2_cxz
host_workshop_map 3083714192
kz_rc_twotowers
host_workshop_map 3083509404
kz_simplyhard
host_workshop_map 3078311932
kz_nomibo
host_workshop_map 3077122656
kz_sxb2_biewan
host_workshop_map 3076000218
kz_ggsh
host_workshop_map 3072744536
kz_ltt
host_workshop_map 3072699538
#### mg_surf @@ -471,7 +472,11 @@ You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm #### mg_minigames -
mg_skeet_multigames_v7
host_workshop_map 3082120895
mg_lego_course_2
host_workshop_map 3202752274
mg_warmcup_headshot
host_workshop_map 3076765511
minecraft
host_workshop_map 3186779271
+
mg_skeet_multigames_v7
host_workshop_map 3082120895
mg_lego_course_2
host_workshop_map 3202752274
mg_warmcup_headshot
host_workshop_map 3076765511
+ +#### mg_battleroyale + +
br_electrified
host_workshop_map 3330484099
br_stacks
host_workshop_map 3297489255
br_flood
host_workshop_map 3267454508
minecraft
host_workshop_map 3186779271
#### mg_deathrun @@ -491,7 +496,7 @@ You can also start a specific game mode vote by typing `!comp`, `!wingman`, `!dm #### mg_soccer -
ka_soccer_2009
host_workshop_map 3070198374
+
futsal
host_workshop_map 3293224257
ka_soccer_2009
host_workshop_map 3070198374
#### mg_awp @@ -581,6 +586,7 @@ These are all the available chat commands to change the game mode: | `!rcon exec ar` | Arms Race | | `!rcon exec awp` | Awp only | | `!rcon exec bhop` | Bunny hop maps | +| `!rcon exec br` | Battle Royale | | `!rcon exec comp` | Competitive using [MatchZy](https://github.com/shobhit-pathak/MatchZy#usage-commands) | | `!rcon exec course` | Tests players with different traps, kz, surf, bhop | | `!rcon exec dm` | Deathmatch | diff --git a/custom_files_example/cfg/custom_br.cfg b/custom_files_example/cfg/custom_br.cfg new file mode 100644 index 00000000..c39c1086 --- /dev/null +++ b/custom_files_example/cfg/custom_br.cfg @@ -0,0 +1,2 @@ +hostname "shipREKT Battle Royale" +sv_tags "128,BR,Battle,Royale,Battle Royale" \ No newline at end of file diff --git a/game/csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json b/game/csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json index 780683cd..dc853776 100644 --- a/game/csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json +++ b/game/csgo/addons/counterstrikesharp/configs/plugins/GameModeManager/GameModeManager.json @@ -43,6 +43,7 @@ "deathrun": "Deathrun", "course": "Course", "scoutzknivez": "ScoutzKnives", + "br": "Battle Royale", "hns": "Hide N Seek", "soccer": "Soccer", "dm": "Deathmatch (Valve)", diff --git a/game/csgo/addons/counterstrikesharp/plugins/CS2AnnouncementBroadcaster/cfg/messages.json b/game/csgo/addons/counterstrikesharp/plugins/CS2AnnouncementBroadcaster/cfg/messages.json index b585f42f..c8ab6fe8 100644 --- a/game/csgo/addons/counterstrikesharp/plugins/CS2AnnouncementBroadcaster/cfg/messages.json +++ b/game/csgo/addons/counterstrikesharp/plugins/CS2AnnouncementBroadcaster/cfg/messages.json @@ -240,7 +240,7 @@ "value": 23 } }, - { + { "msg": "[GREEN]Server Mode[NORMAL]: [RED]Wingman\u2029\u2029[NORMAL]Type [GREEN]!modes[NORMAL] to switch mode, [GREEN]!maps[NORMAL] to switch map.\u2029 You can also type [GREEN]!rtv[NORMAL] to rock a map vote.\u2029 Map will change at the end of the round.", "delay": 3, "properties": "Value", @@ -249,6 +249,16 @@ "op": 1, "value": 24 } + }, + { + "msg": "[GREEN]Server Mode[NORMAL]: [RED]Battle Royale\u2029\u2029[NORMAL]Type [GREEN]!modes[NORMAL] to switch mode, [GREEN]!maps[NORMAL] to switch map.\u2029 You can also type [GREEN]!rtv[NORMAL] to rock a map vote.\u2029 Map will change at the end of the round.", + "delay": 3, + "properties": "Value", + "cond": { + "flag": "CS2AB_flag_1", + "op": 1, + "value": 25 + } } ] } \ No newline at end of file diff --git a/game/csgo/cfg/br.cfg b/game/csgo/cfg/br.cfg new file mode 100644 index 00000000..5b80b1b7 --- /dev/null +++ b/game/csgo/cfg/br.cfg @@ -0,0 +1,23 @@ +game_type 0 +game_mode 0 +mapgroup mg_battleroyale +// There is no way to get the current mapgroup, so we have to set it here +css_mapgroup mg_battleroyale + +exec unload_plugins.cfg + +// Execute before and after to ensure hostname is changed and old one isn't picked up by mods +exec custom_br.cfg + +// CS2AnnounementBroadcaster Mode Flag +CS2AB_flag_1 25 + +exec br_settings.cfg + +exec_after_map_start "exec br_settings.cfg" + +echo "br.cfg executed" + +say "Changing map..." + +host_workshop_map 3330484099 diff --git a/game/csgo/cfg/br_settings.cfg b/game/csgo/cfg/br_settings.cfg new file mode 100644 index 00000000..b1270939 --- /dev/null +++ b/game/csgo/cfg/br_settings.cfg @@ -0,0 +1,21 @@ +exec gamemode_casual.cfg + +sv_cheats 1 + +exec settings/alltalk_on.cfg +exec settings/map_voting.cfg + +mp_freezetime 0 +mp_team_intro_time 0 +mp_round_restart_delay 3 +mp_roundtime 9999 +mp_warmuptime 15 + +bot_kick +mp_warmup_end + +exec custom_br.cfg + +sv_cheats 0 + +echo "br_settings.cfg executed" diff --git a/game/csgo/cfg/custom_br.cfg b/game/csgo/cfg/custom_br.cfg new file mode 100644 index 00000000..d3ec8e69 --- /dev/null +++ b/game/csgo/cfg/custom_br.cfg @@ -0,0 +1,4 @@ +// Executed after br.cfg +// Copy this file to /home/steam/cs2/custom_files/cfg/ and add your custom settings +// The folder should exist once the install script has ran once +// The contents of /home/steam/cs2/custom_files/ is automatically copied and merged into /home/steam/cs2/game/csgo/ diff --git a/game/csgo/cfg/mods.cfg b/game/csgo/cfg/mods.cfg index d8a4e2e6..e8b1bee4 100644 --- a/game/csgo/cfg/mods.cfg +++ b/game/csgo/cfg/mods.cfg @@ -4,6 +4,7 @@ say "- !rcon exec aim - Aim" say "- !rcon exec ar - Arms Race" say "- !rcon exec awp - Awp only" say "- !rcon exec bhop - Bunny hop maps" +say "- !rcon exec br - Battle Royale" say "- !rcon exec casual-1.6 - Casual 1.6 mode" say "- !rcon exec comp - Competitive" say "- !rcon exec course - Tests players with different traps, kz, surf, bhop" diff --git a/game/csgo/cfg/soccer.cfg b/game/csgo/cfg/soccer.cfg index def476ef..096e69ba 100644 --- a/game/csgo/cfg/soccer.cfg +++ b/game/csgo/cfg/soccer.cfg @@ -20,4 +20,4 @@ echo "soccer.cfg executed" say "Changing map..." -host_workshop_map 3070198374 +host_workshop_map 3293224257 diff --git a/game/csgo/gamemodes_server.txt b/game/csgo/gamemodes_server.txt index e9e4f1f3..03a965c7 100644 --- a/game/csgo/gamemodes_server.txt +++ b/game/csgo/gamemodes_server.txt @@ -34,8 +34,9 @@ "mg_aim" "61" "mg_prefire" "62" "mg_deathrun" "63" - "mg_Casual-1.6" "64" - "mg_45" "65" + "mg_battleroyale" "64" + "mg_Casual-1.6" "65" + "mg_45" "66" } } @@ -231,6 +232,7 @@ "de_mills" "" "de_thera" "" "workshop/3257582863/de_palais" "" + "workshop/3343693110/school_d_environment_prefab" "" } } "mg_gg" @@ -260,6 +262,7 @@ "workshop/3095778105/aim_ag_texture_jungle" "" "workshop/3071890065/cs2_bloodstrike" "" "workshop/3109232789/gg_simpsons_vs_flanders_v2" "" + "workshop/3343693110/school_d_environment_prefab" "" } } "mg_1v1" @@ -294,6 +297,7 @@ "maps" { "workshop/3074758439/only_up" "" + "workshop/3343029934/kz_dima" "" "workshop/3170668869/ewii_challenge" "" "workshop/3070220367/kz_hub" "" "workshop/3145779590/hellcasecyrilchallenge" "" @@ -334,6 +338,17 @@ "workshop/3082120895/mg_skeet_multigames_v7" "" "workshop/3202752274/mg_lego_course_2" "" "workshop/3076765511/mg_warmcup_headshot" "" + } + } + "mg_battleroyale" + { + "name" "mg_battleroyale" + "displayname" "Battle Royale" + "maps" + { + "workshop/3330484099/br_electrified" "" + "workshop/3297489255/br_stacks" "" + "workshop/3267454508/br_flood" "" "workshop/3186779271/minecraft" "" } } @@ -400,6 +415,7 @@ "displayname" "Soccer" "maps" { + "workshop/3293224257/futsal" "" "workshop/3070198374/ka_soccer_2009" "" } } diff --git a/game/csgo/subscribed_file_ids.txt b/game/csgo/subscribed_file_ids.txt index d83fd5e5..b6d80510 100644 --- a/game/csgo/subscribed_file_ids.txt +++ b/game/csgo/subscribed_file_ids.txt @@ -36,6 +36,7 @@ 3071890065 3109232789 3112806723 +3343693110 3070253400 3077211069 3077153735 @@ -46,6 +47,7 @@ 3088973190 3095219437 3074758439 +3343029934 3170668869 3070220367 3145779590 @@ -70,6 +72,9 @@ 3082120895 3202752274 3076765511 +3330484099 +3297489255 +3267454508 3186779271 3164611860 3311285877 @@ -96,6 +101,7 @@ 3070951079 3070541369 3071094345 +3293224257 3070198374 3142070597 3084291314