Jump to content

console commnads


Narug0

Recommended Posts

Renderer Commands

 

 

 

renderer.drawHud [0,1] - Turns the Heads Up Display (HUD) on or off.

 

renderer.drawConsole [0,1] - Turns off access to the in-game console if set to 0.

 

renderer.drawFps [0,1] - Displays the current frames per second (FPS) and the time in milliseconds between frames.

 

 

 

Game Commands

 

 

 

game.sayAll [string] - Says the specified text in global chat

 

game.sayTeam [number] [string] - Says the specified text in team chat

 

game.lockFps [framerate] - Caps the game's maximum framerate to specified number

 

game.allowToggleFullscreen [0,1] - If set to 1 allows toggling of fullscreen/windowed mode

 

game.toggleFullscreen - Toggles between fullscreen and windowed mode

 

 

 

Demo Commands

 

 

 

demo.recordDemo [demoname] - Starts recording current gameplay and saves the file as demoname.bf2demo in your \Program Files\EA Games\Battlefield 2\mods\bf2\Demos directory

 

demo.stopRecording - Stops current demo recording

 

demo.ShutdownDemo - Stops and closes down current demo run

 

 

 

Localprofile Commands>>>> make backup your folder profiles These commands are used to adjust server settings, particularly in the Serversettings.con file under your \Documents and Settings\[username]\My Documents\Battlefield 2\Profiles\[profile]\ directory.

 

localProfile.setName [name] - Shows/Sets the name for your current account

 

localProfile.setNick [nick] - Shows/Sets the nickname for your current account

 

localProfile.setGamespyNick [GameSpyNick] - Shows/Sets the GameSpy login name for your account

 

localProfile.setEmail - Shows/Sets the email account for the current account

 

localProfile.setPassword [password] - Shows/Sets the password for the current account

 

localProfile.setNumTimesLoggedIn [number] - Shows/Sets the number of times the player has logged in with the current account

 

localProfile.setTotalPlayedTime [seconds] - Shows/Sets the time the game has been played using the current account

 

localProfile.save -

 

localProfile.addDemoBookmark [ ] - Adds a bookmark to a Battlerecorder demo

 

 

 

Globalsettings Commands

 

 

 

globalSettings.setDefaultUser [number] - Sets the profile to use, the first one being 0001, then 0002 etc.

 

 

 

Sv Commands

 

 

 

These commands are used to adjust server settings, particularly in the Serversettings.con file under your \Documents and Settings\[username]\My Documents\Battlefield 2\Profiles\[profile]\ directory.

 

 

 

PS: crtl + v dont work, type the first letter and press TAB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.