Battlefield 2 Demo ( Removing round limit and unlocking weapons )
---------------------------------------------------------------
To remove round time limit in SP ( SinglePlayer ):
1. open
"Battlefield 2 Demo\mods\bf\python\game\gamemodes\gpm_cq.py"
with Notepad.
2. Locate this line:
Quote:
host.registerHandler('TimeLimitReached', onTimeLimitReached, 1)
3. Place a # in front of it so it appears like:
Quote:
#host.registerHandler('TimeLimitReached', onTimeLimitReached, 1)
4. Save edited file.
This will make the 10 min timer still appear but once it hits 0:00 the clock will disappear and you will be able to play until the tickets expire.
---------------------------------------------------------------
To remove roundlimit in MP ( MultiPlayer ), u have to edit
"Battlefield 2 Standalone Demo Server/mods/bf2/python/game/gamemodes/gpm_cq.py"
same like in SP.
---------------------------------------------------------------
If u want to see "Locked" weapons in SP ( SinglePlayer ) :
1. Open "Battlefield 2 Demo\python\bf2\stats\unlocks.py" with Notepad.
2. Locate this line:
Quote:
defaultUnlocks = [0, 0, 0, 0, 0, 0, 0]
3. Change all 0 to 1, like here:
Quote:
defaultUnlocks = [1, 1, 1, 1, 1, 1, 1]
4. Save edited file and go play ;)
---------------------------------------------------------------
If u want more tickets ( For longer gameplay ) in SP ( SinglePlayer ) :
1. open
"Battlefield 2 Demo\mods\bf\python\game\gamemodes\gpm_cq.py"
with Notepad.
2. Locate this line:
Quote:
return int(mapDefaultTickets * (bf2.serverSettings.getTicketRatio() / 100.0))
3. Change it like here:
Quote:
return int(mapDefaultTickets * (bf2.serverSettings.getTicketRatio() / 10.0))
4. Save edited file.
Each team will have 2000 tickets.
---------------------------------------------------------------
Have more fun playing BF2 demo ;)