Jump to content

Home

Custom Map rotations - Duel/TFFA


Nefilim

Recommended Posts

Ok, I am trying to setup my server so that it alternates from Duel map to Team FFA map, but I am having some problems. Here is my config:

 

 

seta sv_hostname "^3Nef's Duel & TFFA Server"
seta g_motd "Welcome to Nef's Duel & TFFA Server. Enjoy your stay!"
sets "Administrator" "Nefilim"
sets "Clan" "DrF| Dark Rebel Forces"
sets "IRC" "irc.dynamix.com"
sets "Plug" "Nefilim's Duel & TFFA"

seta sv_maxRate "1000"
seta sv_maxclients "6"

seta g_needpass "1"
seta g_password "test"

seta sv_reconnectlimit "3"
seta g_inactivity "180"

seta sv_timeout "180" 
seta sv_padPackets "0"

seta sv_floodProtect "1"

seta timelimit "25" 
seta g_adaptrespawn "1" 
seta sv_cheats "0" 
seta g_logSync "0" 
seta g_log "games.log" 
seta g_timeouttospec "70" 
seta g_statLog "0" 
seta g_teamForceBalance "0" 
seta g_teamAutoJoin "1" 
seta g_friendlySaber "0" 
seta g_friendlyFire "0" 
seta g_saberInterpolate "1" 
seta g_weaponDisable "65531" 
seta g_forcePowerDisable "0" 
seta g_spawnInvulnerability "3000" 
seta g_forceRegenTime "300" 
seta g_blueTeam "Rebellion" 
seta g_redTeam "Empire" 
seta g_duelWeaponDisable "65531" 
seta g_forceBasedTeams "0" 
seta duel_fraglimit "10" 
seta g_maxForceRank "7" 
seta g_saberLocking "1" 
seta g_privateDuel "1"


//execs custom map rotation
set d1 "seta g_gametype 3 ; seta fraglimit 1 ; map duel_pit ; set nextmap vstr d2"
set d2 "seta g_gametype 5 ; seta fraglimit 30 ; map ffa_bespin ;set nextmap vstr d3"
set d3 "seta g_gametype 3 ; seta fraglimit 1 ; map duel_carbon ; set nextmap vstr d4" 
set d4 "seta g_gametype 5 ; seta fraglimit 30 ; map ffa_ns_streets ; set nextmap vstr d5"
set d5 "seta g_gametype 3 ; seta fraglimit 1 ; map duel_bay ; set nextmap vstr d6"
set d6 "seta g_gametype 5 ; seta fraglimit 30 ; map ffa_deathstar ; set nextmap vstr d7" 
set d7 "seta g_gametype 3 ; seta fraglimit 1 ; map duel_jedi ; set nextmap vstr d1"

vstr d1

 

 

My problem concerns mainly 3 commands:

 

seta duel_fraglimit - It appears this command defines the number of round victories before it will cycle the map. Problem is, it doesnt seem to use the normal vstr nextmap command. This value is NOT reset on map change from the console, not sure it it resets by vote change to another duel. So I tried setting it at 0 and using just the timelimit to cycle the map to the next one in my rotation, but see below;

 

 

seta timelimit - In duel mode this sets the timelimit PER ROUND, not globally like in the other game modes, so i cant use this to cycle maps.

 

 

seta fraglimit - In duel mode this is used to define the amount of kills PER ROUND, so a low number like 1 works in Duel, but ends at the first kill in Team FFA or FFA. I seem to have gotten around this by resetting it in each map definition, so this isnt really a problem I dont think, but I havent tested it fully.

 

 

So.... I can go from TeamFFA to Duel no problem via the fraglimit or the timelimit, but I cant go from Duel to TFFA unless its voted nextmap or changed via console.... and when someone hits the duel_fraglimit, it goes to another duel map and breaks my rotation. Any suggestions? (btw, I am a total n00b to this kinda stuff :( )

Link to comment
Share on other sites

Don't know if this will help you much but I have a rotation setup similar to yours, But I have not tested properly yet.

 

I did find a Q3 server setup guide that used a slightly different setup for the rotation

 

You can also define a number of other variables for each map inside the rotation script such as capturelimit, fraglimit, timelimit, ect. This rotation runs Q3DM1 and then switches to Capture the Flag for Q3CTF2 and Q3CTF3 and then goes back to Q3DM1 Deathmatch for a ctf intermission of sorts.

 

set d1 "fraglimit 15 ; timelimit 10 ; g_gametype 0 ; map q3dm1 ; set nextmap vstr d2"

set d2 "fraglimit 150 ; timelimit 15 ; g_gametype 4 ; capturelimit 3 ; map q3ctf2 ; set nextmap vstr d3"

set d3 "fraglimit 150 ; timelimit 15 ; g_gametype 4 ; capturelimit 3 ; map q3ctf3 ; set nextmap vstr d1"

vstr d1

 

It is basically the same as yours but without the 'seta' commands.

Maybe the 'seta' command is changing the server settings instead of just for the map rotation.

 

Just incase you need more info check out this Q3 server setup guide I came across. The link is

 

http://www.3dgw.com/guides/q3a/

 

Even though it is Q3 server Guide JK-II is based on the Q3 engine so a lot should be similar.

Link to comment
Share on other sites

This works for me:

 

// Server Config

seta sv_hostname "Viktoria"

seta sv_maxclients 12

seta g_inactivity 0

seta sv_maxRate 25000

seta sv_minRate 5000

seta g_allowvote 0

seta timelimit 20

seta capturelimit 20

seta g_duelWeaponDisable 65531

stea g_maxForceRank 6

seta g_privateDuel 1

seta g_saberLocking 1

seta net_port 28070

seta net_ip "localhost"

seta sv_allowDownload 1

seta sv_timeout 200

seta sv_maxPing 250

seta logfile 0

seta developer 0

seta duel_fraglimit 10

seta sv_floodProtect 1

 

set d1 "set timelimit 20 ; set g_gametype 7 ; set capturelimit 5 ; map ctf_bespin ; set nextmap vstr d2"

set d2 "set timelimit 20 ; set g_gametype 5 ; set fraglimit 50 ; map ffa_ns_hideout ; set nextmap vstr d3"

set d3 "set timelimit 20 ; set g_gametype 7 ; set capturelimit 5 ; map ctf_ns_streets ; set nextmap vstr d4"

set d4 "set timelimit 20 ; set g_gametype 5 ; set fraglimit 50 ; map ffa_deathstar ; set nextmap vstr d5"

set d5 "set timelimit 20 ; set g_gametype 7 ; set capturelimit 5 ; map ctf_yavin ; set nextmap vstr d6"

set d6 "set timelimit 20 ; set g_gametype 5 ; set fraglimit 50 ; map ffa_raven ; set nextmap vstr d7"

set d7 "set timelimit 20 ; set g_gametype 7 ; set capturelimit 5 ; map ctf_imperial ; set nextmap vstr d1"

vstr d1

 

 

Make sure to use the correct gametypenumbers or the server will hang up on you :jawa

 

Regards

/bALoO

Link to comment
Share on other sites

I have found another way of doing it thanks to a guide on http://www.gameadmins.com

 

The guide was for Q3 SCTA mod ,but I created a modified version of the multiple config and rotations scripts for my JKII.

 

I have it running on my server now testing see if it works, so far it seems to.

 

But the guide can be found at

 

http://www.gameadmins.com/guides/q3/taserver.htm

 

This info may be of use to others anyhow.

 

Now all I need is a stats program for the server with html output that will run on a linux server.

Link to comment
Share on other sites

had the same problem today but only when Duel hit the rotation. Some were complaing that it would not switch players when the ones duelling had finished.

 

I was not on the server but joined later, someone had changed it to FFA mode and it was looping the same duel map over and over again.

 

In the end I just ran one of the other map rotation scripts other than duel and that put the rotation back into full swing.

 

For now I have removed the duel maps from the rotation.

 

Looks like maybe a fault in the actual duel mode itself.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...