Quake3World.com
https://www.quake3world.com/forum/

Q3A Server Map Rotation CFG. Need Help.
https://www.quake3world.com/forum/viewtopic.php?f=16&t=52493
Page 1 of 1

Author:  G-Stuff002 [ 11-17-2016 11:33 AM ]
Post subject:  Q3A Server Map Rotation CFG. Need Help.

I wont to combining CTF & FFA maps in one CFG file for map rotation. How to do it ? And on CTF maps the blue and red team have 2 bot's auto join. Skill must be Hardcore. On FFA maps without bot's.

I make a script but it not work correctly. First map wtf-q3a-3 is CTF. Second map dc_map06 is FFA. They's loading incorrect and CTF map loading without bot's..

Someone help me ?

//0 = OFF
//1 = ON
//seta g_teamAutoJoin 1
//seta g_teamForceBalance 0
//seta g_gametype 4 // Capture the Flag
//seta g_gametype 0 // Free For All
//seta g_friendlyFire 0
//seta sv_maxclients 20

set d1 "map wtf-q3a-3; set g_gametype 4; capturelimit 5; set bot_enable 1; g_spskill 4; seta g_teamAutoJoin 1; set nextmap vstr d2"
set d2 "map dc_map06; set g_gametype 0; fraglimit 20; set nextmap vstr d1"
vstr d1

Author:  Eraser [ 11-17-2016 11:04 PM ]
Post subject:  Re: Q3A Server Map Rotation CFG. Need Help.

You'll need to set bot_minplayers 2 as well (I think that adds 2 bots per team, otherwise use 4)

Author:  G-Stuff002 [ 11-17-2016 11:21 PM ]
Post subject:  Re: Q3A Server Map Rotation CFG. Need Help.

When i exec maprotation.cfg 1-st map loading as FFA but must should be loading as CTF

Author:  G-Stuff002 [ 11-17-2016 11:27 PM ]
Post subject:  Re: Q3A Server Map Rotation CFG. Need Help.

Eraser PLEASE, can you edit correctly all my script ?

Author:  Eraser [ 11-18-2016 03:06 AM ]
Post subject:  Re: Q3A Server Map Rotation CFG. Need Help.

You'll need to put the map command last in each list of commands. They are executed in order, so now it'll load map wtf-q3a-3 and after loading the map, it changes the other vars. A change in gametype will only be applied when the map is changed, so you want to change the gametype first and then change the map:

set d1 "set g_gametype 4; capturelimit 5; set bot_enable 1; g_spskill 4; seta g_teamAutoJoin 1; map wtf-q3a-3; set nextmap vstr d2"
set d2 "set g_gametype 0; fraglimit 20; map dc_map06; set nextmap vstr d1"

Author:  G-Stuff002 [ 11-18-2016 04:11 AM ]
Post subject:  Re: Q3A Server Map Rotation CFG. Need Help.

It's work! thx Eraser !! This is all script:

set d1 "set g_gametype 4; capturelimit 5; set bot_enable 1; set bot_minplayers 2; g_spskill 4; seta g_teamAutoJoin 1; map wtf-q3a-3; set nextmap vstr d2"
set d2 "set g_gametype 0; fraglimit 20; set bot_enable 0; map dc_map06; set nextmap vstr d1"
vstr d1

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/