Note: This procedure involves editing a game file; create a backup copy of the file before proceeding. Use a text editor to edit the "unlocks.py" file in the "\python\bf2\stats" folder. Change line 44 from "defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]" to "defaultUnlocks = [1, 1, 1, 1, 1, 1, 1]".
Note: This procedure involves changing game files; create backup copies before proceeding. Enter the "\ea games\battlefield 2 demo\mods\bf2\movies" folder and delete or move all of its files. There will now be no ads or movies at the start of the game. This can also speed up the menu because there will be no movie in background. Note: This also can be done in the demo version of the game.
Press ~ to display the console window. Then, enter one of the following console commands on a server to activate the corresponding cheat functions:
| Result | Command |
| Invincibility | aiCheats.code Tobias.Karlsson |
| Bots cheat | aiCheats.code BotsCanCheatToo |
| Kill bots | aiCheats.code Thomas.Skoldenborg |
| Kill enemy bots | aiCheats.code Jonathan.Gustavsson |
| New spawn location | aiCheats.code WalkingIsWayTooTiresome |
| Toggle frame rate display | renderer.drawfps [0 or 1] |
| Toggle AI stat | aiCheats.code TheAllSeeingEyeOfTheAIProgrammer |
| Toggle pausing the game | gameLogic.togglePause |
| Toggle HUD | renderer.drawHud [0 or 1] |
| Toggle access to in-game console | renderer.drawConsole [0 or 1] |
| Record current game as demo in \mods\bf2\demos folder | demo.recordDemo [filename] |
| Stop current demo recording | demo.stopRecording |
| List map ID number, name, mode, and number of players | mapList.list |
| Set path to "_mapList.con" file | mapList.configFile |
| Reload "_mapList.con" file | mapList.load |
| Save current map list to "_mapList.con" file | mapList.save |
| Show total number of maps in current map list | mapList.mapCount |
| Show the map list ID number of current map | mapList.currentMap |
| Clear current map list | mapList.clear |
| Remove specified map from map list | mapList.remove [name] |
| List players connected | admin.listPlayers |
| End round and start next map on map list | admin.runNextLevel |
| View map list ID number for current map | admin.currentLevel |
| View map list ID number for the next map to be played | admin.nextLevel |
| Restart current map | admin.restartMap |
| Kick indicated player | admin.kickPlayer [ID number] |
| Ban indicated player by ID; see below for timeout values | admin.banPlayer [id number] [timeout] |
| Ban indicated player by CD key hash; see below for timeout values | admin.banPlayerKey [key hash] [timeout] |
| Ban indicated player by IP address; see below for timeout values | admin.addAddressToBanList [ip address] [timeout] |
| Ban CD key hash; see below for timeout value | admin.addKeyToBanList [key hash] [timeout] |
| Remove indicated IP address from ban list | admin.removeAddressFromBanList [ip address] |
| Remove indicated CD key hash from ban list | admin.removeKeyFromBanList [key hash] |
| List banned IP addresses | admin.listBannedAddresses |
| List banned CD keys | admin.listBannedKeys |
| Clear all ban lists | admin.clearBanList |
Use one of the following values with the banning commands:
| Result | Value |
| Permanent ban | perm |
| Until next map | round |
| Number of seconds | [whole number] |
| Epoch expiration date; seconds since 1/1/1970 | :[whole number] |
Get 1,000 global points on ranked servers to unlock your first weapon. You will not obtain any points you have earned on a server unless you play until the round is over (until the map changes or a team wins). When you have gotten over 1,000 global points in your BFHQ window, quit the game and return to get a special pop up window congratulating you on your new rank and a message stating that you can now unlock your first weapon. Be very careful on which weapon you choose, as you will not be able to change it afterwards. The next rank requires 10,000 global points.
Anti-Tank's DAO-12
Assault's G3
Engineer's Mk3A1
Medic's L85A1
Sniper's M95
Spec Ops' G36C
Support's PKM
To receive your badge you must play the entire round until it is over. Sometimes your new badge may require a few hours to arrive.
All Basic Combat Badges (Sniper, Assault, Medic, Engineer, Support, AntiArmor, SpecOps): To get these Badges you must get 10 kills in one round with any weapon (not in any vehicle or anything of any kind).
Basic Knife Combat Badge: Kill seven people with a knife in one round.
Basic Pistol Combat Badge: Kill nine people with a pistol in one round.
Basic Explosive Ordinance Badge: Kill ten people with C4 in one round.
Basic Command Badge: Win 50 points as a commander before the round ends.
Basic Engineer Badge: Get from 5 to 10 Repair Points On in one round. The only way to gain points from this is by repairing your Team's Commander Equipment (Artillery, UAV Trailer, Radar) or by repairing vehicles that you or someone on your team is in. Repairing a vehicle that no one is in will work some of the times depending on certain circumstances (time after last person left vehicle and if that person has died) and is not recommended if you want to get points for repair, since you might not get any points at all.
Basic First Aid Badge: Get near 10 Healing Points people with First Aid in one round. Throw your kit on the floor as it gets points much quicker. You cannot get points by healing yourself.
Basic Resupply Badge: Get 5 resupply points in one round. Throw your kit in the floor as it gets points much quicker. You cannot get points by resupplying yourself.
All Basic Vehicle Related Badges (Transport, Armor, Helicopter, Ground Defence, Air Defence, Aviator): You must be in one of these vehicles for 30 minutes. You must be the driver of the vehicle; ground defense and air defense are mounted on the ground.
Get the indicated number of global points to advance to the corresponding rank:
To rename your soldier, which the game by default does not allow you to do, you must edit the "\Battlefield 2\Profiles\0001\Profile.con" file and change the first value, in the quotes, to whatever you wish your soldier's name to be. For example, change:
to
There is a farm house and field in the center of the field in the Wetlands map. If you are in a plane or chopper you can see a crop circle there.