Snarkpit Articles


In this tutorial we will learn how to edit weapon variables for a mod, Such as it's clip size.

Firstly you will need to download pakscape. Now go into your call of duty/main/ folder & open pak0.pk3. Inside this go to: weapons/mp/ & copy m1carbine_mp (we will be editing the carbine)



Now to avoid making our client unpure we will have to make our mod folder. Go into call of duty/ & make a new folder with your mod name. The mod im currently making is abbreviated to tff. Inside this folder we need to make our structure again, my folder is now call of duty/tff/weapons/mp/ - paste your m1carbine_mp script into this folder.



Open your m1carbine_mp file with notepad - You can now edit your script. Due to the fact im not familiar with all the variables I will only show you one & that is clip size. Press control+F and search for "clipsize" right next to this variable you will probably see the number 15. This is the origional clip size. We will change this to 30.



Now save your file. Go back to your mod folder (in my case tff) & zip up the weapons folder. now change the name of the zip to pak0.pk3 (or whatever you like) & delete your origional folders.



Now play call of duty multiplayer, click on mods. Click on your mod folder name & click launch. You are now in your mod.



Now start a new UNpure game on mp_brecourt. Play as the americans & select the carbine (1.1) Now look at your new clip size smiley



When I find out what more variables are, I will add them to the end of this tutorial.


Post ReplyView Topic
Discussion
0 starsPosted by Pegs on Sat Jan 31st 2004 at 12:45pm

Needs more variables.
Post ReplyView Topic