Well My CW mod is switching to MP, so my friend had a question;
Ill just post it this way
How can that be coded? So that in your server.cfg, you can determin the map rotation and TIME between maps. Like a Coruscant at day between coruscant at night would take 24 hours, but like a Mygeeto at day and a Mygeeto at night takeing only 12w hours?
You could read in a file server-side formatted like so: "mapname" "time-stamp" "mapname" "time-stamp" "mapname" "time-stamp"
Assign that to a new var in the level_locals_t struct, and in G_RunFrame check 'if ( level.maxMapTime < level.time )', then add "nextmap" or whatever to the server command buffer.
Sounds great in theory, but the file IO and whatnot can be tedious. Best learn your way around the SDK first before you go diving in and changing everything =p
Heh This wasn't for me, it was for a friend, but ok TY