Even veteran modders make mistakes with PK4 files. Here is how to ensure you are using the "best" methods.
Ready to get your hands dirty? Let’s build a simple "Better Flashlight" PK4 that removes the weapon-switch delay.
Step 1: Create a folder structure.
On your desktop, make: BetterFlashlight/scripts/
Step 2: Extract the original script.
Use 7-Zip to open pak005.pk4. Navigate to scripts/weapon_flashlight.script. Extract it to your BetterFlashlight/scripts/ folder.
Step 3: Edit the script.
Open weapon_flashlight.script in Notepad++ or VS Code. Find the line:
float weapon_toggle_flashlight_delay = 0.5;
Change the value to 0.0. doom 3 pk4 files best
Step 4: Package the PK4.
Use 7-Zip to add the BetterFlashlight folder to an archive.
Step 5: Install.
Move z_better_flashlight.pk4 into your Doom 3/base/ folder. Launch the game. Your flashlight now toggles instantly.
Why this is "best": You never modified the original pak005.pk4. You simply overrode one file using the alphabetical load order.
(If you want specific download links, tell me which mod or pack you mean and I’ll look up current sources.) Even veteran modders make mistakes with PK4 files
Finished your mod?
Zip your my_mod folder → rename .zip → .pk4 → share anywhere. No compilation needed.
When you install a fresh copy of Doom 3, the core game data is located in the base folder. These are the original files released in 2004.
The Core Files:
The "Best" Practice for Base Files:
If you own the Steam or GOG version, you already have the best version of the core files (usually patched to v1.3.1). Do not delete or rename these files unless you are an advanced user applying a specific source port patch (like dhewm3). If you are using the original CD version, you must patch the game to v1.3.1 to ensure the .pk4 files are compatible with modern mods. Step 5: Install
Instead of editing pak000.pk4 directly (which breaks multiplayer/updates):
Example: To replace shotgun sound:
/base/my_mod/sound/weapons/shotgun_fire.ogg
Then launch with:
+set fs_game my_mod