[Question] Map lists and map rotation
Map pool
I have several server with different gameplay modes. How to restrict map pool for Duel and FFA server separately?
Example:
Duel server: dm4, dm6 FFA server: dm1, dm3
Map rotation
How to setup map rotation for duel server (like in q2 or q3)?
q3 example: after end of the duel match server changes map automatically with accordant maplist.txt.
Is there such ability in KTX server?
Hi
The map rotation is just variables, so wouldn't this be the case of having a different one for each mode then executing that in the default.cfg for that usermode (e.g. configs/usermodes/ffa/default.cfg)?
Haven't tried it out (and maybe we should improve this) but not sure why that wouldn't work.
- meag
@FlamesoFF for the map pool question, there is nothing so far in KTX that restricts to a specific map pool if people want to vote for a map outside the pool. As @meag mentioned, you can define a default maps rotation though so if you have a server dedicated to FFA (let's assume port1) for example, you would set the following cvars:
In ktx/configs/usermodes/ffa/default.cfg
set k_ml_0 "dm1"
set k_ml_1 "dm3"
In ktx/port1.cfg
set k_defmap dm3 // set it to the last map of your rotation to
// avoid having twice the same map if you set it to the first map of your rotation
This setup would still allow people to vote for maps outside your predefined rotation but you switch back to it as soon as the voted map has been played.
Your duel server (let's say port2) could then have the following cvars set:
In ktx/configs/usermodes/1on1/default.cfg
set k_ml_0 "dm4"
set k_ml_1 "dm6"
In ktx/port2.cfg
set k_defmap dm6 // set it to the last map of your rotation to
// avoid having twice the same map if you set it to the first map of your rotation
The idea of having a maplist.txt file within the usermode directory which would act as an allowed map pool is interesting though. I wouldn't mind adding it as an option.
Default configurations would definitely not enforced it though as I feel it would prevent people from trying out new maps that might be available on servers, and we've had quite a bit of new maps created recently, as well as initiatives to promote map pools updates for server admins.