Console Commands (1.0.1 or prior only)
Press the "~" key to bring up the console and type these codes in to do the desired effect. If you see a "1" or a "0" Change it to the oppostie and it will turn it on/off. If you see any thing with "" around it you replace it with what it says.
Effect Code Displays the current and average frames per second (FPS) in the top left corner on renderer.drawFps 1 Set Profile Name localProfile.setName [name] Set Profile Nick localProfile.setNick [nick] Starts recording current gameplay and saves the file as demoname.bf2demo in your \Program Files\EA Games\Battlefield 2 Demo\mods\bf2\Demos directory demo.recordDemo [demoname] Stops current demo recording demo.stopRecording Toggles pausing the game gameLogic.togglePause Turns off access to the in-game console renderer.drawConsole 0 Turns the Heads Up Display (HUD) off renderer.drawHud 0
Stay outside the map border forever!
This glitch allows you to stay outside of the map forever, where you should normally hear the "Where do you think you are going soldier..." message.
You can do this with a friend for example by making a squad together. What you do is this: The squadleader goes out into the red zone where you hear the previously mentioned message and you spawn in on him. You can stay outside the map forever. Have your friend die and leave the squad so you become squad leader and let him spawn in on you. Now the two of you can stay outside and never die from the out of bound penalty.
(Only works on earlier patches)
Contributed By: CWGaming.
Play BF2 In a Window
To play Battlefield 2 in a window, right click your Battlefield 2 shortcut. In the Target section, change "+ fullscreen 1" to "+ fullscreen 0" You will get a windowed version of the game.
Contributed By: Spot2009.
Skip Intro Movies
To skip the intro movies when you load up Battlefield 2, delete the Dice, EA, Intro, and Legal Bink Video files from your EA Games\Battlefield 2\mods\bf2\Movies folder.
Contributed By: _DeadManWalkin_.
Unlock Special Weapons (Version 1.0.0 only)
Locate the file "unlocks.py" located in <Drive Letter>Program Files\EA GAMES\Battlefield 2\python\bf2\stats (or whereever you installed Battlefield 2, in the folders \python\bf2\stats), and open "unlocks.py" with Notepad.
(Before you open unlocks.py, you should make a backup of the file "unlocks.py" (just copy and paste the file) and rename the file to unlocks1.py)
Now you should see a whole bunch of codes. Press CTRL+F and find the word "defaultunlocks" (without the quotations).
this should highlight the line of code
defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]
change all the "0"s to "1"s, so it looks like
defaultUnlocks = [1, 1, 1, 1, 1, 1, 1]
and now press CTRL+S to save.
Note: this only works for single player, this trick works for multiplayer, however, EA Games will ban your CD-Key for a week if they discover you are using this for multiplayer. So just replace the unaltered backup file of "unlocks.py" for multiplayer and vice versa.
Contributed By: jtslau.
Know Something We Don't?
You can submit new cheats for this game and help our users gain an edge.
Have We Been Fooled?
You can submit a problem report for any non-working or fake code in the lists above.