Native weapon audio

Once ive completely made my simplesound what else do I need to do for it to be ready to use like the weaponAudio example?

I have my awc and I have the sound.dat54 the only thing I see that’s different is the weaponAudio example has a game.dat151 file but I don’t see anything about that in the tutorial.

Is that needed to actually stream the audio to the weapons meta file?

Once again, Chat is cracked out of his mind

Yes it is needed as well because that will create the auiod item entry

If im using audio item entries from cw as a template what all needs to be changed?

Is this all I need to change even if say I try to use the gamedat file you used for the x16 pistol as a template for an assault rifle.

Assault rifle will be completely different because there is a different entry for automatic fire opposed to single fire
image

Okay what if I used the assault rifle audio item entry from code walker do I still need to change more than the PlayerFire entry?

If so, what needs to be changed and is there a certain way it needs to be labled?

Im sorry to ask you so many questions im just trying to understand the way the dat151 is supposed to be set up would really appreciate if you could help me out.

I tried to set it up on my own based on what you’ve entered in the game.dat of weaponAudio and now when running the resource its crashing my game.

Crash

Bruh just explain how its set up I’ve asked 3 times and you keep responding as vaguely as possible going completely around the question like you really dont wanna help.

I mean why did you even make a tutorial for making simplesounds then if you’re not going to explain how to actually use the sounds on the weapons.

Because I’m quite busy still researching native audio literally each and every day. Every waking hour. I’ve literally given you the source files from me + multiple explanations above. Even I am still learning new things each day like this: Custom Native Radio Stations - #8 by ChatDisabled

I’ve also got another open source project because seemingly no one wants to do the casino for free GitHub - ChatDisabled/dc-casino: A FiveM resource to enable GTA:O casino capabilities
which now got halted because I am doing native audio

And I got an open source project to maintain known as Qbox and also my pinned post on my profile GitHub - ChatDisabled/dc-casino: A FiveM resource to enable GTA:O casino capabilities

And I have never properly given a tutorial nor is English my native language. I’m just trying my best* to further share free stuff and give people knowledge on how things work

3 Likes

This is an experimental/new thing in FiveM, if you’re not experienced or know what you’re doing, you shouldn’t be messing with this even if it has a tutorial.

sorry for brothing I want to ask a question
If I want to stream the sound to replace the vanilla gun sound
Is it similar like this?

It’s even easier than this because you don’t have to create the audio metadata files yourself. Simply restream all the AWCs that contain the weapon audio. You’ll have to put them in a resource with the following structure: audio/sfx/resident . Because the weapons.awc is located in the resident rpf.
image

Simply replace all the WAVs inside the AWC that you want to replace. Do note weapon audio is spread across multiple audio containers. So do your research.

Can you give me a sample resource file?

It is present in the example above nativeAudio/weaponAudio at master · ChatDisabled/nativeAudio · GitHub

Thank you. But I need the weapon file of “x16Pistol”. Can you share that? :pray:t3:

You don’t need it, you can use the audio item on any pistol you want

I wanted to test it with x16Pistol. How do I replace “x16Pistol” with “CombatPistol”?

Run this resource (everything withing weaponAudio ) and edit your weapon.meta of choice where you want to apply the sound. Find the <Audio> entry and replace it with audio_item_x16pistol .

So go in the meta file of any addon pistol that you have. Then you go to the Audio entry and paste audio_item_x16pistol into it. The naming scheme doesn’t matter.

1 Like

can someone make templates for all the pistols for this?