You can, but its incredibly messy.
The .campaign script file only stores the maps to be used in the rotation. There’s no place to add server commands to be run between maps. The campaigncycle.cfg can store server commands, but its only used between entire campaigns.
This means two things. If you have your heart set on staying in campaign mode you can do this with the help of etpro’s per-map config feature. If you don’t mind going into stopwatch mode, you can do a “stopwatch campaign” with shrub’s xp save features.
Going the per-map config route, you extract the .bsp files for all six maps, rename them (oasis becomes oasis2) and repack them in a new pk3. This way you could have a per-map config for oasis and oasis2 to handle switching teams. Your campaign file would have a map list like this (oasis;oasis2;battery;battery2…) so you run each map twice.
Obviously this is pretty messy. Forcing clients to download a new pk3 that basically has maps that they already have is silly. Its taxing on your server’s bandwidth and would turn away many pubbers. But you keep your server in campaign mode.
The other way is using the xp persistance feature of shrub (etpro probably has a similar feature). With g_xpsave set to 7, it will only reset when the server runs the clearxp command. You just need to tweak the stopwatchcycle.cfg file to make use of this:
// Campaign Stopwatch Cycle Configuration
// Oasis Stopwatch Cycles
set m1r1 "clearxp ; map oasis ; set nextmap vstr m1r2 ; sets StopwatchRound 1"
set m1r2 "map_restart 0 ; set nextmap vstr m2r1 ; sets StopwatchRound 2"
// Battery Stopwatch Cycles
set m2r1 "map battery ; set nextmap vstr m2r2 ; sets StopwatchRound 1"
set m2r2 "map_restart 0 ; set nextmap vstr m3r1 ; sets StopwatchRound 2"
// Goldrush Stopwatch Cycles
set m3r1 "map goldrush ; set nextmap vstr m3r2 ; sets StopwatchRound 1"
set m1r2 "map_restart 0 ; set nextmap vstr m1r1 ; sets StopwatchRound 2"
// Commands to start the cycle
set g_gametype 3 // Activates Stopwatch Gametype
set g_xpsave 7 // XP only resets on clearxp command (shrub specific)
vstr m1r1 // Begins the cycle
This will start the server on Oasis for Round 1 of Stopwatch play. After two rounds, it moves on to Battery and then to Goldrush. Only at the end of Goldrush, when it loops back to m1r1, is XP cleared for the start of a new cycle.
You can add additional maps to cover the Europe campaign or custom maps. Anytime you want to start over with XP just add the clearxp command before you call the next map. Doing it after you call the map leads to strange behavior, and can potentially lead to clients getting dropped.
RK