A couple of hint's here, there is a tweakguide for BF2 here :
http://www.tweakguides.com/BF2_1.html
and
BF2 Hack :Unlock Weapons :Unlimited Single Player time
No time Limit Single Player
navigate to:
C:\Program Files\EA GAMES\Battlefield 2 Demo\mods\bf2\python\game\gamemodes
open the file
gpm_cq.py with notepad
find the line:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; width: 640px; height: 34px; overflow: auto;"><div style="text-align: left;" dir="ltr">host.registerHandler('TimeLimitReached', onTimeLimitReached, 1)</div></pre>
</div>
change it to read:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; width: 640px; height: 34px; overflow: auto;"><div style="text-align: left;" dir="ltr">#host.registerHandler('TimeLimitReached', onTimeLimitReached, 1)</div></pre>
</div>
Simple as..time limit will count down but not end the map at 0.
Unlock weapons
*works in single player and lan games, will work online
IF the server
hosting
AND all the clients have the same hacked python file.
navigate to:
C:\Program Files\EA GAMES\Battlefield 2 Demo\python\bf2\stats
Open the file
unlocks.py with notepad
find the line:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; width: 640px; height: 34px; overflow: auto;"><div style="text-align: left;" dir="ltr">defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]</div></pre>
</div>
change to:
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset ; margin: 0px; padding: 6px; width: 640px; height: 34px; overflow: auto;"><div style="text-align: left;" dir="ltr">defaultUnlocks = [1, 1, 1, 1, 1, 1, 1]</div></pre>
</div>