LETS ALL ADD DIFFERENT COMMANDS, HOW BOUT OBJECTS.RFA
Aside from the in-game settings, you can adjust some additional "hidden" settings and resolve a problem or two through the configuration (.con) files for BF1942. These are all located in various folders, typically under the C:\Program Files\EA GAMES\Battlefield 1942\Mods\bf1942\Settings directory. You can edit these .con files with Wordpad (recommended) or Notepad. Before you change any file, back it up first – that is, copy it and rename it e.g. Videodefault.Real_con. That way if anything goes wrong, you won't lose the original settings and I won't get angry emails.
I cover the settings you can change below, but if a setting can be changed using the in-game menus, I recommend you do it there instead of in the .con files, and I won't cover such settings in this section (See In-Game settings for more details). Also, as a general rule, don't change any of the files in the \Default\ folders, as these hold the game's default settings.
This is an important setting. By default it is set to 0, however if you have a refresh rate fix installed in WinXP/Win2K (so your refresh rate can exceed 60Hz – which I recommend), then BF1942 will not start up unless you change this setting to 1. I recommend you change it to 1 in any case, as it will improve performance and ease eye strain by utilising the monitor's maximum refresh rate at your chosen resolution.
If you're having graphics problems, try inserting this line into the con file to disable trilinear filtering (and use bilinear filtering). When set to 0, bilinear is used. If absent or set to 1, trilinear is used (which is the default). Disabling trilinear can help Radeon users (and some older GeForce card users) in gaining extra performance with no noticeable graphics quality loss.
If for some reason you want to start BF1942 in a window as opposed to full screen, set this to 0 to do so. This is not recommended however, as you may experience problems.
The default is 1. Values between 0 up to 1 (e.g. 0.85) will give you a closer (zoomed right in) Field of View (FOV) than normal, while values over 1 (e.g. 1.5) will give you a farther FOV than normal. Experiment with values close to 1 to see if it suits you better than the default.
LOD is the Level of Detail. As objects get further away from the camera, the number of polygons rendered by the graphics card will be gradually reduced without any noticeable reduction in detail. This improves performance, particularly with large numbers of objects on the screen. The Global LOD Radius setting determines the radius around the character (imagine a bubble) beyond which LOD starts to reduce (at a rate based on the scale factor below). The higher this setting – given a constant (non-zero) scale factor – the higher the graphics details on objects, but the lower your fps. Increase this setting if you want crisper, more detailed objects around you, but at the cost of some fps. The default is 1, which is the lowest practical setting.
Having set the radius beyond which the Level of Detail begins to drop (see above), the LOD Radius Scale Factor setting determines the rate at which polygons are stripped from objects the further away they are from the camera outside this radius. The default is 5. Values lower than 5 decrease LOD decay (meaning higher graphics quality), values higher than 5 increase it (meaning lower graphics quality). If you want the absolute best level of detail, at the expense of some fps, choose 0, which means no reduction in LOD regardless of distance. The default 5 is a good balance, but experiment with slightly lower or higher values (e.g. 4 or 6) to see which increases your fps at the cost of minimal, if any, noticeable reduction in graphics quality.
This option is the same as the one explained in the Console Commands section below. Setting it to 1 will automatically display game engine statistics when BF1942 loads up. You can turn off this display at any time by using the same command in the console with a 0 setting.
Mipmap bias determines how clear the textures appear. The lower the value, the sharper the textures, with values ranging from -8 to 14. Experiment with different values (note however that values above 0 typically strip away too many textures) to see the impact on visual quality and performance. Note this line doesn't exist in the Videodefault.con file by default, so you'll have to add it if you want to set a custom mipmapbias level at startup.
Determines which level loads up by default as BF1942 is loading. You can change the default name at the end of the directory path to the map you want to load (e.g. Bf1942/Levels/Berlin/). I particularly recommend Berlin because it's the smallest map in total size to load and hence will speed up loading and minimize memory usage at startup. Deleting this line or pointing to a non-existent map loads up Midway by default.
Turns off the Menu screen on loadup if set to 0. Useful for troubleshooting, as you will now see which files are loading up as BF1942 loads, how much memory is being taken up, and (if the game crashes during loadup) how far the game progressed the load before hitting a problem. Leave at default if not troubleshooting.
Turns off the Heads Up Display (HUD) at loadup if set to 0. This is similar to the console command. Turning off the HUD improves performance but removes important information, so it's recommended you leave the HUD on.
When set to 0, this setting allows use of callback functions to debug the program for troubleshooting purposes. Leave it at default of 1 for best performance.
The above two .con files are the main global settings which affect performance. The remaining .con files either do not affect performance or contain settings which can be changed in the In-Game menus, and so won't be covered here. I do not recommend editing any setting you can access through In-Game menus.
Skipping the Introductory Movies
The introductory movies in BF1942 showing the EA and DICE logos and the long main movie sequence are fun to watch the first few times. However they add to memory overhead and certainly add to loadup times. You can quickly and easily skip these movies automatically each time you start BF1942 by right-clicking on your BF1942 game icon and selecting Properties. Then in the Target box you'll see something like: "C:\Program Files\EA GAMES\Battlefield 1942\BF1942.exe". Now simply put a space after the last character and add "+restart 1" (without the quotes).
If for some reason that doesn't work, the second method to skip the intro movies is to go to your Movies folder (typically C:\Program Files\EA GAMES\Battlefield 1942\Movies) and rename the existing .bik movie files to something else. This method may only work if you're using a No-CD patch.
Either way, now each time you run BF1942 you will rapidly be taken directly to the Menu screen where you can load a user profile and get underway in much less time.
There are a range of useful commands which can be accessed through the game console, or entered into the .con files. To open the console, press the tilde (~) key. To close the console, press ~ again. You can bring up a full list of commands for each category (Console, Game, Chat, Renderer, Sound, Admin, Debug and Profiler) in the console by typing the group name (e.g. Game.) and then pressing the TAB key repeatedly to first see the group list, then the correct usage of the commands.
To use a console command, type the full name of the command and the value required, e.g:
will turn the Tool Tips on. Using the value 0 in front of the above command will turn the Tool Tips off. This is shown as 1/0 below (called a Boolean value – [bool]), which indicates that using 1 enables a function, 0 disables it. The use of # (or [float]) after a command below means a numeric value is required for the command.
A list of console commands is provided below, grouped into the various categories – although Debug and Profiler categories are not covered. Where known a description of the command is also provided.
Console Console.showfps 1/0 (When enabled shows your current Frames Per Second (FPS) in the top left corner of the screen) Console.showstats 1/0 (When enabled shows a range of system performance information)
Game game.sayTeam (Team chat) game.sayAll (Global chat) game.listPlayers (Lists players and their id numbers) game.listMaps (Lists the maps and number assignments in server rotation) game.voteMap # (Votes to change the map to the number specified) game.TKPunish (Punish a TK - works only in Forgive Mode) game.TKForgive (Forgive a TK - works only in Punish Mode) game.addPlayerToBuddyList [ID] (Add a user to the buddy list) game.removePlayerFromBuddyList [ID] (Removes a user from the buddy list) game.buddyList (Prints a list of your current buddies) game.voteKickPlayer [ID] (Calls a vote to kick a player. To vote enter this command with the same number) game.voteKickTeamPlayer [ID] (Same as above but only teammates are allowed to vote) game.changePlayerName [Name] (Renames your player in-game) game.dumpNetworkDebugStats 1/0 game.debugCallBackDisabled 1/0 (Allows use of callbacks to get game info) game.useHUD 1/0 (Toggles the the Head Up Display (HUD)) game.setShadows 1/0 (Toggles shadows on/off) game.setEnvironmentMapping 1/0 (Toggles Environment Mapping on/off) game.setToolTip 1/0 (Toggles tool tips on/off) game.setRadioToolTip 1/0 (Toggles Radio button text on/off) game.setCrossHairColor # # # (Adjusts crosshair color based on Red Green & Blue values entered) game.setStaticMiniMap 1/0 (When set to 0 the minimap rotates as you rotate ) game.setMiniMapTransparency # (The higher the number the more transparent) game.RadioToolTipColor # # # (Adjusts the color of the Radio button text (if on)) game.getIp (Displays IP in the message window) game.getLevelName (Displays the name of the level) game.enableFreeCamera 1/0 (Enable/disable the ability to look around while waiting to spawn) game.killPlayer [ID] (Kills player with the id number - Admin only) game.disconnect (Disconnects from the server) game.suicide (Kills your character) game.setCommonMouseSensitivity # (Sets Common mouse sensitivity)
Air Controls game.setAirKeyboardSensitivity # (Sets keyboard sensitivity when flying planes) game.setAirMouseSensitivity # (Sets mouse sensitivity when flying planes) game.setAirMouseInvert 1/0 (1 for inverted, 0 for default (non-inverted) when flying planes)
Infantry Controls game.setInfMouseSensitivity # (Sets mouse sensitivity as a soldier) game.setInfMouseInvert 1/0 (1 for inverted, 0 for default (non-inverted) when a soldier)
Vehicle Controls game.setLandSeaKeyboardSensitivity # (Sets keyboard sensitivity when using a vehicle) game.setLandSeaMouseSensitivity # (Sets mouse sensitivity when using a vehicle) game.setLandSeaMouseInvert 1/0 (1 for inverted, 0 for default (non-inverted) when using a vehicle)
The Following Game Settings are explained in the In-Game Settings section above and perform the same function. Note they cannot be changed in-game in the console. You can edit/insert these settings in the relevant .con files.
game.setConnection 1-4 (Sets the type of connection) game.setDisableSound 1/0 (Toggles sound on/off) game.setChannels # (Sets number of sound channels) game.setMasterVolume # (Sets master volume level) game.setMenuMusicVolume # (Sets menu volume level) game.setMusicOnOff 1/0 (Toggles music on/off) game.setLocalizedDialog 0 (Toggles localized dialog on/off) game.setQuality # (Sets sound quality) game.setSoundDetail game.setHardware # game.setGameDisplayMode [Width] [Height] [Color Depth] [Refresh Rate] (e.g. 1280 960 32 85 = 1280x960, 32-bit color @ 85Hz ) game.setDetailTexture # game.setGraphicsQuality # game.setLightmaps 1/0 game.setRenderWhenSpawnMenu 1 game.setMenuViewdistance # game.setEffectsQuality # game.setPerformance #
Chat chat.setChatMessageSize # (No. of lines for chat messages display) chat.seGameInfoMessageSize # (No. of lines for game info display) chat.setKillMessageSize # (No. of lines for kills info display) chat.setChatHistory # (Sets the no of lines for all 3 message displays at once) chat.chatInfo (Returns status on how many lines each message window in using) chat.OldChatListStyle 1/0 (If set to 1, the old v1.2 message window model is used) chat.OldChatListHistory # (No. of rows used if the old message window model is used) chat.ignoreRadioText 1/0 (If 1, No radio text is printed) chat.ignoreRadioAudio 1/0 (If 1, No radio sounds are played) chat.setIgnoreRadioAudioAndText 1/0 (If 1, both radio sounds and radio text is supressed) chat.getIgnoreRadioAudioAndText (Prints status for these settings) chat.addToIgnoreList [ID] (Ignores a specific user's chatting) chat.removeFromIgnoreList [ID] (Stop ignoring a specific user's chatting) chat.ignoreList (Returns the list of ignored players)
Renderer renderer.allowAllRefreshRates 1/0 (Similar to setting in Videodefault.con – see above) renderer.extrapolateFrame 1/0 renderer.mipMapBias # (Determines how clear the textures appear. The lower the value, the sharper the textures ranging from -8 to 14.) renderer.setVSyncEnabled 1/0 1/0 (Enables/Disables Vertical Sync. Both boolean values must match for this setting to work, e.g. 0 0 (off) or 1 1 (on)) renderer.getVSyncEnabled (Displays whether Vsync is enabled (1) or disabled (0)) renderer.lockfps # (Attempts to keep FPS at number entered) renderer.vertexFogEnable 1/0 renderer.wireframe 1/0 renderer.forceSWSkinning 1/0
Sound The Following settings can't be changed in-game. You can edit/insert these settings in the Sound.con file.
Sound.setDopplerFactor 1/0 (Turns on/off 3D Audio effects) Sound.setRolloffFactor 1/0 (As above) Sound.setDistanceFactor 1/0 (As above) Sound.setPitchChangeRate # Sound.showSoundInfo 1/0 (Toggles information display about the sound performance) Sound.drawSoundObjects 1/0 (As above)
Admin Note, if logged in as a remote admin, to run the following commands you need to use the admin.execremotecommand "command" console function to execute each command successfully.
admin.getRemoteConsoleEnabled (Displays whether remote console is enabled) admin.enableRemoteConsole [username] [password] # (Enables remote access to a BF1942 Server) admin.disableRemoteConsole (Disables remote access to a BF1942 Server) admin.enableRemoteAdmin [password] (Allows a Remote Admin to log into a server) admin.disableRemoteAdmin (Disables a Remote Admin logging into a server) admin.execremotecommand "command" (Executes a command (such as those listed here) from remote Admin) admin.maxAllowedConnectionType [type] (Sets the highest connection type (1-4) allowed to join the server) admin.voteMapMajority # (Percentage of voters required to change a Map (0 – 1.0)) admin.voteKickPlayerMajority (As above for Votekicks) admin.voteKickTeamPlayerMajority (As above for Team Votekicks) admin.enableMapVote 1/0 (Enables/Disables Map voting) admin.enableKickPlayerVote 1/0 (As above for Votekicks) admin.enableKickTeamPlayerVote 1/0 (As above for Team Votekicks) admin.votingTime # (Number of seconds during which players can vote) admin.kickPlayer [ID] (Admin version of Votekick player) admin.banPlayer [ID] (Admin permanent Votekick (ban) of player) admin.changeMap [map name] (Admin changes map to name specified) admin.addAddressToBanList [IP] (Adds a player's IP address to banned list) admin.removeAddressFromBanList [IP] (Removes a player's IP address from banned list) admin.listBannedAdresses (Lists all banned IPs) admin.clearBanList (Clears all banned ips) admin.banTime # (Length of time a banned player cannot join server) admin.tagPlayer [ID] admin.bandWidthChokeLimit # admin.allownosecam 1/0 (Allows player to turn off HUD while flying) admin.externalviews 1/0 (Allows/disallows external camera view and nose cam) admin.togglegamepause (Enables/Disables pausing) admin.setTicketRatio # admin.autoBalanceTeam 1/0 (Enables/Disables Auto team-balancing when teams are uneven) admin.delayBeforeStartingGame # (Time delay before a game starts) admin.roundDelayBeforeStartingGame # (Time delay before a new round starts) admin.soldierFFRatio # (The ratio of damage (e.g. 0.5=50%) done by Friendly Fire) admin.vehicleFFratio # (As above for vehicle FF) admin.soldierFFRatioOnSplash # (As above for weapon splash damage) admin.vehcileFFRatioOnSplash #(As above for vehicle FF splash damage) admin.kickBack # (How far player is kicked back when hit) admin.kickBackOnSplash #(As above for splash damage) admin.timeLimit # (Time limit for match) admin.scoreLimit # (Score limit for match) admin.restartMap (Restarts current map) admin.setNextLevel [map] (Sets the next map to load after current map ends) admin.timeBeforeRestartMap # (How much time until the map restarts) admin.SetNrOfRounds # (Sets the number of rounds) admin.timeToNextWave # admin.spawnWaveTime # admin.spawnDelayPenaltyForTK # (The number of extra spawn waves applied) admin.banPlayerOnTKKick 1/0 (When set to 1, players are also banned when kicked for TK) admin.nrOrTKToKick # (The number of punished TK's before being kicked) admin.tkPunishMode 1/0 (0: Punish Mode - Players are punished by default, until the victim forgives the TK, 1: Forgive Mode - Players are forgiven by default, until the victim punishes the TK
I want to be like the Admins
18th December 2002
WTF DID U MAKE THIS THREAD?
28th May 2003
Originally posted by ghost77 WTF DID U MAKE THIS THREAD?
:confused: :confused: :confused: Are you upset? Hey Von thanks we needed an updated one, u rock bro!:agreed: :agreed:
6th January 2003
Huh where have I seen this before. Where was this copied from?
28th November 2002
If you want the aliassed command: (e.g. at the place to type "game.votekickPlayer" you can just type "kick")
Go into your BF1942 directory/MODS/BF1942/SETTINGS/aliassedcommand.con
The Internet ends at GF
21st June 2003
Got a problem vulcan?
28th November 2002
Vulcan_X2 you are in danger...
under the bridge
7th July 2003
VonMeyer, unless your name happens to be Koroush Ghazi and you happen to have written the above for tweaktown, it's nice to give credit where credit is due: