|27th Jul 2012, 10:30 AM||#1|
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
|8th Aug 2012, 03:19 PM||#3|
Join Date: Jun. 16th, 2009
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:
C: 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" J: 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
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 http://forums.epicgames.com/threads/...uto-Login-Beta, 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 03:22 PM.