Unlock Special Weapons Locate the file "unlocks.py" located in C:\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 in single-player mode (the trick also works in multiplayer mode, however, EA Games will ban your CD-Key for a week if they discover you are using this in multiplayer. So just replace the unaltered backup file of "unlocks.py" for multiplayer and vice versa).