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.
| Displays the current and average frames per second (FPS) in the top left corner on | renderer.drawFps 1 |
| Turns the Heads Up Display (HUD) off | renderer.drawHud 0 |
| Turns off access to the in-game console | renderer.drawConsole 0 |
| 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 |
| Set Profile Name | localProfile.setName [name] |
| Set Profile Nick | localProfile.setNick [nick] |
Unlock Special Weapons (Version 1.0.0 only) |
Locate
the file "unlocks.py" located in 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 codedefaultUnlocks
= [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.
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.
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.
