Custom Sounds
Learn how to add custom sounds.
Last updated
Learn how to add custom sounds.
Last updated
It is highly recommended that you keep your sounds compressed and keep the quality below 128
. We use the open source format known as .ogg
for this game mode so it's recommended that you download Audacity if you plan on doing a lot of audio editing.
Folder Placement
If you have never used Audacity before. It's actually quite simple to use.
Simply highlight the areas with your cursor that you want to remove and press del
to remove the sections.
Then you are ready to export. Go to file file -> export-> ogg
I usually change the quality to about 5
when I export. The quality won't matter that much for most of these small sounds.
Sounds can be played in a 2D environment or a 3D environment. Depends on what you want to emit to a player.
Sounds should not last forever, and they should be used temporarily.
Simply use the playerFuncs to call the name of your file. Remove .ogg
from the audioName.
Simply use the playerFuncs to call the name of your file. Remove .ogg
from the audioName.
You must pass either a player, or vehicle as the target location of the audio.