Forum

> > CS2D > General > Auto change to zm
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Auto change to zm

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Auto change to zm

Junker
User Off Offline

Zitieren
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.

alt Re: Auto change to zm

DrFreenote
User Off Offline

Zitieren
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.
1× editiert, zuletzt 19.03.09 11:06:17

alt Re: Auto change to zm

Junker
User Off Offline

Zitieren
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?

alt Re: Auto change to zm

Mumu
User Off Offline

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

Someone shold make a Tutorial about this stuff ...

alt Re: Auto change to zm

DrFreenote
User Off Offline

Zitieren
Junker hat geschrieben
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 hat geschrieben
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht