Learn how to create custom flashlights and music in Doom 3 by modifying .pk4 files. Details on texture conversion and file naming.
All game data in Doom 3 is stored within .pk4 files. You can create your own custom flashlight textures, music, and more by following a specific method.
Walkthrough
- 1To begin, create an empty .pk4 file.
- 2Inside this file, create a folder named "lights".
- 3Convert your desired image to a .tga file. A size of 256 x 256 pixels is recommended.
- 4Note that the image will appear reversed in-game, so mirror your image before saving it.
- 5Name the mirrored image file "flashlight6.tga".
- 6Place this "flashlight6.tga" file inside the "lights" folder.
- 7Ensure the "lights" folder is included within your .pk4 file.
- 8To make your custom file take effect, it must have the highest numerical designation among your Doom 3 .pk4 files. For example, if you have "pak005.pk4" already, your new file must be named "pak006.pk4".
To create a .pk4 file, you can use WinRAR, compress your files using the ZIP method, and then rename the resulting archive to have a .pk4 extension.
This method is also expected to work for customizing music and other textures.
Tips
- Always mirror your custom flashlight texture image before saving it as a .tga file, as it will appear reversed in-game.
- Ensure your custom .pk4 file is named with the highest number in your Doom 3 directory (e.g., pak006.pk4 if pak005.pk4 is the highest existing file) for it to be loaded.
- While not explicitly detailed for music or other textures, the process involves placing custom assets within specific folders inside the .pk4 archive.
100% Human-Written. AI Fact-Checked. Community Verified. Learn how AntMag verifies content