Alliedassault           
FAQ Calendar
Go Back   Alliedassault > FPS Gaming General Discussion > MoH General Discussion
Reload this Page Command line parameters
MoH General Discussion General Discussion about Medal of Honor: Allied Assault, expansions and Pacific Assault

Reply
 
Thread Tools Display Modes
Command line parameters
Old
  (#1)
Braniac is Offline
Junior Member
 
Posts: 1
Join Date: Nov 2002
   
Default Command line parameters - 11-19-2002, 05:22 PM

Anybody know the command-line paramaters available for launching MOHAA or Spearhead? Specifically, I would like to create a shortcut that will launch the game and connect to a particular server. Thanks!
  
Reply With Quote
Old
  (#2)
Shockwave is Offline
Junior Member
 
Posts: 8
Join Date: Nov 2002
Location: Rochester, NY
 Send a message via ICQ to Shockwave  
Default 11-19-2002, 06:39 PM

If you want to make a shortcut to launch the game and automatically connect to a specific server, it's very easy. First, make yourself a copy of the shortcut you normally use to start the game. Once you've done that, right-click on the shortcut and choose Properties from the menu. Once the dialog is displayed, make sure you have the Shortcut tab selected at the top.

This will display, among other things, the command used to start the game in an input box called Target. If you installed it in the default location, it will contain an entry like this:

"C:\Program Files\EA GAMES\MOHAA\MOHAA.EXE"

The box is not wide enough to show the entire line, so you will most probably be viewing the tail end of it. Next you'll need to edit the contents of this box, so left-click in the box and make sure that the cursor is positioned after the quotation marks at the end of the line. Type a space and add the following to the line so it ends up looking like this, substituting the IP address of the server you want to connect to automatically for the one I have used below:

"C:\Program Files\EA GAMES\MOHAA\MOHAA.EXE" +set cl_playintro 0 +connect 216.42.80.176

Each command line option starts with a "+" and may contain one or more arguments depending on the option used. The first option listed above tells the server not to play the normal client introduction sequence. The second argument is what tells the client to automatically connect to a game server. Remember to change the IP address to the server you want.
  
Reply With Quote
Old
  (#3)
Braniac is Offline
Junior Member
 
Posts: 1
Join Date: Nov 2002
   
Default 11-19-2002, 08:04 PM

Thanks! Works like a charm. Do you have a list of other arguments that can be used with these executables? Could you, for example, make the shortcut create specific settings (video or whatever) before connecting?
  
Reply With Quote
Old
  (#4)
Braniac is Offline
Junior Member
 
Posts: 1
Join Date: Nov 2002
   
Default 11-19-2002, 08:05 PM

Thanks! Works like a charm. Do you have a list of other arguments that can be used with these executables? Could you, for example, make the shortcut create specific settings (video or whatever) before connecting?
  
Reply With Quote
Reply



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



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.