// Sample Server Configuration File for CTF
//
// dmflags settings:
//
//        DF_NO_HEALTH            1
//        DF_NO_ITEMS             2
//        DF_WEAPONS_STAY         4
//        DF_NO_FALLING           8
//        DF_INSTANT_ITEMS        16
//        DF_SAME_LEVEL           32
//        DF_SKINTEAMS            64
//        DF_MODELTEAMS           128
//        DF_NO_FRIENDLY_FIRE     256
//        DF_SPAWN_FARTHEST       512
//        DF_FORCE_RESPAWN        1024
//        DF_NO_ARMOR             2048
//        DF_ALLOW_EXIT           4096
//        DF_INFINITE_AMMO        8192
//        DF_QUAD_DROP            16384
//        DF_FIXED_FOV            32768
//        DF_CTF_FORCEJOIN	131072	
//        DF_ARMOR_PROTECT	262144
//        DF_CTF_NO_TECH      524288
//
// The default dmflags here (280084) is set up as:
//
//   DF_WEAPONS_STAY + DF_INSTANT_ITEMS + DF_SPAWN_FARTHEST + 
//       DF_FORCE_RESPAWN + DF_QUAD_DROP + DF_ARMOR_PROTECT
//
// which works out to:
//
//   4 + 16 + 512 + 1024 + 16384 + 262144 =   280084

set dmflags 280084
// this dmflags (411156) is the same as 280084, plus DF_CTF_FORCEJOIN
// set dmflags 411156 // force join

// These are commented out so that default values will be used
// set matchlock 1 // prevent users from entering a match in progress
// set electpercentage 66 // 66% of votes needed to win an election
	// setting electpercentage to zero (the default) disables elections
// set matchtime 20 // 20 min match
// set matchsetuptime 10 // 10 min setup time for match
// set matchstarttime 20 // 20 seconds for match countdown
// set admin_password "SAMPLE" // set up a remote admin password
// set warp_list "q2ctf1 q2ctf2 q2ctf3 q2ctf4 q2ctf5" // list of maps one can warp to
// set ctf_balance 1 // enable team balancing
// set sv_maplist "q2ctf1 q2ctf2 q2ctf3 q2ctf4 q2ctf5" // setup a custom server map rotation

set deathmatch 1 // ctf is a deathmatch game
set competition 1 // enable user controlled optional competition mode
set maxclients 16 // 16 players maximum
set fraglimit 150 // after 150 points is scored, change level
set capturelimit 8 // after 8 caps, change level
set timelimit 30 // if things are slow, change after 30 mins
map as2m1

