Quote:
Originally Posted by MjrNuT
I want to confirm that this works for TF2. however, here is the more exact path:
.../tf/cfg/mapname.cfg
|
hmm, lately my maps are running the cfgs that I expect. I know this when when I'm playing the map and instead of 4 rounds being played, it only does 1 round.
if I don't have a map.cfg in above location, my server.cfg has the following:
Code:
// start cvars for round and game times
// map specific settings override these
mp_timelimit "30"
// game time per map in minutes
// end cvars for round and game times
// start cvars for win conditions
// map specific settings override these
mp_maxrounds "4"
// Max number of rounds to play before server changes maps
mp_winlimit "0"
// Max number of rounds one team can win before a server changes maps
tf_flag_caps_per_round "5"
// end cvars for win conditions
and the minimum settings for map.cfg are:
Code:
mp_maxrounds 4
mp_timelimit 20
It is my understanding that the maxrounds and timelimit will be set to 4 and 20, respectively. However, ingame it doesn't seem to happen. HLSW correctly shows the map.cfg settings, however, when I check my server logs, I will get a log for the server.cfg cvars, which contains the map in play and a followon log for cvars changed. This latter file always reflects the server.cfg and not the expected map.cfg!!
example for cp_warpath map and server cvar:
Code:
L 04/10/2008 - 00:25:04: Log file started (file "logs\L0410003.log") (game "C:\Install\njo\GameServers\TC55011747811176742532474\orangebox\tf") (version "3432")
L 04/10/2008 - 00:25:04: Loading map "cp_warpath"
L 04/10/2008 - 00:25:04: server cvars start
L 04/10/2008 - 00:25:04: "sm_executeconfigs_version" = "0.5"
L 04/10/2008 - 00:25:04: "sm_webshortcuts_version" = "1.0.1"
L 04/10/2008 - 00:25:04: "sm_swearreplace_version" = "1.4"
L 04/10/2008 - 00:25:04: "sm_svtags_version" = "1.0.0"
L 04/10/2008 - 00:25:04: "sm_tf_suddendeath_melee" = "1.1.2"
L 04/10/2008 - 00:25:04: "sm_spray_version" = "2.2B2"
L 04/10/2008 - 00:25:04: "sm_spraypruning_version" = "1.0.0.1"
L 04/10/2008 - 00:25:04: "sm_nextmap" = "cp_warpath"
L 04/10/2008 - 00:25:04: "hlx_block_commands" = "1"
L 04/10/2008 - 00:25:04: "hlx_webpage" = "http://www.hlstatsx.com"
L 04/10/2008 - 00:25:04: "hlx_plugin_version" = "2.1"
L 04/10/2008 - 00:25:04: "aim_version" = "0.0.2.0"
L 04/10/2008 - 00:25:04: "sm_advertisements_version" = "0.2"
L 04/10/2008 - 00:25:04: "sm_al_version" = "1.0"
L 04/10/2008 - 00:25:04: "sourcemod_version" = "1.0.0.1946"
L 04/10/2008 - 00:25:04: "mm_basedir" = "addons\metamod"
L 04/10/2008 - 00:25:04: "mm_pluginsfile" = "addons\metamod\metaplugins.ini"
L 04/10/2008 - 00:25:04: "metamod_version" = "1.6.1.671V"
L 04/10/2008 - 00:25:04: "mp_teamplay" = "0"
L 04/10/2008 - 00:25:04: "mp_fraglimit" = "0"
L 04/10/2008 - 00:25:04: "mp_falldamage" = "5"
L 04/10/2008 - 00:25:04: "mp_weaponstay" = "0"
L 04/10/2008 - 00:25:04: "mp_forcerespawn" = "1"
L 04/10/2008 - 00:25:04: "mp_footsteps" = "1"
L 04/10/2008 - 00:25:04: "mp_flashlight" = "0"
L 04/10/2008 - 00:25:04: "mp_autocrosshair" = "0"
L 04/10/2008 - 00:25:04: "decalfrequency" = "10"
L 04/10/2008 - 00:25:04: "mp_teamlist" = "hgrunt;scientist"
L 04/10/2008 - 00:25:04: "mp_allowNPCs" = "1"
L 04/10/2008 - 00:25:04: "mp_friendlyfire" = "0"
L 04/10/2008 - 00:25:04: "mp_fadetoblack" = "0"
L 04/10/2008 - 00:25:04: "sv_gravity" = "800"
L 04/10/2008 - 00:25:04: "sv_stopspeed" = "100"
L 04/10/2008 - 00:25:04: "sv_noclipaccelerate" = "5"
L 04/10/2008 - 00:25:04: "sv_noclipspeed" = "5"
L 04/10/2008 - 00:25:04: "sv_specaccelerate" = "5"
L 04/10/2008 - 00:25:04: "sv_specspeed" = "3"
L 04/10/2008 - 00:25:04: "sv_specnoclip" = "1"
L 04/10/2008 - 00:25:04: "sv_maxspeed" = "320"
L 04/10/2008 - 00:25:04: "sv_accelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_airaccelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_wateraccelerate" = "10"
L 04/10/2008 - 00:25:04: "sv_waterfriction" = "1"
L 04/10/2008 - 00:25:04: "sv_footsteps" = "1"
L 04/10/2008 - 00:25:04: "sv_rollspeed" = "200"
L 04/10/2008 - 00:25:04: "sv_rollangle" = "0"
L 04/10/2008 - 00:25:04: "sv_friction" = "4"
L 04/10/2008 - 00:25:04: "sv_bounce" = "0"
L 04/10/2008 - 00:25:04: "sv_stepsize" = "18"
L 04/10/2008 - 00:25:04: "r_VehicleViewDampen" = "1"
L 04/10/2008 - 00:25:04: "r_JeepViewDampenFreq" = "7.0"
L 04/10/2008 - 00:25:04: "r_JeepViewDampenDamp" = "1.0"
L 04/10/2008 - 00:25:04: "r_JeepViewZHeight" = "10.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewDampenFreq" = "7.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewDampenDamp" = "1.0"
L 04/10/2008 - 00:25:04: "r_AirboatViewZHeight" = "0.0"
L 04/10/2008 - 00:25:04: "mp_timelimit" = "16"
L 04/10/2008 - 00:25:04: "nextlevel" = ""
L 04/10/2008 - 00:25:04: "mp_respawnwavetime" = "10.0"
L 04/10/2008 - 00:25:04: "mp_tournament" = "0"
L 04/10/2008 - 00:25:04: "mp_teams_unbalance_limit" = "1"
L 04/10/2008 - 00:25:04: "mp_maxrounds" = "6"
L 04/10/2008 - 00:25:04: "mp_winlimit" = "0"
L 04/10/2008 - 00:25:04: "mp_disable_respawn_times" = "1"
L 04/10/2008 - 00:25:04: "mp_autoteambalance" = "1"
L 04/10/2008 - 00:25:04: "mp_stalemate_enable" = "1"
L 04/10/2008 - 00:25:04: "mp_stalemate_at_timelimit" = "1"
L 04/10/2008 - 00:25:04: "sv_alltalk" = "1"
L 04/10/2008 - 00:25:04: "tf_maxspeed" = "400"
L 04/10/2008 - 00:25:04: "tf_birthday" = "0"
L 04/10/2008 - 00:25:04: "mp_tournament_stopwatch" = "0"
L 04/10/2008 - 00:25:04: "tf_weapon_criticals" = "1"
L 04/10/2008 - 00:25:04: "sv_password" = ""
L 04/10/2008 - 00:25:04: "tv_relaypassword" = ""
L 04/10/2008 - 00:25:04: "tv_password" = ""
L 04/10/2008 - 00:25:04: "deathmatch" = "1"
L 04/10/2008 - 00:25:04: "coop" = "0"
L 04/10/2008 - 00:25:04: "sv_cheats" = "0"
L 04/10/2008 - 00:25:04: "sv_pausable" = "0"
L 04/10/2008 - 00:25:04: "sv_contact" = "[email protected]"
L 04/10/2008 - 00:25:04: "sv_voiceenable" = "1"
L 04/10/2008 - 00:25:04: "tv_enable" = "0"
L 04/10/2008 - 00:25:04: server cvars end
L 04/10/2008 - 00:25:04: Started map "cp_warpath" (CRC "266792025")
L 04/10/2008 - 00:25:05: Log file closed
example cvar changes file:
Code:
L 04/10/2008 - 00:25:05: Log file started (file "logs\L0410004.log") (game "C:\Install\njo\GameServers\TC55011747811176742532474\orangebox\tf") (version "3432")
L 04/10/2008 - 00:25:05: server_cvar: "mp_timelimit" "30"
L 04/10/2008 - 00:25:05: server_cvar: "mp_maxrounds" "0"
L 04/10/2008 - 00:25:05: Log file closed
cp_warpath.cfg:
Code:
mp_maxrounds 4
mp_timelimit 20
anyone else experiencing this or shed some light? I hope I have explained it clear enough for assistance.
thanks in advance.
__________________