Skip to content

Commit cfbb641

Browse files
timm0edgibbs64
andauthored
feat(csgoserver): add all game mode related cvars to CS:GO LGSM config (#4005)
* feat(csgoserver): add parameters for gamemodeflags and skirmishid to lgsm config * docs(csgoserver): add parameter examples for all gamemodes in lgsm config Co-authored-by: Daniel Gibbs <[email protected]>
1 parent 8a5c28a commit cfbb641

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

lgsm/config-default/config-lgsm/csgoserver/_default.cfg

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,27 @@
1010

1111
## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
1212
# https://docs.linuxgsm.com/game-servers/counter-strike-global-offensive
13-
# [Game Modes] gametype gamemode mapgroup (you can mix these across all Game Modes except Danger Zone, but use only one)
14-
# Arms Race 1 0 mg_armsrace
15-
# Classic Casual 0 0 mg_casualsigma, mg_casualdelta
16-
# Classic Competitive 0 1 mg_active, mg_reserves, mg_hostage, mg_de_dust2
17-
# Custom 3 0
18-
# Deathmatch 1 2 mg_deathmatch
19-
# Demolition 1 1 mg_demolition
20-
# Wingman 0 2
21-
# Danger Zone 6 0 mg_dz_blacksite (map: dz_blacksite), mg_dz_sirocco (map: dz_sirocco)
13+
# [Game Modes] gametype gamemode gamemodeflags skirmishid mapgroup (you can mix these across all Game Modes except Danger Zone, but use only one)
14+
# Arms Race 1 0 0 0 mg_armsrace
15+
# Boom! Headshot! 1 2 0 6 mg_skirmish_headshots
16+
# Classic Casual 0 0 0 0 mg_casualsigma, mg_casualdelta
17+
# Classic Competitive (Default) 0 1 0 0 mg_active, mg_reserves, mg_hostage, mg_de_dust2, ...
18+
# Classic Competitive (Short Match) 0 1 32 0 mg_active, mg_reserves, mg_hostage, mg_de_dust2, ...
19+
# Danger Zone 6 0 0 0 mg_dz_blacksite (map: dz_blacksite), mg_dz_sirocco (map: dz_sirocco)
20+
# Deathmatch (Default) 1 2 0 0 mg_deathmatch
21+
# Deathmatch (Free For All) 1 2 32 0 mg_deathmatch
22+
# Deathmatch (Team vs Team) 1 2 4 0 mg_deathmatch
23+
# Demolition 1 1 0 0 mg_demolition
24+
# Flying Scoutsman 0 0 0 3 mg_skirmish_flyingscoutsman
25+
# Hunter-Gatherers 1 2 0 7 mg_skirmish_huntergatherers
26+
# Retakes 0 0 0 12 mg_skirmish_retakes
27+
# Stab Stab Zap 0 0 0 1 mg_skirmish_stabstabzap
28+
# Trigger Discipline 0 0 0 4 mg_skirmish_triggerdiscipline
29+
# Wingman 0 2 0 0 mg_de_prime, mg_de_blagai, mg_de_vertigo, mg_de_inferno, mg_de_overpass, mg_de_cbble, mg_de_train, mg_de_shortnuke, mg_de_shortdust, mg_de_lake
2230
gametype="0"
2331
gamemode="0"
32+
gamemodeflags="0"
33+
skirmishid="0"
2434
mapgroup="mg_active"
2535
ip="0.0.0.0"
2636
port="27015"
@@ -43,7 +53,7 @@ wscollectionid=""
4353
wsstartmap=""
4454

4555
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
46-
startparameters="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
56+
startparameters="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +sv_game_mode_flags ${gamemodeflags} +sv_skirmish_id ${skirmishid} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
4757

4858
#### LinuxGSM Settings ####
4959

0 commit comments

Comments
 (0)