Jump to content

Home

How do you force certain gametypes on certain maps?


QuietSith

Recommended Posts

I'm having a problem that if people vote for gametype CTF - my configuration will still go through it's normal cycle and use the map-cycle (including) custom maps, forcing Team FFA instead.

 

What I want to do is have it do the following:

 

If people vote for CTF - the server will only play the CTF maps I have listed in my configuration.

 

If people vote for FFA - the server will only play the FFA maps I have listed in my configuration.

 

If people vote for Team FFA - the server will only play Team FFA maps I have listed in configuration... etc.

 

In my server .cfg (defaults to FFA) is the following:

 

set m0 "map ffa_bespin; set nextmap vstr m1"

set m1 "map ffa_deathstar; set nextmap vstr m2"

set m2 "map ffa_imperial; set nextmap vstr m3"

set m3 "map ffa_ns_hideout; set nextmap vstr m4"

set m4 "map ffa_ns_streets; set nextmap vstr m5"

set m5 "map ffa_raven; set nextmap vstr m6"

set m6 "map padtemple; set nextmap vstr m7"

set m7 "map padstation; set nextmap vstr m8"

set m8 "map padreactor; set nextmap vstr m9"

set m9 "map padhangar; set nextmap vstr m10"

set m10 "map padhall; set nextmap vstr m11"

set m11 "map map_canyon_oasis; set nextmap vstr m12"

set m12 "map irgcoruscantfinal; set nextmap vstr m13"

set m13 "map irglandingplatform; set nextmap vstr m14"

set m14 "map ffa_wastefacility; set nextmap vstr m15"

set m16 "map ffa_carbonfreeze; set nextmap vstr m17"

set m17 "map ffaepisode1; set nextmap vstr m18"

set m18 "vstr m0"

vstr m0

 

So how would I make those FFA only maps? And include more maps that are CTF only and only play in CTF mode?

 

Thank you very much.

Link to comment
Share on other sites

What I want to do is have it do the following:

If people vote for CTF - the server will only play the CTF maps I have listed in my configuration.

 

If people vote for FFA - the server will only play the FFA maps I have listed in my configuration.

 

If people vote for Team FFA - the server will only play Team FFA maps I have listed in configuration... etc.

 

I’m not sure about that one. Perhaps one of the other guys knows this. But you may want to check out a thread I started Custom Map cycles?? How do I ????

 

It may help you with other mapcycle questions you may have.

 

If you get an answer for the above information, please add it to the thread Custom Map cycles?? How do I ???? so we can have a general starting point for Custom mapcycle information.

Link to comment
Share on other sites

Knight,

 

Will that make it so only certain maps play at certain gamemode after a vote is called and it changes gametype?

 

For instance, I wouldn't want want the map cycle to change from ffa to CTF, but I want certain maps to only stay with a gametype.

 

Does that makes sense?

 

To the first poster:

 

"The worst thing about experience is that you usually get it right after you need it." <-- so true, nice sig. :)

Link to comment
Share on other sites

LOL No that didn't make good enough sense.... how about I tell you what it will do...

 

 

After every map change the gametype will be set to xx.

 

So if someone votes for ctf per se.. the next map load will change it back to gametype xx.

 

The only way you could prevent a vote from happening on a given map is to disable voting. so for example

 

 

vstr d1 "map ffa_bespin ; set g_gametype 0 ; set sv_allowvote 0 ; set nextmap vstr d2"

 

vstr d2 ....

 

 

that would load bespin change the gametype to FFA and disable voting.

Link to comment
Share on other sites

The trick is that there's not way for the rotation to understand what gametype is currently in play and to skip over maps that don't support that gametype. Personally, I keep voting turned off because my server is "advertised" as CTF Saber Only and I don't want a group of players to turn it into FFA No Force. ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...