Unlocking All The Weapons In Bf2
DragonMech
Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
in Off-Topic
<div class="IPBDescription">For single-player mode</div> My internet connection has been giving me trouble in the last few days, and I've been pretty much stuck to a single-player server on my own machine in BF2. I know there is a way to unlock the extra guns in the single player campaign (allow global unlocks, maybe?) but I can't find it on the web. Does anyone here know how I can access them?
Comments
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.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
That answer your question?
I hope someone else answers the question, then, because I'd like to know how to do it again too :>