hi!
hope that somebody can help me with the following, pls:
i'd like to build a stopwatch-cycle with a team-shuffle after round two, i tried the following:
set as1 "set g_gametype 3; map supplydepot2; set g_warmup 1; set nextmap vstr as2; sets StopwatchRound 1; exec motd.cfg"
set as2 "set g_warmup 1; map_restart; set nextmap vstr bs1; sets StopwatchRound 2; exec motd.cfg; shuffle_teams; say ^1teams shuffled"
set bs1 "set g_gametype 3; map oasis; set g_warmup 1; set nextmap vstr bs2; sets StopwatchRound 1; exec motd.cfg"
set bs2 "set g_warmup 1; map_restart; set nextmap vstr cs1; sets StopwatchRound 2; exec motd.cfg; shuffle_teams; say ^1teams shuffled"
etc...
now the console statement "teams shuffled" already appears after stopwatch round 1 and teams arent shuffled @ all...
but apart from that everything works.
can anybody pls tell me, what i'm doing wrong?
thx alot!
RabBit
success is:
1% inspiration
99% perspiration
albert einstein
IIRC (been a while since i played with it), the exact position of the shuffle_teams command is important - didnt figure out why, just that it didnt work right otherwise.
example:
set m3r1 "g_gametype 3; map radar; shuffle_teams; set nextmap vstr m3r2"
set m3r2 "map_restart 0; set nextmap vstr m4r1"
btw might want to make it shuffleteamsxp_norestart, er cant quite remember why, something to do with it otherwise shuffling twice, er perhaps, and also it does remove the "server restarted" message which can freak out some players
ok, thx so far, guys:)
i'll try that out:)
@deus:
the shuffle command is already implemented in the first line of a map, so:
does it not shuffle already after round1 but does really shuffle after round2??
thx
your's RabBit
success is:
1% inspiration
99% perspiration
albert einstein
ahaaaaaa:)))
now i got the point;
if i insert it into line zwo (meaning et to shuffle AFTER the second round) it takes the shuffle command into conideration too early(@ the beginning of round two), so if you put it in line one, it takes that map and shuffles the teams AT THE BEGINNING of round one, understand:))
thx alot that really brought me further
success is:
1% inspiration
99% perspiration
albert einstein