If the allies win map ‘A’, you then go on to play map ‘B’, but if the axis win, then you go on to play map ‘X’. Just thinking of a campaign, but trying to keep the “campaign story” on track.
Can this map rotation be done?
Woah, I had the SAME EXACT idea a few days ago. Im curious to see if anyone from SD will answer this so I know…
I’ve thought about this too, it would be real nice if it could be done.
Could it be possible to do something like this:
set d1 "set g_gametype 2 ; map oasis ; if wm_setwinner 0; set nextmap vstr d2; else set nextmap d5"
set d2 "set g_gametype 2 ; map battery ; if wm_setwinner 1; set nextmap vstr d3; else set nextmap d4"
set d3 "set g_gametype 2 ; map goldrush ; set nextmap vstr d4"
set d4 "set g_gametype 2 ; map radar ; set nextmap vstr d5"
set d5 "set g_gametype 2 ; map railgun ; set nextmap vstr d6"
set d6 "set g_gametype 2 ; map fueldump ; set nextmap vstr d1"
vstr d1
The “if wm_setwinner 0” tells the game that the Axis won and should go to the second map.
I don’t know if that would work though.
I think I remember it being asked before, and Sock said it wasn’t possible.
Not 100% sure. :???:
ye he did say it wasnt possible. but i do not remember the reason why not.
I dont see what the big prob is… How much simplier could a line of code be? IF this happens do this, OR IF this happens do this… Whats the prob?
i think it is something to do with the server rotation changing mid way throught a map cycle which is wrong, but i dont know.