02-07-2009, 09:31 AM
(This post was last modified: 02-10-2009, 10:53 AM by CrazyHamster.)
Sorry for starting another thread on "server.cfg," but this question is regarding a rotating server, and I think a separate thread would benefit the other new admin with the same question.
Currently I am messing with two SRCDS servers. My main one is with a paid hosting service, and they are using Windows. At home, for my testing purposes, I got it set up on my Linux box. My questions are regarding to what I have seen in the console on my Linux box.
1)
When I start the SRCDS, I always see srcds_run complaining about not being able to execute the [map].cfg. For example, something likes:
-------------------------------------
Unable to execute: cp_dustbowl.cfg
-------------------------------------
So what does the .cfg file for the particular map do?
Is that we can override some cvar settings in the "server.cfg" for each map?
For example, with my rotating server, let's say I got two maps (i.e. ctf_2fort, cp_dustbowl), can I set up like this:
[ server.cfg ]
mp_maxrounds 4
mp_winlimit 3
[ ctf_2fort.cfg ]
mp_maxrounds 100
mp_winlimit 0
[ cp_dustbowl ] <-- Typo... should be "cp_dustbowl.cfg"
mp_maxrounds 50
mp_winlimit 0
And maybe for Dustbowl, I set "sv_alltalk" to 1, yet for 2fort, I disable alltalk?
Thanks for the help!!
_____________________________________
Currently I am messing with two SRCDS servers. My main one is with a paid hosting service, and they are using Windows. At home, for my testing purposes, I got it set up on my Linux box. My questions are regarding to what I have seen in the console on my Linux box.
1)
When I start the SRCDS, I always see srcds_run complaining about not being able to execute the [map].cfg. For example, something likes:
-------------------------------------
Unable to execute: cp_dustbowl.cfg
-------------------------------------
So what does the .cfg file for the particular map do?
Is that we can override some cvar settings in the "server.cfg" for each map?
For example, with my rotating server, let's say I got two maps (i.e. ctf_2fort, cp_dustbowl), can I set up like this:
[ server.cfg ]
mp_maxrounds 4
mp_winlimit 3
[ ctf_2fort.cfg ]
mp_maxrounds 100
mp_winlimit 0
[ cp_dustbowl ] <-- Typo... should be "cp_dustbowl.cfg"
mp_maxrounds 50
mp_winlimit 0
And maybe for Dustbowl, I set "sv_alltalk" to 1, yet for 2fort, I disable alltalk?
Thanks for the help!!
_____________________________________