Welcome New User Home | Forums | Register | Login | Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
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
newtonboy [Forum]
jasonthdar... [Forum]
R4R44VIS [Forum]

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

download TeamSpeak

In-The-News
Sunday, Jul. 20th
MODSonair 137 LIVE
Friday, Jul. 18th
MODSonair Episode 136
Thursday, Jul. 17th
E3 2008: Daily Recap
Monday, Jul. 14th
E3 2008 Latest News
Sunday, Jul. 13th
MODSonair 136 LIVE
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline. 75.59%
I could see a benefit of a Wiki. 4.72%
I think it would take away from the community. 3.94%
Wiki sites are never good. 3.94%
Wiki... isn't that Buck Roger's robot slave? 11.81%
Read More...
10 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
How to play background music?
CoD 4 Single Pla.. Posts: (15) Views: (248) by KD
cod2 radiant textures problem, help ??
CoD 2 Level Desi.. Posts: (10) Views: (84) by mathias991
CoD4 Kar98K model
CoD 4 Scripting.. Posts: (12) Views: (185) by zeroy
Map Running Issue
CoD 4 Level Desi.. Posts: (5) Views: (34) by KillerCrazzy
Google 468 Banner Half-Life 2 Mods for Dummies
Typhoon Servers
Forums
MODSonline.com Forums
Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD 4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, rEdrUmMDK, Foxhound, Rasta, StrYdeR, The_Caretaker, batistablr, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: The IWD Explained
Shimm
General Member
Since: Feb 21, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD 4 Scripting
Posted: Saturday, Mar. 1, 2008 12:17 am
Hi All, Any chance that someone could give us all the structure and contents of the .iwd file.


mp_mapname.iwd contains:

mp_warzone.ff
mp_Warzone_load.ff
mp_warzone.iwd

where mp_warzone.iwd contains:

maps folder
images folder

maps folder contains:
mp_warzone.arena
mp_warzone.gsc
mp_warzone_fx.gsc

images folder contains:
iw_loadscreen_mp_warzone.iwi

or is it structured like this....

mp_warzone contains:

mp_warzone.ff
mp_Warzone_load.ff
maps folder
images folder

Please Please someone take the time to draw up a nice easy little table that names the common things were all using like ambient sounds, weather sounds and effects, come on.....you know you can do it......... ;-)

COLMAC
General Member
Since: Sep 15, 2006
Posts: 536
Last: Jul 19, 2008
[view latest posts]
Level 6
Category: CoD 4 Scripting
Posted: Wednesday, Mar. 5, 2008 01:16 pm
i was wondering if you could just put everything in one iwd ,would save time and make map packs as well ill try it
thanks
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 974
Last: May 17, 2008
[view latest posts]
Level 7
Category: CoD 4 Scripting
Posted: Wednesday, Mar. 5, 2008 01:25 pm
the iwd should only have
images/compass_map_mapname.iwi
images/loadscreen_mapname.iwi
maps/mapname.csv
mp/mapname.arena

if you have extra mp3 sounds (wav goes in ff file) it would be
sound/blah/blah.mp3
sounds can be anywhere in the sound folder
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1606
Last: Jul 19, 2008
[view latest posts]
Level 8
Category: CoD 4 Scripting
Posted: Wednesday, Mar. 5, 2008 01:25 pm
You can't put everything in one iwd.

Cod4\usermaps\mapname folder contains:

mp_mapname.ff
mp_mapname_load.ff
mp_mapname.iwd

mp_mapname.ff
contains the map itself, wav sounds, models, fx, scripts, etc.

mp_mapname_load
is auto-generated, you don't need to worry about it but you do need it.

mp_mapname.iwd
contains mp3's, textures, and any weapon files.

Shimm
General Member
Since: Feb 21, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD 4 Scripting
Posted: Wednesday, Mar. 26, 2008 09:36 pm
thanks everybody, so what we have so far then is ....

once your map is finished, and youve gone through the 5 options on the level compiling menu of radiant 4, you then copy your 2 .ff files from

c:\progfiles\activision\cod4\zone\english

and paste them into the folder

c:\progfiles\activision\cod4\usermaps\yourmapname (folder)

and then inside that folder, you make an iwd that contains these folders and their respective files...

images/compass_map_mapname.iwi
images/loadscreen_mapname.iwi
sound/blah/blah.mp3
maps/mapname.csv
mp/mapname.arena

so in all you end up with 3 files in the same folder

mp_mapname.ff
mp_mapname_load.ff
mp_mapname.iwd

These 3 files are then highlighted, zipped up, and renamed into yourmap.iwd

If this is correct so far, do you leave the yourmap.iwd in the folder \usermaps or does it go somewhere else?

Another question, is where does yourmap.gsc go?

And of course, the same for .fx?

cheers

Shimm
General Member
Since: Feb 21, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD 4 Scripting
Posted: Wednesday, Mar. 26, 2008 09:38 pm
oops.. and i thought i was doing so well......

images/compass_map_mapname.iwi
images/loadscreen_mapname.iwi
sound/blah/blah.mp3
maps/mapname.csv
maps/mapname.gsc <-- oops
mp/mapname.arena
SpeedHighway
General Member
Since: Apr 30, 2005
Posts: 494
Last: Apr 9, 2008
[view latest posts]
Level 5
Category: CoD 4 Scripting
Posted: Thursday, Mar. 27, 2008 01:41 am
OI!![eek]

Okay....
The IWD may ONLY have .iwi files in it. (At least until arena files do something in this game.) Anything else will crash most servers. (Server admins are having to take many of the maps people are releasing and RE-DOING their IWD files so that they don't crash the server)

Sound files do not go in the .iwd. If you have a soundalias file (which is REQUIRED to use sounds) then they will be included in the fastfile.
Map CSV is included in the fastfile.
Map GSC is included in the fastfile.
Materials are included in the fastfile.
Arena Files don't do anything currently.
Image files (.iwi) go in the .iwd. (in the images folder)

To answer your last question, Shimm...
mp_mapname.ff
mp_mapname_load.ff
mp_mapname.iwd
Put those three into any type of archive. Usually a zip. It doesn't matter. The game can't read it. The server admin has to open up your archive and put the .ff and .iwd files in the correct location. Zipping it up is simply to save people the hassle of downloading many files. (You should also put a readme.txt in the .zip file to help)

I understand that there is a lot of conflicting information everywhere, but there's no reason to include files in the .iwd when they are already built into your fastfile. Anything included on your zone file will be added to the fastfile. That's what that file does. The only strange one is soundaliases. When the fast file packer reads the soundalias file it will automatically go find the sounds and add them to the fastfile from the location declared in the soundalias file.
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1606
Last: Jul 19, 2008
[view latest posts]
Level 8
Category: CoD 4 Scripting
Posted: Thursday, Mar. 27, 2008 06:58 am
And the iwd also has to have any mp3's in it, and there's no problem with storing gsc's in it. (that's handy for serverside mods)
SpeedHighway
General Member
Since: Apr 30, 2005
Posts: 494
Last: Apr 9, 2008
[view latest posts]
Level 5
Category: CoD 4 Scripting
Posted: Thursday, Mar. 27, 2008 08:41 am
The IWD file may only have .iwi files in it.

This isn't an opinion, simply the way the game is coded currently to allow server admins to put all the files in the usermaps folder where they are supposed to be.

I'm not sure why you would want mp3 files in the .ff because they are already in the FF, but GSC files are definitely being duplicated (and not being read) if they are put into both the IWD and the FF. The IWD will not be allowed to be in the usermaps folder if this is done.

Mods may have different rules, but for maps, this is the limitation.

More information can be found on the IW forums here...
http://www.infinityward.com/community/forum/index.php?topic=19540.30

If this changes in 1.6, okay, but for now this is the way it must be done.

edited on Mar. 27, 2008 08:45 am by SpeedHighway
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1606
Last: Jul 19, 2008
[view latest posts]
Level 8
Category: CoD 4 Scripting
Posted: Thursday, Mar. 27, 2008 09:01 am
Your post is confusing.

>I'm not sure why you would want mp3 files in the .ff because they are already in the FF

MP3 files don't and can't go in the FF, so they go in the iwd. The soundaliases for them go in the FF.

Oh, and custom weapons which for some reason someone would add to their map [lol]

That tutorial thingy you linked says they can have readme's too, so unless you want to turn your readme into an iwi...[wink]

edited on Mar. 27, 2008 09:04 am by NovemberDobby
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD 4 Scripting
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
Frag Universe
The Firing Box
modbase.be
XoXide
Battle for Europe COD2
Call of Duty Headquarters
Websites4Clans
My Topsites List
Ask About
Advertising
Friends
After Life Gaming
CoD 4 Base
Volcano
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 136
MODSonair Episode 135
MODSonair Episode 134
MODSonair Episode 133
MODSonair Special CoD:WW Episode
Next Show
The next MODSonair show will air LIVE on:
07/27/2008 11:00 EDT

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware