Welcome New User Home | Forums | Register | Login | Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Forums

Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs

Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors

Readme.txt Generator
Members-Online
CoDLiNK [Forum]
LidoKain [Forum]
botskiller15 [Downl]

3 Members and 12 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, May. 16th
Video games 'do not' encourage violence
Friday, May. 16th
Site update
Friday, May. 16th
MODSonair Episode 127
Tuesday, May. 13th
Web hosting, you need?
Sunday, May. 11th
MODSonair 127 Live
Latest Poll
Would you subscribe for a maps/projects backup utility and service?
I'd pay just about anything for that. 2.06%
If it was cheap enough I would. 4.12%
Only if it came with my MODSonline subscription. 6.19%
I can backup my own files. 82.47%
Why would I backup my files? 5.15%
Read More...
8 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
[TUTORIAL] How to get rid of the wait time
CoD 4 Level Desi.. Posts: (5) Views: (118) by CoDLiNK
SP_Help!
CoD Level Design.. Posts: (2) Views: (15) by Sparks.
Kill3r's K3 MOD is DANGEROUS TO YOU AND YOUR S...
CoD4 General Gam.. Posts: (17) Views: (220) by 4mori_rabbit
train
CoD 4 Level Desi.. Posts: (1) Views: (14) by navysealsniper
Treyarch SPLITREASON.COM - Gear for Geeks and GamersBuy geek and gamer themed T-Shirts and Hats @ SplitReason.com!
Tutorials: CoD4 Mapping
Mapping and modding for Call of Duty 4.

Rating:
Aweful Rating Poor Rating Average Rating Good Rating Excellent Rating
How to create a weapon mod
2008-02-14 17:05:04
ShadowLance194 shows you how to create a weapon mod for cod4
1) Create a new folder in CoD4/Mods called whatever you want, my example will be: "UberMod"

2) Use WinRar to extract the "Weapons" folder from iw_11.iwd in CoD4/main into my CoD4/Mods/Ubermod folder.

3) Open ModBuilder.exe

4) Selected "UberMod" from the drop down list titled "Mod" in the first tab "CSV Creator"

5) Look through the list on the left (Files) and start moving the things you want to mod to the right (CSV). For example: "UberMod\weapons\sp\ak47".

6) Click New CSV, leave the setting at 'blank', and type in your mod name, UberMod, in this case.

7) Click the "MOD Builder" tab. Select UberMod from the drop down menu (Mod).

In the two big boxes, you'll get two lists. The list on the left is basically a list of the resources currently in your CSV file. The list on the right is all the files in your MOD folder (CoD4/Mods/UberMod)

Go ahead and check the things you want to mod (weapons\sp\ak47 in this case)

8) Make sure "Build Fast File" and "Build IWD File" are checked.

9) Click Build Mod. At the bottom it will say "Building Fast Files...", so give it some time.

10) Copy your CoD4 shortcut (singleplayer or multiplayer, whichever you modded). Right click it---> Properties. Then add to the target line:[ +set fs_game "mods/UberMod"] (copying only inside the brackets). This is your new shortcut to run your mod.



Now, to actually mod the weapon you want. In this example I'll use the AK47.

1) Go into CoD4\Mods\UberMod\weapons\sp

2) Open 'ak47' with notepad.

3) Gaze at the strange complicated mess of code. Everything is fairly self-explanatory once you figure out the pattern.

For example: fireType\Full Auto

Fire type can be "Single Shot", "Full Auto", "2-Round Burst", "3-Round Burst", or "4-Round Burst". Without the quotes. Be sure to type it in exactly.

I changed it to: fireType\2-Round Burst

If you're having trouble finding certain lines, use the search function (cntrl+f) then put in "fireType".

So, next we'll change the clipsize.

Original: clipSize\30
Mine: clipSize\20

Optionally, you can adjust the other ammo stats, such as maxAmmo, dropAmmoMin, dropAmmoMax to fit. IE if I changed the gun instead to have a 300 round clip, but left the 'maxAmmo' attribute as the original, you would only be able to hold 1 clip at a time.

Heres the codes for weapon damage:

damage\100\
Base weapon damage, I think enemies have 200 health, since all the one-shot kill weapons are 200 damage.

minDamage\85\
I can only guess that this means the weapon ranges between 85 and 100, ie 85-100 damage.

meleeDamage\200\
This is 'knife' damage. The reason this code is in EVERY weapon, but ALL the same value, is because in the original call of duty games each weapon had a different melee damage, because the melee attack was 'rifle-bash'. So pistol-whipping did less than M1 Garand-whipping.

maxDamageRange\1024\
Not sure on these values, I think it means that at 1024 units, the weapon deals the max damage (100).

minDamageRange\2400\
And at 2400 meters, it deals the minimum damage (85)

You'll notice that shorter-ranged weapons have smaller values (shotguns, pistols, etc)

playerDamage\50\
How much damage the gun deals to the player from the hands of an enemy. No idea how much health the player has. I think 200, but different difficulty settings may change that (or damage modifiers).

So, I changed it to: damage\200\minDamage\200\meleeDamage\200\maxDamageRange\2500\minDamageRange\5000\playerDamage\150\

All logos and trademarks and information in this site are property of MODSonline LLC © 2008.
The comments are property of their posters.
RSS news feeds for MODSonline.com can be found News.php.
Art of War Central
Partners
modbase.be
Quake 4 Mods for Dummies
Call of Duty Headquarters
Battle for Europe COD2
mp_carpark
The Firing Box
Frag Universe
Half-Life 2 Mods for Dummies
Ask About
Advertising
Friends
ModTheater
Volcano
The Clan Database
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 127
MODSonair Episode 126
MODSonair Episode 125
MODSonair Episode 124
MODSonair Episode 123
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware