Standard server rotation with team swap - is it possible?

Discussion about specific ET servers

Moderators: Forum moderators, developers

Post Reply
User avatar
Fade2Black
Posts: 34
Joined: Sun May 16, 2004 12:01 pm

Standard server rotation with team swap - is it possible?

Post by Fade2Black »

If you had a server with a 6 map rotation but it had a interesting custom map using 5 of the map slots; is it possible to insert a command to swap over the teams say between map slot 2&3 and 4&5 automatically?

Running ET-Pro

http://enemy-territory.4players.de:1041 ... 8.42:27963

Currently it either can be set as Stopwatch or as a standard campaign run. I'm not sure (and neither is server admin) if you can get an auto change of team sides after 1 map in the rotation and before the next map.

Thinking of having A-A-B-B-A-A as 1st rotation of 6 then followed by B-B-A-A-B-B as the means of a standard rotation of maps.
Image
User avatar
ReyalP
Posts: 1663
Joined: Fri Jul 25, 2003 11:44 am

Post by ReyalP »

you can do it between campaigns (or have a rotation that includes SW maps and campaigns).

I suspect you can't put a swapteams in the middle of a campaign without using a console bot or something like that.
send lawyers, guns and money
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

if map 3 and map 5 are diffeent fom 1 2 4 6 then u can put the command in the mapdefault.cfg

if not u can still do it in a the mapdefault.cfg

its far from perfect but it should work in server .cfg

Code: Select all

set mapcmd1 "set mapcmd vstr mapcmd2"
set mapcmd2 "set mapcmd vstr mapcmd3"
set mapcmd3 "swap_teams;set mapcmd vstr mapcmd4"
set mapcmd4 "set mapcmd vstr mapcmd5"
set mapcmd5 "swat_teams;set mapcmd vstr mapcmd2"
set mapcmd6 "set mapcmd vstr mapcmd1"
set mapcmd "vstr mapcmd1"
inside the mapdefault.cfg

Code: Select all

vstr mapcmd
now wut tis does is it laods a new cmd in the mapcmd variable on every map load so it rotates onlong the campaing
Post Reply