| Author |
Topic: The IWD Explained |
| Shimm |
General Member Since: Feb 22, 2006 Posts: 62 Last: Apr 26, 2008 [view latest posts] |
|
|
|
|
| COLMAC |
 |
General Member Since: Sep 15, 2006 Posts: 914 Last: Jan 27, 2012 [view latest posts] |
|
|
|
|
| .KiLL3R. |
 |
General Member Since: Oct 26, 2006 Posts: 1437 Last: Jul 3, 2017 [view latest posts] |
|
|
|
|
| novemberdobby |
 |
General Member Since: Sep 17, 2006 Posts: 1965 Last: Oct 13, 2013 [view latest posts] |
|
|
 |
|
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.
|
 |
|
|
| Shimm |
General Member Since: Feb 22, 2006 Posts: 62 Last: Apr 26, 2008 [view latest posts] |
|
|
|
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
|
 |
|
|
| Shimm |
General Member Since: Feb 22, 2006 Posts: 62 Last: Apr 26, 2008 [view latest posts] |
|
|
|
|
| SpeedHighway |
 |
General Member Since: Apr 30, 2005 Posts: 494 Last: Apr 9, 2008 [view latest posts] |
|
|
|
Category: CoD4 Scripting Posted: Thursday, Mar. 27, 2008 05:41 am |
 |
OI!!
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: 1965 Last: Oct 13, 2013 [view latest posts] |
|
|
 |
|
|
| SpeedHighway |
 |
General Member Since: Apr 30, 2005 Posts: 494 Last: Apr 9, 2008 [view latest posts] |
|
|
|
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 |
 |
|
|
| novemberdobby |
 |
General Member Since: Sep 17, 2006 Posts: 1965 Last: Oct 13, 2013 [view latest posts] |
|
|
 |
|
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
That tutorial thingy you linked says they can have readme's too, so unless you want to turn your readme into an iwi...
edited on Mar. 27, 2008 09:04 am by NovemberDobby |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|