About This File
********* A very simple tutorial on how to package .iwd files ******************
The best and user-friendly way , I have found, to make your .iwd files, is to use PakScape. Download the File And continue Reading.
This tutorial is very basic, and may not contain many things. If you find a mistake, do let me know.
Package a New .iwd File for adding Skins/Images And Custom Sounds to a Mod
- Create a folder on your desktop sample.
- Inside that folder, create another folder images
- Place ALL of your custom textures/images into "/sample/images/testimage.iwi" (The .IWI file from your "raw/images" folder. iwi files for skins, textures etc are available for free on the internet, or you can create your own).
- If you have custom sounds, create a folder called: sounds (sample/sounds/test.iwi) Place ALL your custom sounds into this folder.
- Open PakScape.exe
- click the little paper icon in the top left, to start a new file.
You should see this:
- In another window, open the sample folder from your desktop, and drag the images and sound folder into the new file area in PakScape.
- Click "File", then "Save As...", (alternatively use the save icon as shown )
- ...then name the file sample.iwd. Click "Save". *** LEAVE THE FILE TYPE AS .ZIP! ***
- Now Rename sample.zip to sample.iwd. Done ! You are ready to go.
This tutorial is very generic and some mods, such as pml220, may have a different hierarchy of folders within the iwd, such as an additional weapons folder with all weapon images. Be sure to package the iwd according to your mod's iwd structure.
You can even package scripts in iwd files,but doing that is not recommended. If assuming you donot have the source of a mod, Cod4x provides server-side scripts, that can be installed on the server, which allow over-riding of default scripts in mod.ff using the .gsx file format. See cod4x scripting documentation for more detail.
The same logic can be applied when packaging .iwd for maps.
Hope that helps...
Contributers to this :
- Kingwolf @ cod4x.me -- Revised Documentation
- =170= Sven2157 -- Original Documentation
- Peter Engstrom -- Developer of Pakscape