=3VIL=Kampfer
09-20-2005, 10:35 AM
Is there a better way to change maps to a specific map?
Currently I'm doing this:
run rcon exec mapList.list which will return something like:
0: "Dalian_Plant" gpm_cq 32
1: "Daqing_Oilfields" gpm_cq 32
3: "Dragon_Valley" gpm_cq 32
If the server is on Dalian_Plant, and you need to switch to Dragon_Valley, you use the following commands:
rcon exec admin.nextLevel 3
rcon exec admin.runNextLevel
And the server will switch to Dragon Valley
The only flaw I see with this method is that the map must be in the rotation to be switched to.
The other method I've used, which allows switching to any map/size is this:
rcon exec mapList.clear
rcon exec maplist.append Dragon_Valley gpm_cq 32
rcon exec admin.runNextLevel
rcon exec maplist.load
Does anyone know a better method of switching maps?
Currently I'm doing this:
run rcon exec mapList.list which will return something like:
0: "Dalian_Plant" gpm_cq 32
1: "Daqing_Oilfields" gpm_cq 32
3: "Dragon_Valley" gpm_cq 32
If the server is on Dalian_Plant, and you need to switch to Dragon_Valley, you use the following commands:
rcon exec admin.nextLevel 3
rcon exec admin.runNextLevel
And the server will switch to Dragon Valley
The only flaw I see with this method is that the map must be in the rotation to be switched to.
The other method I've used, which allows switching to any map/size is this:
rcon exec mapList.clear
rcon exec maplist.append Dragon_Valley gpm_cq 32
rcon exec admin.runNextLevel
rcon exec maplist.load
Does anyone know a better method of switching maps?