[Fixed] rotation update

1 reply [Last post]
¯¯__█ALI█¯¯__
xpaliminium's picture
Offline
Joined: Nov 2005
Posts:

Hi,

Can the rotation file syntax be updated to do something like new weapon configs syntax so it permits :

[code:1]$var = "blabla";

if ($var == "blabla") {
...
}
else {
...
}

q3dm1 {
if ($var == "blabla") {
...
/load conf/plusN
}
else {
...
}
g_gametype = 8;
}[/code:1]

And to change the g_motd automatically to nextmap value except if we have specified it :

q3dm1 {
g_motd = "blabla";

}

Thinking:

regards,

Wanna avoid seeying mow, skull & co Surprise

Check this peacefull place

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
[Fixed] rotation update

Implemented if-else constructs to rotation file. However, its not as advanced as the configuration system implementation. Actually it's very close to the 1.03 config system implementation.

Also added a cvar, xp_activeClients to hold number of human clients currently playing, to be able to change the rotation depending on the number of players.

About the g_motd cvar, won't implement.

Había una vez un barco chiquito...