Map Cycle....

Locked
GraVitY0
Posts: 7
Joined: Sun Oct 23, 2005 1:28 am

Map Cycle....

Post by GraVitY0 »

I have a question that I can't seem to understand. I've opened Mapcycle.scriptcfg and edited it for a specific map cycle. What I'm finding is that the last map I was in was the map it the server starts upon re-opening the game. Is there a way that I can make a specific mapcycle to start? I've even tried setting the string

si_map = sys.getcvar( "mp/q4dm2" ); as an example

to make sure it starts at this map but it doesn't work. Does anyone have any ideas?

Thanks for your time,

Grav.
Hex
Posts: 190
Joined: Fri Oct 18, 2002 7:00 am

Post by Hex »

I don't get this: "the last map I was in was the map it the server starts upon re-opening the game"

but mebbe this helps anyway

use a cfg file called in your shortcut.

in the cfg file put
edit: godlike added an important info (si_map) below that I forgot:
si_map mp/q4dm1
si_mapcycle ""
g_mapcycle "mapcycle"


then when you launch the shortcut, you should be in the map set by si_map and then the mapcycle tells the server whats next.
Last edited by Hex on Sat Jan 21, 2006 12:22 am, edited 2 times in total.
GODLIKE
Posts: 387
Joined: Tue Nov 30, 1999 8:00 am

Post by GODLIKE »

Your server.cfg (or whatever you called it) sets si_map for the first map the server runs when it starts up...

seta si_map "mp/heat"
seta si_gameType "DM"

.. Then your mapcycle is used, when switching maps after that.

You can adjust replay_count in the mapcycle.scriptcfg file to determine if you want the map to be replayed, or just loop to the new map.
Locked