=============================================================
[ACM] Auto Change Maps
FOR : UT 436-440-451 Windows/Linux >DEDICATED< Servers
Version 1.00 January, 2006
By MSuLL
=============================================================
Original Idea by Cratos
NOTE: This modification's code is original and was NOT taken
from MapVote LA or any other modifications.
=============================================================




What is ACM ? :
================
ACM is a ServerActor which will make the server switch to a random
map from a pre-defined list of up to 64 maps.  With these
64 enteries, you can specify:

The map (example: CTF-Coret)
The game class (example: Botpack.CTFGame)
The desired mutators (example: BDBMapvote304.BDBMapvote,Revenge.Revenge)



Installation :
===============
The following may look confusing... but it's really really easy!
I will help you through it with very detailed instructions,
and I have included some examples as well.
Just follow along step by step - we won't lose you, I promise :D

Shut down your server.
Open your server's INI file (usually UnrealTournament.ini or Server.ini)

In the ServerActors area, add the following line:
ServerActors=AutoChangeMaps100.EmptyActor

There are no ServerPackages lines for this - is's server-side only!
Go ahead and Save/Close that file, and upload it to your server.


Configuration:
****************

Now open the file AutoChangeMaps100.ini, which was included in the package.
Let's set this thing up!

EmptyMins - The number of minutes the server must be empty before the map switches.
	I suggest 30 myself.


Now to add the maps you want to switch to.
Simply add the map prefix and then map name, like so:
MapSwitch[0]=CTF-Coret

Now scroll down and find its corresponding MapGameClass line.
MapGameClass[0]=Botpack.CTFGame (We tell it Botpack.CTFGame; loads the CTF style)

>> IMPORTANT <<
Then AFTER the gametype class, you MUST add the next match's mutators!
Do so by typing a colon (:), and then the mutators you wish to run.

So if we want Coret in CTF with BDBMapVote304, we type in:
MapGameClass[0]=Botpack.CTFGame:BDBMapVote304Mbeta.BDBMapVote

Now let's say we want more than one mutator - easy.
Simply separate your mutator entries with a comma (,)

So if we want Coret in CTF with BDBMapVote304 and Revenge Mutator:
MapGameClass[0]=Botpack.CTFGame:BDBMapVote304Mbeta.BDBMapVote,Revenge.Revenge


Add as many maps as you'd like, all the way up to 64.


!! <> IMPORTANT <> !!
When ran, this actor will attempt to detect the amount of maps that you have
added to the list (so that a random map can be chosen).  This server actor
will not run properly if you leave any lines blank between map enteries!

Example of what NOT to do:
****************************
MapSwitch[0]=CTF-Zyn_Matrix_TubesE
MapSwitch[1]=
MapSwitch[2]=CTF-RocketRacer
MapSwitch[3]=CTF-StupidCola




Finish up the installation!
=============================
Got all your maps entered? Great!

Go ahead and save / close the AutoChangeMaps.ini file.

Upload the following files to your server:
AutoChangeMaps.ini
AutoChangeMaps100.u

Start up your server, and have a blast!

- MSuLL




FAQs:
=======
- When I enter maps, do they need to have the .unr extension?

	No, they do not.  If you DO have the extension on there,
	it won't hurt anything. ACM will automatically check for
	an added extension and account for it when switching maps.


- This thing isn't working... what's wrong?

	If you're having trouble, check a few things. Have you set
	an amount of time before switching? Have you entered any
	maps into the maplist?  Did you remember to add the
	server actor into the server's INI file?


- What will happen if I accidentally enter a map file which is incorrect?

	Simply - nothing. UT will report that the file wasn't found,
	and it will give up on attempting to load the map.
	The actor will reset and choose another random map later.


- Can this have a preference of one map over another?

	No.  The actor simply asks UT to generate a random number.
	Each number corresponds to a map. Once a number is generated,
	it's corresponding map attempts to load.




Thanks To:
============
+ Beta Testers (All players of WhartHog's PigPen)
+ UnrealWiki
+ UnrealAdmin.org
+ Cratos of course! After all he had the idea first :P





Changelog:
*************
---------------
| Version 1.00 |
---------------
- Initial Release





----------------
| MSuLL - 2006 |
----------------