Skip to content

[BUG]Call of duty 2 server config problem. #4080

@Tudatlan

Description

@Tudatlan

Hi there. A few days ago, I uploaded the call of duty 2 server to my minipc server at home. I have a problem that only defaultmap can be specified in the linuxgsm configuration. so just one..
Is there a solution so that not only one, but the 6 tracks I recommend should be put on rotation?

##################################
######## Default Settings ########
##################################
# DO NOT EDIT, ANY CHANGES WILL BE OVERWRITTEN!
# Copy settings from here and use them in either:
# common.cfg - applies settings to every instance.
# [instance].cfg - applies settings to a specific instance.

#### Game Server Settings ####

## Predefined Parameters | https://docs.linuxgsm.com/configuration/start-parameters
ip="0.0.0.0"
port="28960"
defaultmap="waterfall"
maxplayers="20"

## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="+set sv_punkbuster 1 +set fs_basepath ${serverfiles} +set dedicated 2 +set net_ip ${ip} +set net_port ${port} +set sv_maxclients ${maxplayers} +exec ${servercfg} +set killcam "1" +map ${defaultmap}"

#### LinuxGSM Settings ####`

In the old cod2 cfg, it was possible to give it this way:

`// Set the Gametype 
set g_gametype "sd" 

// Set the Map Rotation 

//set sv_mapRotation "map mp_trainstation" 
set sv_mapRotation "gametype sd map waterfall map toujane map mp_matmata map mp_trainstation map mp_carentan map mp_buhlert map mp_burgundy map mp_bridge map mp_dawnville map mp_decoy map mp_farmhouse map mp_toujane" 

set sv_maprotationcurrent "" 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions