News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

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

Reply
 
Thread Tools Display Modes
Old 27th Jul 2012, 10:30 AM   #1
Gnam
Registered User
 
Gnam's Avatar
 
Join Date: Feb. 13th, 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, 09:23 AM   #2
Bi()ha2arD
Toxic!
 
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, 03:19 PM   #3
Narayana
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:
Code:
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
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 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.
Narayana is offline   Reply With Quote
Reply

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 08:28 AM.


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

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