putting 'nextmap' to g_motd
hi, guys!
Is there any way to automatically put next map's name to g_motd cvar so we would get an actual next map shown at any connect and mapchange and we wouldn't have to write such things (and also would easier change rotation order, for example):
[code:1]
q3dm6 {g_motd: "^7Next map in rotation: ^2cpm9"}
cpm9 {g_motd: "^7Next map in rotation: ^2poq3dm5"}
etc
[/code:1]
(taken from Piranha's rotation file. Btw, hi, Piranha +)))
I tried using [code:1]g_motd "... next map: vstr nextmap"[/code:1], but that didn't work.
YO HERE WE GO:::PUT THAT IN YOUR ROTATION:TXT
EXAMBLE
// Place Maps Here
q3dm6{ g_motd: "^7Next map in Rotation: ^2cpm9" }
cpm9{ g_motd: "^7Next map in Rotation: ^2poq3dm5" }
poq3dm5{ g_motd: "^7Next map in Rotation: ^2overkill" }
overkill{ g_motd: "^7Next map in Rotation: ^2q3dm11" }
q3dm11{ g_motd: "^7Next map in Rotation: ^2q3dm7" }
q3dm7{ g_motd: "^7Next map in Rotation: ^26++" }
6++{ g_motd: "^7Next map in Rotation: ^2cpm14" }
cpm14{ g_motd: "^7Next map in Rotation: ^27++" }
7++{ g_motd: "^7Next map in Rotation: ^2cpm21" }
cpm21{ g_motd: "^7Next map in Rotation: ^2ospra3map1" }
ospra3map1{ g_motd: "^7Next map in Rotation: ^2cpm27" }
cpm27{ g_motd: "^7Next map in Rotation: ^2q3dm8" }
q3dm8{ g_motd: "^7Next map in Rotation: ^2q3dm7" }
q3dm7{ g_motd: "^7Next map in Rotation: ^2q3dm6" }
Thanx, Asphyx, but:
wrote:
Is there any way to automatically put next map's name to g_motd cvar so we would get an actual next map shown at any connect and mapchange and we wouldn't have to write such thingsIs this the only way?
Hm but even if it was automatically, wouldn't you still needed to edit the rotation file in order to add the new map( ? So i say if you are already editing the same file why not adding yourself the g_motd ? lazy ?
_________
epsislow
sry that is lazy but the only way to have a good g_motd and one time finished automatic rotation file....
That wouldnt work either because with the file rotation system the nextmap name is not kept in any cvar.
Hi all. Can you please tell how to write a g_motd in rotation.txt in version 2.2b. The examples here do not work in version 2.2b. Thanks in advance.
Thanx, Asphyx, but:
Is this the only way?