Chingaman
11-09-2003, 02:35 PM
Hello,
Can someone tell me how to change gametypes in call of duty like you can in mohaa? I have a generic dedicated.cfg file containing host name and stuff like that. At the end of the .cfg i have exec tdm.cfg which it does and all is good...server is running and correct gametype. I have 4 other config files for each gametype sd,bel,dm,re. If i go into rcon and type exec bel.cfg the map will change but the gametype stays tdm even though in the bel.cfg file i have the command set g_gametype bel What can i be doing wrong? Here is my server start-up line:
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate
Here is the dedicated.cfg file:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "******"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
// Pure Clients
set sv_pure "1" // Only pure clients may connect
exec tdm.cfg
Next is the tdm.cfg:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "*****"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
// Pure Clients
set sv_pure "1" // Only pure clients may connect
// Weapons allowed ( 0 = Disallowed, 1 = Allowed)
set scr_allow_bar "0" // BAR Automatic Rifle
set scr_allow_bren "0" // Bren Light Machine Gun
set scr_allow_enfield "1" // Lee Enfield Rifle
set scr_allow_fg42 "1" // FG42 Scoped Machine Gun
set scr_allow_kar98k "1" // KAR98K Rifle
set scr_allow_kar98ksniper "1" // KAR98K Sniper Rifle
set scr_allow_m1carbine "1" // M1 Carbine Rifle
set scr_allow_m1garand "1" // M1 Garand Rifle
set scr_allow_mp40 "0" // MP40 Sub Machine Gun
set scr_allow_mp44 "0" // MP44 (STG44) Machine Gun
set scr_allow_nagant "1" // Mosin Nagant Rifle
set scr_allow_nagantsniper "1" // Mosin Nagant Sniper Rifle
set scr_allow_panzerfaust "0" // Panzerfaust Anti-Tank Rocket
set scr_allow_ppsh "0" // PPsH Sub Machine Gun
set scr_allow_springfield "1" // Springfield 03 Sniper Rifle
set scr_allow_sten "0" // Sten Sub Machine Gun
set scr_allow_thompson "0" // Thompson Sub Machine Gun
// Team Deathmatch Settings
set scr_tdm_scorelimit "75" // Max kills before map change
set scr_tdm_timelimit "25" // Max time to remain on map
set g_gametype tdm
map_rotate
// Map Rotation (Gametype can be set per map)
//--------------------------------------------------------------------------
// *NB* MP_CHATEAU, MP_POWCAMP & MP_SHIP DON'T WORK IN SEARCH & DESTROY *NB*
//--------------------------------------------------------------------------
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship"
// Allow Map Download
set sv_allowDownload "1" // Allow downloading from server, it works too
// Permit IW included cheats?
set sv_cheats "0" // Don't know if this works
// Flood Protection
set sv_floodProtect "1"
// Server FPS
set sv_fps "20"
// Miscellaneous unused commands
// set sv_onlyVisibleClients "0"
// set sv_padPackets "0"
// set sv_paused "0" // Pauses the server?
// set sv_reconnectlimit "3"
// set sv_running "1"
// set sv_serverid "22"
// set sv_serverRestarting "0"
// set sv_showAverageBPS "0"
// set sv_showCommands "0"
// set sv_showloss "0"
// set sv_timeout "240" // Amount of time before kicking a pinged player
// set sv_zombietime "2"
// set set scr_roundcam "0" // Gives a replay of entire round in a small window?
Now the bel.cfg:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "*******"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
set ham_sd_bombplant "1"
set ham_sd_bombdefuse "1"
set ham_sd_bombtimer "25"
// Pure Clients
set sv_pure "1" // Only pure clients may connect// Weapons allowed ( 0 = Disallowed, 1 = Allowed)
set scr_allow_bar "0" // BAR Automatic Rifle
set scr_allow_bren "0" // Bren Light Machine Gun
set scr_allow_enfield "1" // Lee Enfield Rifle
set scr_allow_fg42 "1" // FG42 Scoped Machine Gun
set scr_allow_kar98k "1" // KAR98K Rifle
set scr_allow_kar98ksniper "1" // KAR98K Sniper Rifle
set scr_allow_m1carbine "1" // M1 Carbine Rifle
set scr_allow_m1garand "1" // M1 Garand Rifle
set scr_allow_mp40 "0" // MP40 Sub Machine Gun
set scr_allow_mp44 "0" // MP44 (STG44) Machine Gun
set scr_allow_nagant "1" // Mosin Nagant Rifle
set scr_allow_nagantsniper "1" // Mosin Nagant Sniper Rifle
set scr_allow_panzerfaust "0" // Panzerfaust Anti-Tank Rocket
set scr_allow_ppsh "0" // PPsH Sub Machine Gun
set scr_allow_springfield "1" // Springfield 03 Sniper Rifle
set scr_allow_sten "0" // Sten Sub Machine Gun
set scr_allow_thompson "0" // Thompson Sub Machine Gun
// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10" // Number of seconds before gaining 1 point as allied
set scr_bel_scorelimit "50" // Maximum score achievable as allied soldier
set scr_bel_timelimit "10" // Max time to remain on map
set g_gametype bel
map_rotate
// Map Rotation (Gametype can be set per map)
//--------------------------------------------------------------------------
// *NB* MP_CHATEAU, MP_POWCAMP & MP_SHIP DON'T WORK IN SEARCH & DESTROY *NB*
//--------------------------------------------------------------------------
set sv_mapRotation "gametype bel map mp_brecourt gametype bel map mp_carentan gametype bel map mp_chateau gametype bel map mp_dawnville gametype bel map mp_depot gametype bel map mp_harbor gametype bel map mp_hurtgen gametype bel map mp_pavlov gametype bel map mp_powcamp gametype bel map mp_railyard gametype bel map mp_rocket gametype bel map mp_ship"
// Allow Map Download
set sv_allowDownload "1" // Allow downloading from server, it works too
// Permit IW included cheats?
set sv_cheats "0" // Don't know if this works
// Flood Protection
set sv_floodProtect "1"
// Server FPS
set sv_fps "20"
// Miscellaneous unused commands
// set sv_onlyVisibleClients "0"
// set sv_padPackets "0"
// set sv_paused "0" // Pauses the server?
// set sv_reconnectlimit "3"
// set sv_running "1"
// set sv_serverid "22"
// set sv_serverRestarting "0"
// set sv_showAverageBPS "0"
// set sv_showCommands "0"
// set sv_showloss "0"
// set sv_timeout "240" // Amount of time before kicking a pinged player
// set sv_zombietime "2"
// set set scr_roundcam "0" // Gives a replay of entire round in a small
Sorry for the long post but i wanted to give you as much info as i could.
http://www.legionsofchaos.com/ers/themes/AOM/images/logo.jpg
Can someone tell me how to change gametypes in call of duty like you can in mohaa? I have a generic dedicated.cfg file containing host name and stuff like that. At the end of the .cfg i have exec tdm.cfg which it does and all is good...server is running and correct gametype. I have 4 other config files for each gametype sd,bel,dm,re. If i go into rcon and type exec bel.cfg the map will change but the gametype stays tdm even though in the bel.cfg file i have the command set g_gametype bel What can i be doing wrong? Here is my server start-up line:
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate
Here is the dedicated.cfg file:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "******"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
// Pure Clients
set sv_pure "1" // Only pure clients may connect
exec tdm.cfg
Next is the tdm.cfg:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "*****"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
// Pure Clients
set sv_pure "1" // Only pure clients may connect
// Weapons allowed ( 0 = Disallowed, 1 = Allowed)
set scr_allow_bar "0" // BAR Automatic Rifle
set scr_allow_bren "0" // Bren Light Machine Gun
set scr_allow_enfield "1" // Lee Enfield Rifle
set scr_allow_fg42 "1" // FG42 Scoped Machine Gun
set scr_allow_kar98k "1" // KAR98K Rifle
set scr_allow_kar98ksniper "1" // KAR98K Sniper Rifle
set scr_allow_m1carbine "1" // M1 Carbine Rifle
set scr_allow_m1garand "1" // M1 Garand Rifle
set scr_allow_mp40 "0" // MP40 Sub Machine Gun
set scr_allow_mp44 "0" // MP44 (STG44) Machine Gun
set scr_allow_nagant "1" // Mosin Nagant Rifle
set scr_allow_nagantsniper "1" // Mosin Nagant Sniper Rifle
set scr_allow_panzerfaust "0" // Panzerfaust Anti-Tank Rocket
set scr_allow_ppsh "0" // PPsH Sub Machine Gun
set scr_allow_springfield "1" // Springfield 03 Sniper Rifle
set scr_allow_sten "0" // Sten Sub Machine Gun
set scr_allow_thompson "0" // Thompson Sub Machine Gun
// Team Deathmatch Settings
set scr_tdm_scorelimit "75" // Max kills before map change
set scr_tdm_timelimit "25" // Max time to remain on map
set g_gametype tdm
map_rotate
// Map Rotation (Gametype can be set per map)
//--------------------------------------------------------------------------
// *NB* MP_CHATEAU, MP_POWCAMP & MP_SHIP DON'T WORK IN SEARCH & DESTROY *NB*
//--------------------------------------------------------------------------
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship"
// Allow Map Download
set sv_allowDownload "1" // Allow downloading from server, it works too
// Permit IW included cheats?
set sv_cheats "0" // Don't know if this works
// Flood Protection
set sv_floodProtect "1"
// Server FPS
set sv_fps "20"
// Miscellaneous unused commands
// set sv_onlyVisibleClients "0"
// set sv_padPackets "0"
// set sv_paused "0" // Pauses the server?
// set sv_reconnectlimit "3"
// set sv_running "1"
// set sv_serverid "22"
// set sv_serverRestarting "0"
// set sv_showAverageBPS "0"
// set sv_showCommands "0"
// set sv_showloss "0"
// set sv_timeout "240" // Amount of time before kicking a pinged player
// set sv_zombietime "2"
// set set scr_roundcam "0" // Gives a replay of entire round in a small window?
Now the bel.cfg:
// Server specific settings.
set sv_hostname "|-ERS-| Elite Rifle Squad...Rifle/Sniper Only"
set sv_keywords ""
set rconPassword "*******"
set scr_motd "Welcome to |-ERS-| Temp C.O.D Server"
set net_port "28960"
// Password to join (unrelated to privateclients)
//set g_password ""
// Set Logging
set g_log "games_mp.log" // Filename to log to
set g_logsync "1" // 0 = Buffered Writes, 1 = Write Immediately
// Team Icons
set scr_drawfriend "0" // Draw team icon over team mates
//Forced Respawning
set scr_forcerespawn "1" // Force respawning in DM & TDM
//Friendly Fire (0 = Off, 1 = On, 2 = Reflect Damage)
set scr_friendlyfire "2" // Setting for friendly fire action.
// Allow Voting (Set both the same!)
set scr_allow_vote "0" // Allow Voting
set g_allowvote "0" // Allow Voting
// Private Clients
set sv_privateClients "0" // Number of private slots (taken from maxclients)
set sv_privatePassword "" // Password required for private slots.
// Client settings
set sv_allowAnonymous "0" // Can user be anonymous?
set sv_maxclients "8" // Maximum Clients
set sv_maxPing "0" // Maximum Ping
set sv_maxRate "5000" // Maximum Rate
set sv_minPing "0" // Minimum Ping
set ham_sd_bombplant "1"
set ham_sd_bombdefuse "1"
set ham_sd_bombtimer "25"
// Pure Clients
set sv_pure "1" // Only pure clients may connect// Weapons allowed ( 0 = Disallowed, 1 = Allowed)
set scr_allow_bar "0" // BAR Automatic Rifle
set scr_allow_bren "0" // Bren Light Machine Gun
set scr_allow_enfield "1" // Lee Enfield Rifle
set scr_allow_fg42 "1" // FG42 Scoped Machine Gun
set scr_allow_kar98k "1" // KAR98K Rifle
set scr_allow_kar98ksniper "1" // KAR98K Sniper Rifle
set scr_allow_m1carbine "1" // M1 Carbine Rifle
set scr_allow_m1garand "1" // M1 Garand Rifle
set scr_allow_mp40 "0" // MP40 Sub Machine Gun
set scr_allow_mp44 "0" // MP44 (STG44) Machine Gun
set scr_allow_nagant "1" // Mosin Nagant Rifle
set scr_allow_nagantsniper "1" // Mosin Nagant Sniper Rifle
set scr_allow_panzerfaust "0" // Panzerfaust Anti-Tank Rocket
set scr_allow_ppsh "0" // PPsH Sub Machine Gun
set scr_allow_springfield "1" // Springfield 03 Sniper Rifle
set scr_allow_sten "0" // Sten Sub Machine Gun
set scr_allow_thompson "0" // Thompson Sub Machine Gun
// Behind Enemy Lines Settings
set scr_bel_alivepointtime "10" // Number of seconds before gaining 1 point as allied
set scr_bel_scorelimit "50" // Maximum score achievable as allied soldier
set scr_bel_timelimit "10" // Max time to remain on map
set g_gametype bel
map_rotate
// Map Rotation (Gametype can be set per map)
//--------------------------------------------------------------------------
// *NB* MP_CHATEAU, MP_POWCAMP & MP_SHIP DON'T WORK IN SEARCH & DESTROY *NB*
//--------------------------------------------------------------------------
set sv_mapRotation "gametype bel map mp_brecourt gametype bel map mp_carentan gametype bel map mp_chateau gametype bel map mp_dawnville gametype bel map mp_depot gametype bel map mp_harbor gametype bel map mp_hurtgen gametype bel map mp_pavlov gametype bel map mp_powcamp gametype bel map mp_railyard gametype bel map mp_rocket gametype bel map mp_ship"
// Allow Map Download
set sv_allowDownload "1" // Allow downloading from server, it works too
// Permit IW included cheats?
set sv_cheats "0" // Don't know if this works
// Flood Protection
set sv_floodProtect "1"
// Server FPS
set sv_fps "20"
// Miscellaneous unused commands
// set sv_onlyVisibleClients "0"
// set sv_padPackets "0"
// set sv_paused "0" // Pauses the server?
// set sv_reconnectlimit "3"
// set sv_running "1"
// set sv_serverid "22"
// set sv_serverRestarting "0"
// set sv_showAverageBPS "0"
// set sv_showCommands "0"
// set sv_showloss "0"
// set sv_timeout "240" // Amount of time before kicking a pinged player
// set sv_zombietime "2"
// set set scr_roundcam "0" // Gives a replay of entire round in a small
Sorry for the long post but i wanted to give you as much info as i could.
http://www.legionsofchaos.com/ers/themes/AOM/images/logo.jpg