2 Rotation files with callvote
Hello all, is there a possibility to have 2 rotation files which you can choose with a callvote? Maybe it's possible to bind different rotations to different config and then callvote config will lead to changing map rotation? I haven't found any topic which can answer this question, if there is any, then pls direct me to it.
as i said in irc, heres it for others who wonder about a solution:
[11:56] drt_Equil slaps foksie`LoY around a bit with a large trout
[11:56] drt_Equil: i have a little question
[11:56] foksie`LoY: ask
[11:57] drt_Equil: is it possible to somehow callvote for a different rotation file?
[11:57] foksie`LoY: yep
[11:57] drt_Equil: how?
[11:57] foksie`LoY: you have to make a weapon config which execs the new rotation
[11:58] drt_Equil: do you have an example?
[11:58] foksie`LoY: you make a weapon config lets say called new_rotation.cfg
[11:58] foksie`LoY: and in it you put
[12:00] foksie`LoY: Misc {
[12:00] foksie`LoY: \set xp_rotation "conf/new_rotation.txt"
[12:00] foksie`LoY: \load conf/plus
[12:00] foksie`LoY: \map q3ctf1
[12:00] foksie`LoY: }
[12:00] foksie`LoY: and you are on your way
[12:00] foksie`LoY: then people just callvote load conf/new_rotation.cfg
[12:00] drt_Equil: ok, thanks, I will try it
addition:
instead of
Misc {
\set xp_rotation "conf/new_rotation.txt"
\load conf/plus
\map q3ctf1
}
do this
Misc {
\exec "new_server_file.cfg"
\load conf/plus
\map q3ctf1
}
and in the new server file define the new xp_rotation
Thanks a lot, it works indeed
----------------------
|ZOO| team - Connecting people.