News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > BeyondUnreal > Games > Unreal Tournament Series > Unreal Tournament 3

Thread Tools Display Modes
Old 27th Jul 2012, 11:30 AM   #1
Registered User
Gnam's Avatar
Join Date: Feb. 14th, 2002
Location: Yes, please.
Posts: 515
Launch session with specific map rotation via script?

We all have maps we hate and want to avoid, but setting up your map rotation through the instant action menu is a big pain, and often UT3 will "forget" your rotation when you exit, so you have to spend 5 minutes doing it all again next time.

Is there a way to create a script which launches a local session with desired settings and map rotation, so all you have to do is exec "myTDMlist.cfg" and start fragging?

I am aware of Synx's MapMixer mod, I'm just wondering if there's any way to do it out of the box and w/ no GUI.
"Guns don't kill people, people do, and monkeys [if they have a gun.]"
- Eddie Izzard
Gnam is offline   Reply With Quote
Old 28th Jul 2012, 10:23 AM   #2
Bi()ha2arD's Avatar
Join Date: Jun. 29th, 2009
Location: Germany
Posts: 2,814
If I remember correctly it's in one of the inis. Most likely UTGame.ini.
Bi()ha2arD is offline   Reply With Quote
Old 8th Aug 2012, 04:19 PM   #3
Registered User
Join Date: Jun. 16th, 2009
Posts: 19
There are some ways to automate this with UTMaplists.ini copies and batch files:

1. create and start a session and exit the game, copy+rename the UTMaplists.ini to something you can recognize like UTMapListsDMSTOCKini, UTMapListsDMHolp.ini. Repeat this step for alternate map cycles. Alternatively, you can manually edit the map lists.

2. Now create a batch file for each map list with which to launch the game, ex:
copy "C:\Users\N\Documents\My Games\Unreal Tournament 3\UTGame\Config\UTMapListsDMSTOCK.ini" "C:\Users\N\Documents\My Games\Unreal Tournament 3\UTGame\Config\UTMapLists.ini"
CD "J:\Games\Steam\steamapps\common\Unreal Tournament 3\Binaries\"
set __COMPAT_LAYER=RunAsInvoker
UT3.exe DM-Deck?mutator=MutProfileAutoLogin.MutProfileAutoLogin?ProfileName=YourUsername?ProfilePassword=YourPassword -nostartupmovies
So this tells my computer to start in "C:" , copy my UTMapListsDMSTOCK.ini (one of the files I created in step 1) to my UT3 config directory and rename it to UTMaplists.ini, switch to my other drive, "J:", then Change Directory) into my steam install of UT3, set a compatibility layer for WIN7 (to work around the ICMP issue, in case I wish to exit local session and see all servers), start UT3.exe with one of the maps in my newly copied UTMaplists.ini (skipping menu), set mutator(s), and automatically login. Most (all?) of the command line handles one can use to start/change a server can be added here on the last line(s).

The above batch skips movies and launches elevated to workaround the ICMP issue introduce by Windows 7, some of this is not quite necessary for offline session, or WINXP. It specifies Geist's Autologin mutator, which I am not sure is necessary with the latest patches.) You can try to run without this mutator, leaving your login information in the .bat the stock way. Also, this is not necessary if you simply wish to launch the game to main menu after copying the config file.

One alternative to all the above - should you wish to switch map cycles / mutators while the game is still running - is to host local server with webadmin setup and enabled. From webadmin you can create mapcycles of different names, which are effectively added to a single UTMaplists.ini, then you can switch to them through the webadmin gui, once you have setup some gameprofiles.

Last edited by Narayana; 8th Aug 2012 at 04:22 PM.
Narayana is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer