🧬Editing audio metadata

Adding more audio items

1

Find suitable source material

First we need proper audio files to add to the weapon_audio_bank.awc. I recommend using native-audio-tool from Joe to convert MP3 files into proper WAV files. Then add those to my AWC file.

2

Get a rel template

Either copy paste any existing audio item from me or use CodeWalker's audio tool and search for audio_item_weaponname and copy paste whatever weapon you wanna base the sound off from.

3

Finish it up

Now edit everything needed to properly construct the WeaponAudioItem type inside dat151.rel. After you have somehow successfully edited both the dat54 and dat151 files. You can simply use whatever you have called your audio item in any weapons.meta. As an example for audio_item_glock17.

<Item type="WeaponAudioItem" ntOffset="0">
    <Name>audio_item_glock17</Name>
    <FallBackWeapon>w_ptl_glock17_npc</FallBackWeapon>
    <Weapons>
        <Item>
            <Category>player</Category>
            <Weapon>w_ptl_glock17</Weapon>
        </Item>
        <Item>
            <Category>player_backup</Category>
            <Weapon>w_ptl_glock17</Weapon>
        </Item>
    </Weapons>
</Item>

But again, this whole process takes massive amounts of time and will more than likely be too difficult for most. Hence why I won't give any support for this neither. If you want more weapon sounds, please make a suggestion in the support discord and I will simply update the existing package to include it.

Last updated