BF2 Demo Mod Tutorial
Listen Up, Soldier! Follow this Battlefield 2 Demo Mods tutorial and you'll be modding BF2 Demo in no time.
I recommend you download both the BF2 Demo and the BF2 Demo Stand Alone Server. You will Mod the BF2 Demo Stand Alone Server files and leave the BF2 Demo files alone. You'll use the BF2 Demo as a back up and also for testing when you create a modded BF2 Demo Server.
Setup Battlefield 2 Demo for Modifications.
The file you need to unzip is "server.zip". The file is located
in the BF2 Demo Stand Alone Server files located here:
C:\Program Files\EA GAMES\Battlefield 2 Standalone Demo Server\mods\bf2\Levels\Gulf_of_Oman\server.zip
Unzip the 'Server.zip' file.
After unzipping,
Copy all the unzipped files and paste them in the "Gulf_of_Oman" folder
located here:
C:\Program Files\EA GAMES\Battlefield 2 Standalone Demo Server\mods\bf2\Levels\Gulf_of_Oman
Rename the original "server.zip" file to "orig.server.zip"
IMPORTANT: The "Gulf_of_Oman" folder's contents must look like the image below or you will get a 'file not found' error when you try to start your server.
Click on the image
for a larger view of the image.
The main file to mod is 'GamePlayObjects.con' located here:
C:\Program Files\EA GAMES\Battlefield 2 Standalone Demo Server\mods\bf2\Levels\Gulf_of_Oman\gamemodes\gpm_cq\32\GamePlayObjects.con
Click on the image
for a larger view of the image.

Right click on "GamePlayObjects.con", select 'Open With..', and choose 'NotePad'. You can now use note pad to edit this and other .con files to modify your BF2 Demo server.
Note: Right-click the file and go to 'Properties'. Under the 'General' tab, de-select 'Read-Only' and click OK. Now you can save changes.
Example Battlefield 2 Demo Modification:
A Jet takes off from the Carrier and another Jet re-spawns in the same place in only a few seconds.
Open "GamePlayObjects.con" with NotePad and look for this code. It's the very first bit off code so it's not hard to find.
rem ********** Object Spawner **********
rem [ObjectSpawnerTemplate: cpname_go_32_uscarrier_jet10]
ObjectTemplate.create ObjectSpawner cpname_go_32_uscarrier_jet10
ObjectTemplate.activeSafe ObjectSpawner cpname_go_32_uscarrier_jet10
ObjectTemplate.modifiedByUser nla
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.setObjectTemplate 1 air_f35b
ObjectTemplate.setObjectTemplate 2 air_f35b
ObjectTemplate.minSpawnDelay 50
ObjectTemplate.maxSpawnDelay 70
Make the changes you see in green to your "GamePlayObjects.con" file.
rem ********** Object Spawner **********
rem [ObjectSpawnerTemplate: cpname_go_32_uscarrier_jet10]
ObjectTemplate.create ObjectSpawner cpname_go_32_uscarrier_jet10
ObjectTemplate.activeSafe ObjectSpawner cpname_go_32_uscarrier_jet10
ObjectTemplate.modifiedByUser nla
ObjectTemplate.isNotSaveable 1
ObjectTemplate.hasMobilePhysics 0
ObjectTemplate.MaxNrOfObjectSpawned
3
ObjectTemplate.setObjectTemplate 1 air_f35b
ObjectTemplate.setObjectTemplate 2 air_f35b
ObjectTemplate.minSpawnDelay 5
ObjectTemplate.maxSpawnDelay 7
Save the file.
Test your Mod:
Testing can be done on one computer which is running both the stand alone server and the BF2 game demo.
1. Use the shortcut inside the BF2 Demo stand alone server folder to start your server.
2. Load the BF2 Demo. Login. Choose 'Multiplayer' then the 'Join Local' tab to join your server and test your mod. If your server isn't listed try 'Connect to IP' and enter 192.168.9.186
More Mods for BF2 Demo.
Happy Modding BF2 Demo!
=KILROY=
