UT2Vote Game configuration settings
UT2Vote now gives all the setup power to the Admin and lets him/her decide how many games, what configurations and
what Mutators etc, each individual game should have. You can add games (up to 50) but cannot remove the default games. UT2Vote needs these default GameTypes for its reference. Here I will give an example of how to create a new Game and go through each setting in detail. A typical GameType configuration looks like this: (all in one line) GameType=(GameName="Capture the Flag",HideVote=False,Clan=True,RequiredPlayers=2, MapLimits=0,ServerName="None",UseMapList=False,DefaultMap="CTF-Chrome", MapPrefix="CTF",AltMapPrefix="",GameClass="XGame.xCTFGame",Mutators="None", Commands="?GoalScore=5?TimeLimit=20?MinPlayers=2?MaxPlayers=17?MaxSpectators=2 ?Translocator=True?Weaponstay=True?BalanceTeams=True?ForceRespawn=False ?PlayersMustBeReady=False?Difficulty=5?GameStats=False?GameSpeed=1.00?FF=0?NumBots=3") So lets say we have just copied and pasted that line and want to change it to DeathBall. The actual length of the GameName depends on how many games you can fit into UT2Vote... let me explain. The way in which UT2Vote sends the information to the client is different to most. UT2Vote can send a maximum of 440 characters to the Clients GameMenu so.... Lets take a name like "Capture the Flag" which has 16 characters. So if all the games had 16 characters that would be 440 / (16 + 1) the + 1 is the comma that seperates each game. This means UT2Vote can handle 25 games. Any others would be dumped. Fortunately most games have short names and you can call it what you like. Please Note: no commas or fullstops are allowed in a GameName. So in our example GameName="Death Ball" If however it is set to True, UT2Vote will hide the Game in the Game Menu. In our example HideVote=False This should be set to False for all DeathMatch type Games in our example lets say RequiredPlayers=4 as DeathBall is boring with only 2 players. In our example lets make it MapLimits=1 In our example we will call it ServerName="ProAsm's Deathball Game" In our case we set it to UseMapList=False Here you set the name of a default map that UT2Vote will use if this gametype is selected to do an auto defaultgame switch. In our example we use DefaultMap="DB-Cube" In our example it will be MapPrefix="DB" AltMapPrefixes Added where the GameType AltMapPrefix= can now have up to 10 different map prefixes. For instance: AltMapPrefix="CTF,DM,DOM,AS,ONS" The number of maps per prefix depends on the number of prefixes. Maps each = 250 / Number of prefixes. So if you have 5 prefixes as per example, then you will be allowed 250/5 = 50 maps of each type. It does not allow more of one if you only have say 20 of another as they are devided into equal slots. These maps are only available during the current game. If you vote for a new Game, then only that games particular maps will be available for the vote. Once the game has switched then the number of MapPrefixes for that game will come into effect. If UseMapList=True is set in a GameType, then the AltMapPrefix= maps will now also use the UT2004.ini maplists. Its only a pity that Modders don't mention there Game or Mutator ClassNames in their Readme files.... such a pity 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 .ucl file that comes with that Mod. Game=(ClassName=DeathBall.DB_Deathball,GameName= etc etc.. ) What you are interested in, in all cases is the part between the Name= and the very next ',' comma. In this case it is DeathBall.DB_Deathball 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 GameClass="DeathBall.DB_Deathball" Please Note.. nowhere ever do you enter UT2Vote in as a Mutator anywhere as it will see to that itself. If you dont want any Mutators with this game leave it as "" or "None" In our example lets leave it as Mutators="None" GoalScore= This is the fraglimit, goals or the number of flags needed to win the game. TimeLimit= This is the max timelimit allowed for the game. If set to 0, the game will continue till the GoalScore is reached. MinPlayers= This mainly refers to Bots on a server. If set to 2 means if there is only one player, he will play with a Bot. When a second player joins the game, the Bot will leave and the players carry on. If set to 0, no Bots will be allowed. MaxPlayers= The total number of players allowed on a server. MaxSpectators= The total number of Spectators allowed on a server. Translocator= Set to True or False, depends if this game uses the Translocator or not. If True the Translocator will be used. WeaponStay= Set to True or False, if set to False this game will have its weapons dissapear when picked up and respawned a while later. BalanceTeams= Set to True or False, if True and a Team type game, UT2004 will try and balance the teams equally otherwise the players need to do it manually themselves which is sometimes better as UT always screws it up :) ForceRespawn= Set to True or False, if True then when a player dies he will immediately be respawn. PlayersMustBeReady= Set to True or False, if True then everyone needs to click their Fire button to indicate they are ready before a game can start. Difficulty= Set between 1 and 7, this is the skill level that the Bots will play at. GameStats= Set to True or False, self explanatory, but if you want Bots on your server, set it to False. GameSpeed= The speed of the game set as 1.00 upto 2.00. FF= FriendlyFire setting for TeamGames and can be from 0.0 to 1.0 NumBots= This only effects a local Instant Action game and has no effect on a server. It is basically the number of Bots you want to play with. AirControl Should an Admin wish to change a games AirControl then just add the option in the GameType string. ?AirControl=0.35 (default) Extras There are several other commands you can just add on to the end if you like, but just remember to seperate each one with a ? (question mark) and keep them within the "" (quotes). All these commands are available for the Admin in the UT2Vote AdminMenu to change at any time he/she wishes. For new alternate games you can get GameMake3 |