View Full Version : Question about commands (feel free to make comments on my config)

05-14-2002, 12:21 AM
How do I set the cvars for frag limit in a duel?? Here is what I have so far:

// Server Info
seta g_motd "Make Peace with Your Gods"
seta sv_hostname "Dedicated v1.03 DUEL FEST"
seta Administrator "Ardayus"
seta Email "slyckfish@msn.com"
seta url "davestavern.iwarp.com"
seta Location "USA"

// Server Config

seta g_gametype 3
seta sv_maxclients 10
seta sv_minclients 0
seta g_ghostRespawn 3
seta g_forcerespawn 0
seta g_inactivity 0
seta sv_pure 1
seta sv_floodProtect 1
seta sv_maxRate 25000
seta sv_maxPing 500
seta sv_minPing 0
seta timelimit 20

// Game Settings

seta g_maxForceRank 7
seta g_forcePowerDisable 10209
seta g_weaponDisable 65531
seta g_saberLock 1
seta g_dismember 100
duel_fraglimit 1

// Maps rotationcycle

set d1 "map duel_training ; set nextmap vstr d2"
set d2 "map duel_carbon ; set nextmap vstr d3"
set d3 "map duel_pit ; set nextmap vstr d4"
set d4 "map duel_bay ; set nextmap vstr d5"
set d5 "map duel_hanger ; set nextmap vstr d6"
set d6 "map duel_temple ; set nextmap vstr d1"
vstr d1

05-14-2002, 02:09 PM
As far as comments go, you need to use sets not seta for things like Administrator, URL, Email, and Connection. I noticed you don't have fraglimit set to anything. I can't remember what the default is off the top of my head, but it's just as well that you set it to what you want. Also, you have duel_fraglimit in there, but it's not "set". I recommend always using set (or seta/sets) even if it seems to work without it anyway--just good form. Just add in the following:

seta fraglimit "1" // Number of frags a player needs to win a duel

What this means is that when 2 players start dueling, one of them needs to frag the other fraglimit times before the loser is rotated out. duel_fraglimit determines how many duels a single player needs to win before the map changes. I generally have it set around 8 or 10. I prefer to have the fraglimit set to 1 for duels to help keep the "line" moving. However, I've see it set to 2 and 3 before. Just remember that it's not the # of times the 2 players duel, but how many times one of them needs to frag the other. In other words fraglimit "2" is like best 2 out of 3, fraglimit "3" is best 3 out of 5.