ETMods.net

N!tmod, a Wolfenstein: Enemy Territory Modification!

You are not logged in.

Announcement

You can donate to help us keeping services online.

#1 22-Apr-13 12:50:30

Kode
Member
Registered: 20-Mar-13
Posts: 17

Automatic map rotation

Does anyone know if it would be possible to set something up so the map rotation changed automatically after x days

Currently we have stopwatch.cfg with 8 maps I would like to have something like stopwatchcycle.cfg and stopwatchcycle-alt.cfg with 6 maps in each that changes after a set amount of time.

Anyone have any ideas?

Last edited by Kode (22-Apr-13 12:52:52)

Offline

#2 22-Apr-13 18:06:11

Micha
Member
From: Germany
Registered: 11-Feb-13
Posts: 38
Website

Re: Automatic map rotation

Maybe lua could do this. It has os.date and maybe it can be coded to detect date and then exec your cfg.

Offline

#3 22-Apr-13 19:29:55

Kode
Member
Registered: 20-Mar-13
Posts: 17

Re: Automatic map rotation

If it was too difficult to automate it would I just need to exec stopwatchcycle-alt.cfg to switch to the new one or would I need to restart the server or something as well?

Offline

#4 23-Apr-13 00:25:34

jay1110
BETA Tester
Registered: 01-Sep-12
Posts: 239
Website

Re: Automatic map rotation

exec should be enough.

Offline

#5 24-Apr-13 18:46:13

Dragonji
Member
From: Poland
Registered: 19-Aug-10
Posts: 88
Website

Re: Automatic map rotation

Shouldn't be that difficult using Lua.

Offline

Board footer

Powered by FluxBB