Jump to content

[Rel]countdown-sound for race


FTFMTA

Recommended Posts

Posted

Sorry, but that is really nothing that special. In fact you've used the hard way to add 3-2-1-go sound files to the race resource. You can also use your own sound files with the default race resource just by editing 4 lines in the race_server.lua file.

  • 3 weeks later...
Posted
Sorry, but that is really nothing that special. In fact you've used the hard way to add 3-2-1-go sound files to the race resource. You can also use your own sound files with the default race resource just by editing 4 lines in the race_server.lua file.

this ones?

g_RaceStartCountdown = Countdown.create(6, launchRace) 
g_RaceStartCountdown:useImages('img/countdown_%d.png', 474, 204) 
g_RaceStartCountdown:enableFade(true) 
g_RaceStartCountdown:addClientHook(3, 'playSoundFrontEnd', 44) 
g_RaceStartCountdown:addClientHook(2, 'playSoundFrontEnd', 44) 
g_RaceStartCountdown:addClientHook(1, 'playSoundFrontEnd', 44) 
g_RaceStartCountdown:addClientHook(0, 'playSoundFrontEnd', 45) 

ye, and btw where're located the default gta sounds?

Posted

the problem with this script is that it doesn't turn off or replace the dafault mta sounds which means either the default countdown and the custom one(this one) are played at the same time. this really hurts my eardrums.

You can download a tool to "extract" the sound files from GTASA.

if this tool also allows me to replace the default sounds then it will do. but first, i need to know the location of the default mta sounds.

Posted
Just get the sound files and add to your race mode.

how do i do that? as i said before i'm not able to find the folder which contains the default mta sounds.

Posted (edited)

In the race mode, put your sounds add to meta.xml and change your race mode to play your sounds.

Edited by Guest
Posted
In the race mode, there are sounds. Delete them, put yours, add to meta.xml and change your race mode to play your sounds.

again, there're no audio files in the race mode folder. with the only 1 exeption. the "audio" folder has a file called "mission_accomplished.mp3", but this is not what im looking for. if you don't trust me, fine check it for yourself: https://community.multitheftauto.com/index.php?p= ... ails&id=35 this is the default race mode.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...