Installing/Creating vehicle sound packs - Printable Version +- Need For Speed :: San Andreas (https://www.nfssa.net) +-- Forum: English Forums (https://www.nfssa.net/forumdisplay.php?fid=6) +--- Forum: General Discussion (https://www.nfssa.net/forumdisplay.php?fid=7) +--- Thread: Installing/Creating vehicle sound packs (/showthread.php?tid=11313) |
Installing/Creating vehicle sound packs - Quindo - 10-06-2019 In last few months few community members showed interest in creating custom vehicle sounds modification, till last update creating such "mods" was a pitiful experience, not allowing them to easily adjust sounds for all vehicles, with no official support and having to rely on workarounds such as copying files on every server connect, etc. In latest update there was added basic official support for creating and using custom vehicles sounds, mod creators can easily replace not only engine sounds for every vehicle, but also stuff like turbo whistle and backfire sounds. This post will be divided into 2 parts, first one is for mod users, with basic instructions on how to install those mods, and second one being a basic tutorial on how to create the sound packs. Installing/using custom vehicle sound packs:
1. If you haven't already joined server after latest update, do it. It will create a folder called [ngui-mods] in <Your MTA Path>/mods/deathmatch/resources2. Download a sound pack that you want to use, here's a link to example one made by Remolit: Sound Pack Link 3. Unpack the sound pack, inside it you should find a folder called carsounds, copy that entire folder to the [ngui-mods] directory from step 1. 4. Reconnect to server, if the pack has no problems, the vehicles affected by downloaded pack should have replaced sounds. If there are some problems with the pack, default sounds will be used. Creating new sound packs:
As a mod creator you can change those aspects of sounds engine for every car:
2. In the [ngui-mods] folder from step 1 create new directory called carsounds, inside it create a file called config.xml and a new folder called files 3. Move the sound files that will be used by the pack to the files directory, supported formats are MP3, WAV, OGG, RIFF, MOD, XM, IT, S3M and PLS 4. Now comes the hard part, creating a configuration file for your mod, open the config.xml file created in step 2 and copy this inside: Code: <!-- Allowed parameters are: 5. Each vehicle that you want to be affected needs an entry inside the <carsounds> </carsounds> part of the file, example entry looks like this: Code: <!-- Primo--> id parameter defines which car is affected by this entry, pitchMultiplier defines pitch that the sound files will be played with, and all the other parameters are names of sound files that will be used by that vehicle. You can notice that backfire contains multiple files delimited by semicolon, that's because of the fact that backfire randomizes which sound will be played, you can specify multiple sound files here, and they will be choosen at random. If some parameters are missing, the default sound files for those parameters will be used. So resulting config.xml file looks like this: Code: <!-- Allowed parameters are: List of all ids of vehicles on server: Code: --E CLASS 6. To check if your modification works you can use /reloadcarsounds command, afterwards just go to garage and back. If you did everything right, the sounds should be working. 7. This tutorial is super basic, best way of checking how it works is to download example sound pack, and look inside. RE: Installing/Creating vehicle sound packs - twiseles - 11-06-2019 yeees RE: Installing/Creating vehicle sound packs - syaan - 11-06-2019 Thanks Quindo, good documentation, understandable RE: Installing/Creating vehicle sound packs - alfa - 11-06-2019 yoink RE: Installing/Creating vehicle sound packs - Max59 - 11-06-2019 Woohoo finally! RE: Installing/Creating vehicle sound packs - scaftz - 11-06-2019 Vroom Gotta love to change turbo whistle and backfire sounds. They are annoyingly loud. RE: Installing/Creating vehicle sound packs - yauza - 14-06-2019 i dont have [ngui-mods] folder, even if i connect to the server RE: Installing/Creating vehicle sound packs - Remolit - 19-06-2019 Then just create one... |