|
|
|
Mutator configuration settings
In the UT2Vote21.ini file you will see a heading:
[UT2Vote21.UT2VoteMutators]
To add Custom made Mutators to UT2Vote you need to copy and paste the example given and
just change necessary parameters. Here I will give an example of the Sniper Arena Mutator. After copying and pasting you will have:
Mutator=(FriendlyName="None",AllowVote=True,Hide=False,MutClassName="None.None",Voted=False)
FriendlyName="None"
First you enter a Friendly name for the Mutator - keep it as short as possible as it has to fit in the Menu. In our case we call it
FriendlyName="Sniper Arena"
AllowVote=
Self explanatory, if set to True then it will appear in the Mutator Menu and players can vote for it.
If however it is set to false, UT2Vote will completely ignore it as if it does not even exist.
Hide=
If set to True, then only the Admin will see the Mutator in the Menu and not the Players.
MutClassName="None.None"
As I did in the Game Configurations, I will repeat it here. Here I am going to spend a bit of time here as this confuses many Admin as they often end up putting all sorts of garbage in here. Its only a pity that Modders
do not mention there Game or Mutator ClassNames in their Readme files. Some things to remember about a ClassName is it will ALWAYS be 2 names seperated by a period. The best way to find a Game, Mod or Mutators ClassName
is to look in the INT file that comes with that Mod. [Public] Object=(Name=SniperArena.MutSniperArena,Class=Class,MetaClass=Engine.Mutator,Description="Whatever")
What you are interested in, in all cases is the part between the Name= and the very next ',' comma. In this case it is SniperArena.MutSniperArena It is of paramount importance that you have this ClassName correct
else you will not only crash UT2Vote but you will without a doubt crash your whole server as well, so if you are not 100% sure, either write to the author of the Mod or just dump the mod. In our example it will be
MutGameClass="SniperArena.MutSniperArena"
Voted=False
Please leave this alone, as it is used internally by UT2Vote as an indication whether it has been voted for or not.
Serverpackages
Just a reminder here, that whatever Mutator you add here MUST be declared in your ServerPackages= in your UT2003.ini file. Everytime this Mutator is voted
for, UT2Vote will look in the ServerPackages and if it cannot find it, UT2Vote will abort the vote and inform the player that the Mutator is not registered in the ServerPackages and to contact the Admin.
|
|