PDA

View Full Version : set vs seta & map/gametype question


imported_Spive
11-25-2003, 08:20 AM
Hi there folks,

I have two questions. I've been browsing the codadmin.com daily but haven't really found a complete answer to a couple of points.

1) What is the difference between using the commands "set" and "seta" and a dedicated.cfg file. For example,

set logfile "2"

or

seta logfile "2"

Is there a difference?


2) I come from a HL/CS background and server control was very easy in that enviornment. Here is what I'd like to know.... for argument sake, lets say that I run a strictly TDM map rotation that includes every stock map. I then feel like changing the map to something else and also the gametype to SD.

I know that if I just use "/rcon map map_dawnville" it will change the map to dawnville but keep the TDM setting because that is the gametype specified in the dedicated.cfg. I've read something about clearing the current map rotation first using something like

/rcon sv_mapcurrentrotation ""

Then what? Can I combine both gametype command and map choice on one line?

/rcon g_gametype sd; map map_dawnville

?

If that works, what map will load after dawnville if I cleared out the old map rotation? Will dawnville keep rotating itself?

Thanks in advance.

Tighten
11-25-2003, 09:23 AM
The difference between "set" and "seta"

When you use the "set" command that sets the server variable for the time being, and will be erased when the server is started or another .cfg file is executed. This command does not write to the config_mp.cfg (which is the default .cfg file COD exec's when it starts.)

When you use "seta" it writes the variable to the config_mp.cfg and is only erased if you remove it from the config_mp.cfg or if you "seta the same command with a different variable.

seta blahblahblah "1" this writes to the config_mp.cfg and will stay there, untill you remove it from that config_mp.cfg or you type this >

seta blahblahblah "0" then it will change the variable to "0" (or off in most cases).

Then what? Can I combine both gametype command and map choice on one line?

/rcon g_gametype sd; map map_dawnville

Yes you can do this, and to change back you can simply type /rcon exec "yourserver.cfg" and it will load your previous settings.

Or you can have multiple .cfgs and exec any of them.

Or you can have multiple map.cfgs and exec any of them.