Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 9 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

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.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: The IWD Explained
Shimm
General Member
Since: Feb 22, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Saturday, Mar. 1, 2008 05: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......... ;-)

Share |
COLMAC
General Member
Since: Sep 15, 2006
Posts: 914
Last: Jan 27, 2012
[view latest posts]
Level 7
Category: CoD4 Scripting
Posted: Wednesday, Mar. 5, 2008 06: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
Share |
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoD4 Scripting
Posted: Wednesday, Mar. 5, 2008 06: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
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 Scripting
Posted: Wednesday, Mar. 5, 2008 06: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.

Share |
Shimm
General Member
Since: Feb 22, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 01:36 am
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

Share |
Shimm
General Member
Since: Feb 22, 2006
Posts: 62
Last: Apr 26, 2008
[view latest posts]
Level 3
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 01:38 am
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
Share |
SpeedHighway
General Member
Since: Apr 30, 2005
Posts: 494
Last: Apr 9, 2008
[view latest posts]
Level 5
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 05: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.
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 10: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)
Share |
SpeedHighway
General Member
Since: Apr 30, 2005
Posts: 494
Last: Apr 9, 2008
[view latest posts]
Level 5
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 12:41 pm
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
Share |
novemberdobby
General Member
Since: Sep 17, 2006
Posts: 1965
Last: Oct 13, 2013
[view latest posts]
Level 8
Forum Moderator
Category: CoD4 Scripting
Posted: Thursday, Mar. 27, 2008 01:01 pm
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
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»