Call of Duty Wiki
Register
Advertisement
Call of Duty Wiki

Callofduty4 created this guide for weapon modding in Call of Duty 4: Modern Warfare PC/Mac

Weapon modding may sound hard, but in fact it is extremely easy and I will provide a step-by step walkthrough on what to do. This method was done on a Mac, but it will work for PC as well.

1 Locate the Call of Duty 4 folder on your computer. Step1
2 Open it, then go to the "Call of Duty 4 Data" folder. Step2
3 Locate the "main" folder and open it Step3
4 Locate the "iw_11.iwd" file, and change the extension to "iw_11.iwd.zip" Step4
5 Open the zip folder. You should now have a folder called "iw_11.iwd". Step5
6 Open up the folder and find the "weapons" folder. Step6
7 Now copy the "weapons" folder. Step7
8 Go back to the "Call of Duty 4 Data" folder and find the folder called "Mods". Step8
9 Open it, and open the "ModWarfare" folder.
10 Inside this folder, paste the "weapons" folder. Step9
11 Open up the weapons folder, then open up the "mp folder". Step10
12 Inside you will find coding for every singe weapon folder in the game. Find the weapon you want to mod, and open it. I'll open "ak47_acog_mp"
13 You will see a huge jumble of code. If you mess up, do not worry, simply delete the whole "weapons" folder from the "ModWarfare" folder, and then re-copy and paste it from the "iw_11.iwd" folder. You can open this with TextEdit on a Mac, and WordPad on a PC.
14 This coding is pretty much a load of variables one can change to change the weapon in-game. Lets change this weapon to a 3-round burst mode. Step 13
15 Want a bigger magazine? Let's give this AK a 100-round magazine. Step14
16 Find yourself running out of ammo? Then let's change that. 10000 rounds should be enough. Step13
17 Go ahead and save that, you now have yourself an AK47 ACOG scope with a 100 round magazine and 10000 rounds of ammo.
18 Always wanted a machine pistol in CoD4? Well now's your chance. Locate the "beretta_mp" file in the "weapons" folder.
19 Open it up, and make it automatic. Save it, and you have yourself a class with a modded AK47 and M9! Step15
20 Now, we open up CoD4 multiplayer, and go to the "Mods" option. Step16
21 Select "ModWarfare" and open it. Step 17
22 Now start a private server, create the class with the AK47 ACOG and M9, and look at your results. Step19

This technique can be expanded to make every single weapon to your specifications. Of course, because the coding is so unorganized it is very easy to make mistakes, but if you're careful with it is's very simple and yields some fun results. Note that you can't actually use these mods in a public server, but that's good because otherwise we'd be seeing automatic Barretts and MP5s with a ROF of 2000RPM everywhere.

Here are a few screenshots of what you can do:

List of variables[]

There are many variables which can be changed, but I will list the main ones.

  • \fireType\ - This is how the weapon will fire. Single Shot for semiautomatic, Full Auto for fully automatic, and 3-Round Burst for 3-round burst.
  • \maxAmmo\ - The max ammo you can have for that weapon.
  • \startAmmo\ - The starting ammo you can have.
  • \clipSize\ - This is the magazine size for the weapon.
  • \adsViewKickPitchMin\0\adsViewKickPitchMax\0\adsViewKickYawMin\0\adsViewKickYawMax\0 - This gives the weapon 0 recoil, with careful copy and pasting this can be applied to all weapons.
  • \fireTime\ - Lowering the variable will give the weapon a higher rate of fire. A fireTime of 0.05 gives the player a rate of fire of 1200 RPM, A fireTime of 0.01 gives a rate of fire of 6000 RPM. Tip - aiming at the sky gives a much higher FPS rate and makes the rate of fire more obvious. General formula = 60/T where T is the value of \fireTime\

These are the most basic ones to change and before you do anything more complex, it's advised you stick with these variables.

If you have any more questions/problems, feel free to ask them on the talk page.

Enjoy!

Advertisement