| Before you begin, please refer to Tutorial - Making the .tweak File Modifiable, which teaches you how to make a .tweak file modifiable. You must be able to do this for all of my tutorials. Weapon Folder Location First, we must locate the location of the Weapon folder with all the guns. All of the Handheld Weapons (guns) are in this folder. 1. Navigate toe C:/BF2_Directory/mods/bf2/. 2. Open Weapons/Handheld/. Fire Rate We will now modify the Fire Rate. For this tutorial, I chose the M16A2 as an example, as it will be a very obvious modification that is easily noticed. 1. Open the usrif_m16a2 folder. 2. Open usrif_m16a2.tweak with Notepad. 3. CTRL + F and type "ObjectTemplate.fire.addFireRate 0". 4. Below this, type "ObjectTemplate.fire.addFireRate 2". The code for Fire Rate should now look like this: ObjectTemplate.fire.addFireRate 1 ObjectTemplate.fire.addFireRate 0 ObjectTemplate.fire.addFireRate 2 This will enable the M16A2 (Medic Default Weapon) to have three (3) Fire Rates: Burst Semi-Automatic Full-Automatic 5. CTRL + S or File>Save. 6. Close usrif_m16a2.tweak.
|