Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to replace SFX sounds #2020

Open
Dante383 opened this issue Jan 17, 2021 · 0 comments
Open

Ability to replace SFX sounds #2020

Dante383 opened this issue Jan 17, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Dante383
Copy link

Is your feature request related to a problem? Please describe.

MTA lacks the feature of replacing original GTA sounds. For example, if we want to replace car engine sounds we have to disable car sounds entirely, and then play our own sound when player accelerates

Describe the solution you'd like

Something like

sfx engineLoadSFX(string soundPath)
bool engineReplaceSFX(sfx sound, string containerName, int bankId, int soundId)

Describe alternatives you've considered

As mentioned above, with vehicles you can simulate the replacement, this becomes a little bit more sketchy if you want to replace ped speech but still can be done. The solution is however quite hacky and it would be nice to have a native function to do this.

Additional context

@Dante383 Dante383 added the enhancement New feature or request label Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant