Forum

> > CS2D > General > Auto change to zm
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Auto change to zm

6 replies
To the start Previous 1 Next To the start

old Auto change to zm

Junker
User Off Offline

Quote
Hi. zm_streets has auto change to Zombies! game mode. But how can i do same thing in my map? I mean, not to change game mode when creating server, but when game change it after loading map.

old Re: Auto change to zm

DrFreenote
User Off Offline

Quote
The answer lies within the "mapcycle.cfg" file within the "sys" folder.

The line which sets zm_street is as follows.

1
zm_street		{ sv_gamemode 4; }

So you'll want to set the same game mode for your map.
Just add another line and replace zm_example with whatever you named your map.

1
zm_example		{ sv_gamemode 4; }

You can do this with other game modes by changing sv_gamemode to something other then 4. I believe the ordering is as follows:
0 - Standard
1 - Deathmatch
2 - Team Deathmatch
3 - Construction
4 - Zombies!

Yes, if you add the line it will change the game mode no matter how you load the map, be it via loading the map through a new game, changing to the map from within the server menu, changing the map from within the console, or when the game auto rotates the maps after the set limits have been reached.
edited 1×, last 19.03.09 11:06:17 am

old Re: Auto change to zm

Junker
User Off Offline

Quote
Oh, one more thing:
I turn off auto team ballance, but bots still joining to other team. Is it bots' script, or i've done something wrong?

old Re: Auto change to zm

Mumu
User Off Offline

Quote
Cool this sure helps A LOT ... tnx TrialByFire you are the man ...

Someone shold make a Tutorial about this stuff ...

old Re: Auto change to zm

DrFreenote
User Off Offline

Quote
Junker has written
Oh, one more thing:
I turn off auto team ballance, but bots still joining to other team. Is it bots' script, or i've done something wrong?


This happens to me too. I haven't bothered looking for a workaround for this. If I find something I'll let you know.

Mumu has written
Cool this sure helps A LOT ... tnx TrialByFire you are the man ...

Someone shold make a Tutorial about this stuff ...


Depending on how I'm feeling I might join FPS Banana and add my little tidbits, or I might just add my findings to the wiki.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview