Package: SetGameType (Unreal One) Author: }TCP{Wolf Date: 2008-03-29 Contact: Chaos.Worx@gmx.net Audience: Unreal / UT server administrators Table of Contents ================== 1) What's This For? 2) Installation + Running 3) Settings 4) Typical GameType strings 1) What's This for? ------------------------------- The Unreal server browser has different tabs displaying servers in a "sorted" way. You click on a TAB - for example: DeathMatch and you only see servers with DeathMatch running - or TeamGame, and you only see Team servers. The browser orients itself on the variable called "GameType". Mods out there modify this value and when there is no special TAB for a modded GameType, the server will only appear under the tab "All Servers". This little mod allows you, the administrator of a server, to set the GameType of your server to whatever you want regardless what mod you run. Note that this may confuse some players coming to your server expecting your server to run the advertised GameType while in reality it does NOT. You should have your server name express what your server is actually about if you run a mod that alters gameplay but still you have your server appear as "standard". NOTE: This will NOT work with Unreal Tournament, because sadly in UT, the Browser gets the game type from the actual CLASS in use (code from UdpServerQuery): ResultSet = ResultSet$"\\gametype\\"$GetItemName(string(Level.Game.Class)); 2) Installation + Running ------------------------------- Installation is pretty simple: copy the INT and U file in your servers system directory. Do NOT add "SetGameType" to ServerPackages. Running can be done adding the mutator to your mutator list or as serveractor. The class name is SetGameType.MUT_SetGameType Examples: ServerActors=SetGameType.MUT_SetGameType or Unreal.exe dmelsinore?game=UTeamFix.TeamGameFix?SetGameType.MUT_SetGameType?log=server1.log ini=Unreal1.ini -server etc... Choose ONE method, either ServerActor -OR- Mutator, NOT BOTH! Also remember that if you have several mutators, you need to separate them by comma (,). 3) Settings ------------------------------- In the advanced options, the settings show up under "Networking/MUT_SetGameType". SearchString The original GameType is looked at for THIS string. GameType is only set if the SearchString is found in part or precisely unless "always" is selected - see SearchStringMatch setting! SearchStringMatch You can choose WHEN to have the GameType changed depending on the normal GameType your server uses. This variable can have one of three settings: always - always change GameType (ignores SearchString) partial - see if GameType contains your SearchString and change if it does - this search is case IN-sensitive precise - see if GameType EQUALS your SearchString and change if it does - this search is case sensitive SetToGameType What to set the GameType to. See chapter 4 for some standard strings you might want to enter here (copy paste). StartupWaitTime Amount of time in seconds the mutator waits before setting the GameType. The Configuration is written into your Unreal.ini file and looks like this by default: [SetGameType.MUT_SetGameType] SearchStringMatch=always StartupWaitTime=1.500000 SearchString= SetToGameType=My Custom GameType If this paragraph is missing just copy paste it at the end of your ini and adjust as necessary. 4) Typical GameType strings ------------------------------- DeathMatch Unreal One standard DeathMatch Team Game Unreal One standard Team Game Coop Game Unreal One standard Coop Game King of the Hill Unreal One King of the Hill DeathMatchPlus Unreal Tournament standard DeathMatch TeamGamePlus Unreal Tournament standard Team Game CTFGame Unreal Tournament standard Capture The Flag Domination Unreal Tournament standard Domination Assault Unreal Tournament standard Assault LastManStanding Unreal Tournament LMS This list makes no assumption of completeness.