Written with Linux in mind.
The following shows how to reduce the volumes of metal and water player footstep sounds.
The player footstep sound files are in tdm_sound_sfx02.pk4
(ZIP file).
List player footstep sound files:
unzip -l tdm_sound_sfx02.pk4 'sound/sfx/movement/footsteps/player/*'
Extract player footstep sound files:
unzip tdm_sound_sfx02.pk4 'sound/sfx/movement/footsteps/player/*' -d footstep_sounds
See reduce-footstep-volume.bash
file below.
- Change to
footstep_sounds
directory (or the directory where the files were extracted to). - Run the
reduce-footstep-volume.bash
script. - Copy/Move the resulting output sound files to
<darkmod dir>/sound/sfx/movement/footsteps/player
.
Example:
cd footstep_sounds
./reduce-footstep-volume.bash
mv -i output/sound ../
sound
└── sfx
└── movement
└── footsteps
└── player
├── metal_jump_land01.ogg
├── metal_jump_land02.ogg
├── metal_jump_land03.ogg
├── metal_jump_land04.ogg
├── metal_run01.ogg
├── metal_run02.ogg
├── metal_run03.ogg
├── metal_run04.ogg
├── water_crouch_run01.ogg
├── water_crouch_run02.ogg
├── water_crouch_run03.ogg
├── water_crouch_run04.ogg
├── water_jump_land01.ogg
├── water_jump_land02.ogg
├── water_jump_land03.ogg
├── water_jump_land04.ogg
├── water_run01.ogg
├── water_run02.ogg
├── water_run03.ogg
├── water_run04.ogg
└── water_run05.ogg