[e-s]Viper
Member
+0|6973
I wish EA had included a "Shooting Range" type single-player level for testing the unlocks before you commit yourself to that shiny new gun, so, i decide to make one. This method will allow you to change any aspect of a kit for use offline or on a LAN server. It will not work on ranked servers or online at all as far as i know.

Anyway, First of all make sure you have the tools you will need. WinRAR is the file compressor i use and it works fine and Word/Notepad are essential too.

*WARNING* As far as i know, the only way to remove these mods to be able to use BF2 ranked servers again are to reinstall the game from scratch.

Editing Kits (Unlocking Weapons etc.., Works for SF and EF guns)

Firstly, find a file named "Objects_server" in my case, in C:\Games\Battlefield 2\mods\bf2.

Open the file and locate the "Kits" Folder and "Weapons" folder (make unaltered backups now in case you want to undo a change), extract the Kits folder to a work area and uncheck the "read only" option in the properties for each kit you want to change. Each army has its own folder (including EU for Euro Forces). The Weapons folder will be used for reference later

Open the kit you want to change (i.e. to unlock a weapon) in Notepad (if windows askes, just tell it to always use notepad for .con files) and look for a section that looks like this...

rem -------------------------------------
ObjectTemplate.addTemplate USPIS_92FS
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate ammokit
ObjectTemplate.addTemplate UnlockUSSupport
ObjectTemplate.addTemplate UnlockUSSupport2
ObjectTemplate.addTemplate USLMG_M249SAW
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------

/\ (from US support kit)

Now, simply find the name of the weapon you want to unlock in the weapons folder (i.e. MG-36, FNP90 or HK-21) and change the relevent equivalent weapon (i.e. only exchange primary weapons for primary weapons) to your new weapon, i.e. if i wanted to unlock the new HK21 from EF, i change it to look like this

rem -------------------------------------
ObjectTemplate.addTemplate USPIS_92FS
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate ammokit
ObjectTemplate.addTemplate UnlockUSSupport
ObjectTemplate.addTemplate UnlockUSSupport2
ObjectTemplate.addTemplate eurif_hk21
ObjectTemplate.addTemplate ParachuteLauncher
rem -------------------------------------

The "ObjectTemplate.addTemplate eurif_hk21" line being the new EF support weapon and Voila! the US support class now has the EU's support classes gun, ages before EF is released

Now save the edited kits file and compress it back into the same place it goes in noramlly, overwriting any older versions in the "Objects_server.zip" file and place it back in the Battlefield 2\mods\bf2 folderand load up a server/single player game to try out your mod

This can be any primary weapon from in the Weapons folder, so if you wanted, you could give the support class the assault classes rifle or try out an unlock over LAN/Single player before commiting yourself etc...

Have fun with this and find out some of the other stuff you can do for yourself
jord
Member
+2,382|7010|The North, beyond the wall.
or just go on single player?
DeathsTouch
Team NHB
+35|6986|Los Angeles, CA

jord wrote:

or just go on single player?
Singleplayer doesn't have unlocked guns available.

Good work on the modification, it's simple, yet it works.
Superior Mind
(not macbeth)
+1,755|7024
or you can dowload the weapon tester mods that don't alter BF2 so you don't have to reinstall when u wanna play online.......
This mod lets u try all unlocks (and Euro guns) (US gets Euro) (MEC gets Tier 2) PLA gets Tier 1)
http://forums.bf2s.com/viewtopic.php?id=14381

Last edited by Superior Mind (2006-02-20 14:43:02)

[e-s]Viper
Member
+0|6973
fair enough, didn't know they existed. Although with my version, you can edit the kits and things to your liking just to muck about, i.e. i gave the U.S. SA-80's and U.K. weapons to make a british army mod. Thought i would just share it with the world anyway

Board footer

Privacy Policy - © 2025 Jeff Minard