-
-
Notifications
You must be signed in to change notification settings - Fork 2
Custom Weapon Sounds
Grinch_ edited this page Dec 4, 2024
·
4 revisions
The Custom Weapon Sound Loader system enhances the audio experience in GTA San Andreas by allowing to customize weapon sounds. This system loads sounds from the ModelExtras/audio/weapon
directory and supports newly added weapons seamlessly.
-
Directory Structure:
- Navigate to
ModelExtras/audio/weapon
in your GTA SA directory. - Create a subdirectory for each weapon you wish to customize. The name of each subdirectory should match the name of the weapon present in
WEAPON.DAT
or in the .txt file if it was added without replacing via modloader..
- Navigate to
-
Supported Audio Formats:
- Supported formats for audio files are
.ogg
and.wav
.
- Supported formats for audio files are
-
Sound Files:
- Inside each weapon's subdirectory, place the following audio files:
-
shoot
: Sound played when the weapon fires. -
reload
: Sound played when the weapon is being reloaded. -
swing
: Sound played when the weapon is swung (if applicable). -
hit
: Sound played when the weapon hits a target (if applicable). -
projectile
: Sound played when a weapon projectile is fired (if applicable).
-
- Inside each weapon's subdirectory, place the following audio files:
- Suppose you have customized sounds for a weapon added without replacing named "sniper_rifle2":
- Navigate to
ModelExtras/audio/weapon
and create a directory namedsniper_rifle2
. - Inside
sniper_rifle2
, place the following files:
├── sniper_rifle2
│ ├── shoot.ogg
│ ├── reload.wav
│ ├── swing.ogg
│ ├── hit.wav
- Suppose you have customized sounds for a "AK47" vanilla weapon:
- Navigate to
ModelExtras/audio/weapon
and create a directory namedAK47
. - Inside
AK47
, place the following files:
├── AK47
│ ├── shoot.ogg
│ ├── reload.wav
│ ├── swing.ogg
│ ├── hit.wav